[Samba] Print via print command while using 3.0 Stefan Klein stefan.klein at materna.de Thu Jan 29 12:27:58 GMT 2004
[....]
So i think you have to use: ================================= [global] ... printing = cups ... [pdfprinter] printing = bsd comment = PDF Drucker, druckt nach H:\print print command = /usr/bin/tps2file.sh "%s" "%U" "pdf" "pdfwrite" "" path = /tmp printable = yes valid users = @users =================================
(Not sure if it works to redefine the "printing" inside a subsection)
It used to, but now it doesn't any more.
I think we should ask our Samba Team coding gurus to change "printing = ..." to become a service level instead of a global parameter. This way it would be much easier to achieve what people want to achieve here.
The only way to do it now, is to set "printing = sysv" or "printing = bsd" as the global setting, which in turn looses you all the convenient functions of CUPS library integration into Samba.
Of course, one could waive your custom "print command" altogether and go down the "use the CUPS pdf:/-backend" way of PDF generation, as is described here (and in related thread) in much detail:
http://lists.samba.org/archive/samba/2003-March/064650.html http://lists.samba.org/archive/samba/2003-April/064653.html
regards, -- Stefan Klein, Systems Engineer
Cheers, Kurt
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
