[Samba] Samba 4.9.x and print job names
tombork at web.de
Thu Mar 21 22:32:01 UTC 2019
after switching from 4.7.x to 4.9.x the variable substitution of %J
(print job name) is broken.
%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
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')
More information about the samba