[Samba] PDF printing problem - can't find Samba's file?
DavidB at mail.interclean.com
Tue Dec 10 13:44:01 GMT 2002
> -----Original Message-----
> From: Joel Hammer [mailto:Joel at HammersHome.com]
> Sent: Monday, December 09, 2002 7:18 PM
> To: David Brodbeck; samba at lists.samba.org
> Subject: Re: [Samba] PDF printing problem - can't find Samba's file?
> What are the permissions on /export/spool?
> Does the command mkpdf2.pl remove the job when it is done?
Yes, but it's not getting that far. It's aborting because the input file is
> I don't believe the prefix appears on the file name. It must
> always add the path to the name.
Okay. I was led to believe otherwise by the sample smb.conf entries I've
seen, but you may be right. Even if that's true, I still need to figure out
where my spool files are going, though. :)
> 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
> > 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