pdf-gen - how to make it work with Samba?
In smb.conf there is a [pdf-gen] entry, which is supposed to make PDF files on the fly.
It looks like this:
[pdf-generator]
path = /var/tmp
guest ok = No
printable = Yes
comment = PDF Generator (only valid users)
printing = bsd
#print command = /usr/share/samba/scripts/print-pdf file path win_path recipient IP &
print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u" "%m" "%I" "%J" &
lpq command = /bin/true
And it is seen by Windoes as a printer.
However, when I try to connect to it, Windows claims that there are no drivers for this printer.
How can I configure pdf-gen, so it works with Windows flawlessly (no need to han-pick drivers etc.).
I have CUPS printers installed on that Samba machine, and everything is done automatically.
|