[Samba] Re: Re: Samba or Cups-Problem ? [SOLVED]
Hello Urs, > So what you need is > > > [pdfprinter] > > comment = Minolta Color PageWorks/Pro Ps > > printing = bsd > > > path = /samba/pdfprinter > > print command = /samba/pdfprinter/pdfscript "%s" > > printable = yes > > public = yes > > writeable = yes > > and you'll also need a > > lpq command=/bin/true > > otherwise your printer is going to show offline and jobs won't clear > from the queue on the clients. > Great! Everything is now working as it should. Thanks! Stefan -- * in-put GbR - Das Linux-Systemhaus Stefan-Michael Guenther Moltkestrasse 49 D-76133 Karlsruhe Tel./Fax : +49 (0)721 / 83044 - 98/93 http://www.in-put.de * -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba or Cups-Problem ?
Hi, I'm using some kind of pseudo printer on our samba server to automatically produce PDF files. The smb.conf looks like this (the samba server is successfully conteced to an ADS): [global] workgroup = ADS netbios name = pc103.ads.local realm = ADS.LOCAL security = ADS password server = win2ksrv.ads.local log level = 2 winbind separator = + template homedir = /home/%U idmap uid = 1-2 idmap gid = 1-2 winbind enum users = yes winbind enum groups = yes winbind enable local accounts = yes template shell = /bin/bash log file = /var/log/samba/log.smb.%U max log size = 500 printing = cups printcap name = cups cups options = raw [pdfprinter] comment = Minolta Color PageWorks/Pro Ps path = /samba/pdfprinter print command = /samba/pdfprinter/pdfscript "%s" printable = yes public = yes writeable = yes [printers] comment = All Printers load printers = yes browseable = no printable = yes public = yes read only = yes create mode = 0700 directory = /tmp My problem is, that the script doesn't produce any PDF file. In the logfile I find the following message: [2005/03/29 19:31:44, 0] printing/print_cups.c:cups_queue_get(900) Unable to get jobs for ipp://localhost/printers/pdfprinter - client-error-not-found Okay, this is an error from cups, but what has cups to do with it? I don't want to use cups for printing, but a simple script. I have used this construction already about two years ago with older versions of samba and cups and I of course compared the configuration files and all file/dir permissions. Samba is version samba-3.0.9-2.3, cups is version cups-1.1.21-5.6, the system is SuSE 9.2. Do I really have to set up some kind of dummy printer to use a script as a printer in samba? Thanks for any help, Stefan -- * in-put GbR - Das Linux-Systemhaus Stefan-Michael Guenther Moltkestrasse 49 D-76133 Karlsruhe Tel./Fax : +49 (0)721 / 83044 - 98/93 http://www.in-put.de * -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Prints ok, but says "Access denied, unable to connect". win2k and samba 2.2.1a
Hi, Am Montag, 14. Februar 2005 01:17 schrieb Bruce Hohl: > > Hi, > > > > I had the same problem and solved it by adding > > > > use client driver = yes > > > > to the [printers] section. > > I'm not quite sure whether this option is available in > > Samba 2.2.1a > > Loading the printer drivers onto the server will also > eliminate these error messages ... at leaset in version > 3.0.9. > > However, see the following from man smb.conf: > > use client driver (S) > > > If this parameter is enabled for a printer, then any attempt > to open the printer with the PRINTER_ACCESS_ADMINISTER > right is mapped to PRINTER_ACCESS_USE instead. Thus allowing > the OpenPrinterEx() call to succeed. This parameter MUST > not be able enabled on a print share which has valid print > driver installed on the Samba server. > > Default: use client driver = no > I experienced the error message on a samba 3.0.10, with installed printer drivers. The windows client had already used this driver for installation and then got the error message. I then set use client driver = yes and the error message disappeared. Since I read the man page, especially the last paragraph, I used another Win2k-client to see, whether it is still possible to use the printer drivers - it was. If I understand this last paragraph correctly, a value of "yes" would cause the client to look for the drivers locally, but as far as I saw, this did not happen. Stefan -- * in-put GbR - Das Linux-Systemhaus Stefan-Michael Guenther Moltkestrasse 49 D-76133 Karlsruhe Tel./Fax : +49 (0)721 / 83044 - 98/93 http://www.in-put.de * -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba