> [...] > > > Hi there, > > > > I want to do the following: > > > > ------------------------------------------------------------ > > # smb.conf > > [global] > > ... > > printing = cups > > ... > > [pdfprinter] > > comment = PDF Drucker, druckt nach H:\print > > print command = /usr/bin/tps2file.sh "%s" "%U" "pdf" "pdfwrite" "" > > path = /tmp > > printable = yes > > valid users = @users > > ------------------------------------------------------------ > > The script "/usr/bin/tps2file.sh" convert the ps data to pdf. It works > > fine under SAMBA 2.2.3 but not under 3.0. > > > > How can I use my script under 3.0. > > If your samba is linked with the CUPS libraries it doesn't obey the "print command" definition. > > 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 doesn't work. The job goes to CUPS. Error from CUPS: Jan 29 13:53:36 lisa smbd[29771]: [2004/01/29 13:53:36, 0] printing/print_cups.c:cups_job_submit(766) Jan 29 13:53:36 lisa smbd[29771]: Unable to print file to pdfprinter - client-error-not-found Thanks Regards Thomas Nolte -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
