I am trying to get a Samba PDF printer (ps2pdf) to work via Samba so I can print to it with Windows XP computers. I have followed the guide at http://linuxgazette.net/issue72/bright.html
, but I have not had any success with the printing portion.
I have searched Google and these forums, but I have not found a way to fix my problem. I have tried various suggestions that have given me Windows error messages such as "Failed to open, retrying", "Access denied, unable to connect", and one that allowed me to connect, but would silently fail at printing everything.
I am currently using the configuration files as listed in http://www.linuxquestions.org/questi...d.php?t=128354
, under the thread posted by AdamPengelly at 01-19-04, 08:01 AM:
guest account = nobody
invalid users = root
netbios name = Samba
hosts allow = 192.168.
path = /pdfshare/pdfs
browseable = yes
writeable = yes
guest ok = yes
force user = nobody
path = /tmp
printable = yes
guest ok = yes
print command = /usr/bin/printpdf %s
lpq command =
lprm command =
ps2pdf $1 $OUTDIR/$DATE.temp
mv $OUTDIR/$DATE.temp $OUTDIR/$DATE.pdf
I should note that I've changed the workgroup to MSHOME and the PDF output directory (in both) to /projects/smb/PDF.
Under /var/log/samba/log.smbd I get:
[2006/05/20 17:33:20, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - Connection refused
This is where I'm lost at. Here's locate cups on my computer:
Do I have to do something with CUPS? I was under the impression that using Windows, it would send a post script file directly to Samba which would then run it against PS2PDF to create the PDF output. Or, am I messing up somewhere else? Any help REALLY appreciated. I've had just no luck with this...