[Samba] Samba 4.9.x and print job names
Thomas Bork
tombork at web.de
Thu Mar 21 22:32:01 UTC 2019
Hi @all,
after switching from 4.7.x to 4.9.x the variable substitution of %J
(print job name) is broken.
In 4.7.x:
%J contains for instance "Testseite", the job name which the client sends.
In 4.9.x %J contains the ip address of the client with underscores, for
instance 192_168_1_66.
How can I restore the old behaviour without switching back to
discontinued version 4.7.x?
You can easily test this with a script /var/install/bin/samba-print-pdf with
echo "$1 $2" >/tmp/pdfname
and following print command in the printer share:
print command = (/var/install/bin/samba-print-pdf '%s' '%J')
--
der tom
More information about the samba
mailing list