[Samba] Re: PDF Print command
David Mulcahy
david.mulcahy at eseol.co.uk
Tue Mar 26 12:06:04 GMT 2002
Try This
The fist call from ps2pdf is the file in the spool dir. you may not have the
right permisions. Have you set the spool dir for the printer and do you have
the correct permission try setting the spool dir to 777 (then test)
eg
[shr]
comment = World Writable
path = /shr
read only = No
guest ok = yes
create mask = 0777
[Acrobat]
comment = Print a PDF Document
path = /usr/local/samba/lib/spool ** spool dir set to 777**
guest ok = Yes
printable = Yes
print command = /usr/bin/printpdf %s; rm %s
On Tuesday 26 Mar 2002 7:26 pm, you wrote:
> It's still not working, and ps2pdf outputs:
> **** Unable to open the initial device, quitting.
>
>
> -----Original Message-----
> From: David Mulcahy [mailto:david.mulcahy at eseol.co.uk]
> Sent: Tuesday, March 26, 2002 2:00 PM
> To: Blanchard, Michael
> Cc: samba at lists.samba.org
> Subject: RE: [Samba] PDF Print command
>
>
> Hi
>
> I cant quite work out whats going on in this thread but I had the same
> problem with the linuxgazette article until I removed the print job at
> the
> end. See my printer share following. What the article didnt mention
> that if
> you use a colour printer driver then you get colour pdf files.
>
> [Acrobat]
> comment = Print a PDF Document
> path = /usr/local/samba/lib/spool
> print command = /usr/bin/printpdf %s; rm %s
>
> ps you dont need to add this sudo printer to your printcap. Windows HP
> 8000 colour postscript drivers
>
> HTH
>
> Message: 15
> Subject: RE: [Samba] PDF Print command
> Date: Tue, 26 Mar 2002 10:46:42 -0500
> From: "Blanchard, Michael" <MBlanchard at grandaire.com>
> To: "Dirk Allaert" <da at schaubroeck.be>, <samba at lists.samba.org>
>
> I went through all the steps, and the print jobs just tend to disappear.
> I've looked through all the logs and nothing tells me where it's falling
> down. I installed the drivers, added all the items to smb.conf and it
> looks perfect from the client side.
>
> -----Original Message-----
> From: Dirk Allaert [mailto:da at schaubroeck.be]=20
> Sent: Tuesday, March 26, 2002 5:24 AM
> To: 'samba at lists.samba.org'
> Subject: Re: [Samba] PDF Print command
>
>
> If you want to set up a pdf printer with samba, you can also read
> this=20
> article:
> http://www.linuxgazette.com/issue72/bright.html
More information about the samba
mailing list