How can I solve pdf printing priblems in Samba?
I am tring to set up a pdf maker as a samba printer.
So far no success.
The print jobs seem to get to samba but then disappear.
I have tested my script by copying a postscript file to the /var/spool/samba directory and then running the script from a shell. It worked fine.
Windows XP does not complain about its test print to the shared printer.
The log file for samba mentions cups_job_submit. Why is it even calling out to cups? I have commented out all references to printer, print caps and cups.
Is there a doc, help file, or web page with a trouble shooting guide for samba printing, pdf creation and such?
The tail of /var/log/samba/%m.log...
[2006/10/20 14:24:08, 0] printing/print_cups.c:cups_job_submit(765)
Unable to print file to MYpdf - client-error-not-found
my script...
OUTPUTPATH=/srv/smb/mysite
cp $1 $OUTPUTPATH/test1.ps
rm $1
cd $OUTPUTPATH
chmod 770 test1.ps
ps2pdf test1.ps
chmod 770 test1.pdf
and my smb.conf...
[global]
log file = /var/log/samba/%m.log
# load printers = yes
idmap gid = 16777216-33554431
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
interfaces = 192.168.1.1
winbind use default domain = no
template shell = /bin/false
wins support = true
dns proxy = no
# cups options = raw
netbios name = Ame
netbios aliases = Ana
server string = AM File Server
writeable = yes
wide links = no
idmap uid = 16777216-33554431
local master = yes
workgroup = WORKGROUP
os level = 65
security = user
create mode = 770
preferred master = yes
max log size = 50
directory mode = 770
[mysite]
path = /srv/smb/mysite
[MYpdf]
comment = Create pdf files for my site
printable = yes
print command = /srv/automation/MYPrint %s
path = /var/spool/samba
use client driver = yes
|