[Samba] Scrambled Jobnames when Printing

Gavin-Francis Fernandes g.fernandes at qut.edu.au
Wed Dec 18 22:54:01 GMT 2002

Dear Samba!

I use a perl script to move print jobs around for users, and there is a custom 
printer interface to pick up the jobs. Windows clients print to the samba 
printer, which basically moves the job to another share to be picked up by the 
print server client, depending on the users \\Machine Name.  A sample from the 
conf file:

   comment = Printer for Colour at Talss CA
   path = /var/spool/samba
   public = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = /usr/bin/perl /home/lxp/bin/lxp.pl "%m" "%
s" /home/lxp/spool/tcacol-spool/ 2>> /home/lxp/logs/lxpprt.log

Everything works perfectly - however, as users migrated from W98 to W2k & 
winXP the Print Jobnames that they've been using have been turning into 
something similar to "smbprn.003702.d4aZ5g" 

I don't understand why - however if you print to a windows printer queue - the 
name of the document turns up perfectly.

Any Ideas?

Gavin-Francis Fernandes
SCPS - Systems TeamLeader
Queensland University of Technology
Phone: 3864 1289
Email: g.fernandes at qut.edu.au

More information about the samba mailing list