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

David Brodbeck DavidB at mail.interclean.com
Mon Dec 9 21:11:01 GMT 2002

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:

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

I had the script print out the parameters it got.  It's getting filenames

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