[Samba] print command %J (job name) problem

Francesco Mosca askmosca at tin.it
Tue Sep 10 17:00:02 GMT 2002


i'm setting up a samba pdf (virtual) printer. it all works, except that
i can't get the windows' job name, to give a readable (and consistent)
name to the generated pdf file. according to the manpage i can use %J to
get the job name, but it doesn't work. the clients are win98 boxes. i
tried to print either a test page, a unsaved word doc and a saved word
doc. 
this is the pdfprinter's section of my smb.conf

[pdf]
        printer name = pdf
   path = /tmp
   printable = yes
   guest ok = yes
   print command = /usr/bin/printpdf %s %u %J >> /tmp/printpdf.log
   lpq command =
   lprm command =



thanks

Francesco




More information about the samba mailing list