[Samba] Scrambled Jobnames when Printing

Joel Hammer Joel at HammersHome.com
Thu Dec 19 01:00:01 GMT 2002


Nothing specific, but, the file name is in the %J variable. You might try to
capture that and put in into your script. I have to explicitly use this
trick to get the right file name to show up in the windows queue, like so:

  print command = /usr/bin/lpr -Pps -J'%J' %s; rm %s

Joel




More information about the samba mailing list