[Samba] PDF printing problem - can't find Samba's file?
Joel Hammer
Joel at HammersHome.com
Tue Dec 10 00:21:09 GMT 2002
What are the permissions on /export/spool?
Does the command mkpdf2.pl remove the job when it is done?
I don't believe the prefix appears on the file name. It must always add the
path to the name.
Joel
On Mon, Dec 09, 2002 at 04:09:11PM -0500, David Brodbeck wrote:
> 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
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
> 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
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list