Web lists-archives.com

[Samba] Samba 4.9.x and print job names

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

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba