Displaying 20 results from an estimated 4000 matches similar to: "Problem of generating file from samba print share"
2003 Jan 30
1
not enough charcters available in %J or confusing blanks?
Hi,
I try to create PDF files with an modified script from Buchan Milne and
have some problems with the Jobname var %J.
Because it is better for the users to find an file with an similar name
as the original document I'm looking for a way to read out %J, cut some
unnessasary stuff and use the rest as new file name. The problem is:
In %J in some circumstances is not the complete Jobname as
2001 Nov 21
2
How to get print file name from samba?
Hello guys,
Is there any way I can get the print file name from samba when I send a print job to a print share from MS windows? Is there any variable to do so?
Is there any way to run programs before samba actually save the file? This is because I would like to run virus checker before actually saving files to samba.
Thanks for help!
Timmy
-------------- next part --------------
HTML
2002 Aug 10
2
ps2pdf "Print command" script trouble
hi
2.2.5, Sol 2.8
I have a perl script that I've written to convert a ps file to pdf file.
I want the user to be able to setup a
postscript printer in WNT/2k and convert ps files to pdf by printing to
a [ps2pdf] printer share.
[ps2pdf]
comment = PS to PDF file in Home Directory
path = /usr/spool/public
guest ok = Yes
print ok = Yes
browseable = Yes
printer = ps2pdf
2004 Nov 06
1
Typo in Samba HOWTO collection example 19.2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Since the samba-docs mailing list is closed, I figured this was the best
place to post this.
I believe there's a typo in example 19.2 ("Overriding global CUPS
settings for one printer") of the official Samba HOWTO collection. The
"print command" parameter in the [special_printer] section contains
several echo commands,
2002 Feb 28
3
access denied on printing from win2k?
Hi,
I'm running samba 2.2.1a (RPM install) on RedHat 7.2
I've connected a Canon LBP-8 IV laserprinter to the network via a HP
Jetdirect box.
I've configured the printer within linux and printing goes fine.
Now I'm trying to access the printer via samba from my win2k clients. Now,
the problem is: When I'm trying to print to the printer (e.g. a testpage) I
get the message
2008 Apr 02
2
Problem with cups print job name
For some time I had been running samba 3.0.10 from RHEL4. I have a samba
-> cups -> pdf printer set up which uses the user supplied job name for
the output file. The job name was formatted like this "smbprn.00001020
Microsoft Word - Test.doc".
Since then, RHEL have updated to samba 3.0.25. The job name supplied to
cups is now a random string of characters like
2001 Nov 21
2
Spool filename. ( What is the problem? )
Here is my printer config:
printing = lprng
load printers = yes
use client driver = yes
printer admin = @edutec, root
printcap name = /etc/printcap
print command = lpr -U%U@%M -r -P%p -J'%J' %s
lpq command = lpq -P%p
lprm command = lprm -U%U@%M -P%p %j
lppause command = /usr/sbin/lpc -U%U@%M hold %p %j
lpresume command =/usr/sbin/lpc -U%U@%M release
2006 Nov 13
2
Only admin user can print?
Hi all,
after upgrading a FC3 box to FC4 which comes with Samba 3.0.23a rpm's, I
have the really strange effect that /only/ "admin users" can print to
printers shared by the Samba server. Even a double click on the printer
in Win gives an "access denied".
The access to "normal" shares (homes etc.) still works fine. Any idea
what went wrong? How could I debug
2018 Apr 12
2
Windows PC PostScript printer driver -> CUPS data import fails
Hi all,
For some years now I have been using a simple system I found online which
allows me to easily import data from Windows Programs.
Hopefully others out there are using the system and already have found the
answer to my problem.
I have installed on my Centos server a virtual CUPS printer which receives a
PS file, and then runs 'ps2pdf' and 'pdftotext -layout' to end up
2003 Aug 11
3
Print Job Names Are Obscure
Hello all,
Is there any way to stuff a more descriptive tag into a print job name?
The jobs we're printing now are of the type: smbprn.003447.sdfasa
I seem to remember a way to put the sending machine's name into the job
name.
Any help would be greatly appreciated!
-adam
University of Denver
2008 Jan 17
2
samba 3.0.24 works - samba 3.0.25 fails
Folks:
I've got several systems attached to a 2003 domain where we use
kerberos to authenticate.
When I upgraded a system to the latest greatest samba things stopped
working. Just to find where it happened in the different versions of
samba I downloaded, built, & ran 3.0.23d to 3.0.25c using the same
smb.conf file. Turns out the 2.0.23d and 3.0.24 works but from 3.0.25
on it fails.
2016 Sep 02
2
Samba-CUPS interface
Hi,
One of our Samba server (4.4.5) is a print server with CUPS backend . In
addition we are using a print management product that is itself a backend
to cups.
Everything works well, except that the document names that are transmitted
in the chain is of the form : "smbprn.00000648 MyDocument.pdf" . I guess
that the prefix smbprn.00000648 is the samba job ID that is concatenated to
the
2002 Nov 11
3
PDF Creation
I am not on the SAMBA list - so please if you reply remember to CC me.
My Linux users have access to ps2pdf - a nice tool to convert Postscript
files
to PDF files.I'd like to make it available to my PC Users - who don't
understand
what a command line prompt is....
I know the following works:
1) On my Windows machine - Add a new printer
an APPLE LASER POSTSCRIPT WRITER
But
2009 May 06
2
Ghostscript in 5.3
Ever since I updated to 5.3, I have been unable to convert any ps
files to pdfs using the ps2pdf command. I usually get errors like
this:
[mhr at mhrichter forms]$ ps2pdf doe81008
ERROR: /undefinedfilename in (doe81008)
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval--
--nostringval--
2000 Nov 30
1
Landscape problems with ps2pdf
R Users,
I have created a multipage PostScript file using the postscript() function
with horizontal = TRUE to produce my plots in landscape. I intended to
convert that entire file to PDF using ps2pdf to have the plots available for
a presentation. Unfortunately, the resulting PDF document is rotated -90
degrees.
I have found dozens of references to this kind of problem with ps2pdf
online, but
2003 Jan 16
1
RE: How do I get the @#$$% job name to show instead of smbprn.yad a.yada?
> -----Original Message-----
> From: Joel Hammer [mailto:Joel@HammersHome.com]
> Sent: Wednesday, January 15, 2003 6:57 PM
> To: Van Sickler, Jim; samba@lists.samba.org
> Subject: Re: [Samba] How do I get the @#$$% job name to show
> instead of
> smbprn.yada.ya da?
>
>
> If the file name is right in /tmp/J, then it looks like samba
> is working ok.
>
> I
2003 May 11
2
printing issues - lprng
Hi,
I am running samba and lprng for 4 hp laserjets. Sometimes a
samba print job goes to the wrong printer. Normally everything works just
fine. Shown below is the lprng acct log file enries for the concerned print
job. Please notice that the print job was supposed to go to hp4050-mail,
but ended up in hp8100. Any suggestions are much appreciated.
Thanks
Balagopal
jobstart
2001 Nov 27
2
ERRHRD - 39
Suddenly my samba printers ceased working.
Trying to print 'manually' through smbclient yields this:
smbclient \\\\host\\pcprinter -P -N -U guest
Added interface ip=xxx.xyz.yy.zzz bcast=xxx.xyz.yy.255 nmask=255.255.255.0
Domain=[IPHY] OS=[Unix] Server=[Samba 2.2.1a]
smb: \> print /etc/printcap
putting file /etc/printcap as printcap-2385 Error writing file: ERRHRD - 39
(0 kb/s)
2016 Sep 05
1
Samba-CUPS interface
2016-09-04 15:22 GMT+04:00 Andrew Bartlett <abartlet at samba.org>:
> On Fri, 2016-09-02 at 11:59 +0400, henri transfert via samba wrote:
> > Hi,
> >
> > One of our Samba server (4.4.5) is a print server with CUPS backend .
> > In
> > addition we are using a print management product that is itself a
> > backend
> > to cups.
> >
> >
2018 Apr 12
2
Windows PC PostScript printer driver -> CUPS data import fails
Yan Li wrote:
> On 04/12/2018 03:08 AM, Gary Stainburn wrote:
>> The PDF contains:
>>
>> ERROR: invalidfileaccess
>> OFFENDING COMMAND: .findfont
>> OPERAND STACK:
>> r
>> /usr/share/X11/fonts/Type1/UTBI____.pfa
>> --nostringval--
>> true
>> NimbusMonL-Regu
>> Courier
>> --nostringval--
>> Courier
>> 4544317