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

Francesco Mosca askmosca at tin.it
Wed Sep 11 11:10:00 GMT 2002


Il mar, 2002-09-10 alle 23:35, Joel Hammer ha scritto:
> You need:
> lpr -Pprinter -J"%J"  (maybe single quotes, not sure)
> Below is what I do.
<snip>

it works, thanks a lot.. but now i've another problem: it doesn't do
what i expected.. i'm looking for a way to get the name of the file (or
the title? the head?) being printed, just like it shows on the window's
spooler. eg. if i print a document saved as "foobar.doc" i'd like to get
this instead of "Remote Downlevel document" as i get using %J.. 

is it possible?

thanks anyway

Francesco 




More information about the samba mailing list