[Samba] PDF printing problem - can't find Samba's spool file?

David Brodbeck DavidB at mail.interclean.com
Thu Dec 12 14:08:00 GMT 2002


I'm still struggling with this, and people keep asking me why the PDF
printer still isn't working...does anyone have any suggestions?

-----Original Message-----
From: David Brodbeck 
Sent: Monday, December 09, 2002 4:09 PM
To: 'samba at samba.org'
Subject: PDF printing problem - can't find Samba's file?


I'm sure this is something simple, but I can't figure it out.

After a printing system upgrade, my old PDF-writer script (which acted as an
lp input filter) stopped working.  I took this as an opportunity to rewrite
it to work straight from Samba.  But I'm having an odd problem -- I can't
find Samba's job file.  Here's the entry:

[pdf2]
        path = /export/spool
        printable = yes
        guest ok = yes
        print command = /usr/local/bin/mkpdf2.pl %s %U %I >>/tmp/pdf.log
2>&1
        lpq command =
        lprm command =

I had the script print out the parameters it got.  It's getting filenames
like:
smbprn.000413.8dCLi2

Note that there's no path on the front of that filename, like I expected
with %s.  And sure enough, the file isn't in /export/spool.  In fact, I
can't find it *anywhere*.  Any ideas where it's going?

----------

David Brodbeck, System Administrator
InterClean Equipment, Inc.
Ypsilanti, Michigan
davidb at mail.interclean.com
(734) 975-2967 x221





More information about the samba mailing list