Jérôme Fenal
2003-Sep-26 15:45 UTC
[Samba] S3+CUPS+PDF pseudo printer : print command not functional on service
Hi all, I've just set up a Samba 3.0.0 PDC (LDAP+nss) on FreeBSD 5.1, with CUPS as default print stack, which begins to work nicely. I'm configuring a PDF pseudo printer, with the following share : [pdfwriter] comment = Imprimante PDF : g?n?re un fichier PDF printing = bsd path = /var/tmp printable = Yes print command = /usr/local/bin/printpdf -u %U -h %M %s 2>/dev/null lpq command This very same config (except that %u is replaced here by %U) used to work nicely on Samba 2.2.7a, with cups on stock RH9. The print command was used, and CUPS would not see anything concerning 'pdfwriter'. No more on S3, I have in the log : [2003/09/26 15:30:19, 0] printing/print_cups.c:cups_job_submit(756) Unable to print file to pdfwriter - server-error-not-accepting-jobs So I think that S3 does not honor any more the 'print command' when specified in printable share when using CUPS. Can anyone confirm this is a bug, or point me to my error ? Best regards, J?r?me ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. LogicaCMG **********************************************************************
Buchan Milne
2003-Sep-29 14:02 UTC
[Samba] Re: S3+CUPS+PDF pseudo printer : print command not functional on service
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1> Message: 14 > Date: Fri, 26 Sep 2003 17:45:11 +0200 > From: J?r?me Fenal <jerome.fenal@logicacmg.com> > Subject: [Samba] S3+CUPS+PDF pseudo printer : print command not > functional on service > To: <samba@lists.samba.org> > Message-ID: > <FA7959A48B754E459E6BFD88B01F46BEAE0DCD@fr-par-mb01.fra.group.cmg.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hi all, > > I've just set up a Samba 3.0.0 PDC (LDAP+nss) on FreeBSD 5.1, withCUPS as default print stack, which begins to work nicely.> I'm configuring a PDF pseudo printer, with the following share : > > [pdfwriter] > comment = Imprimante PDF : g?n?re un fichier PDF > printing = bsd > path = /var/tmp > printable = Yes > print command = /usr/local/bin/printpdf -u %U -h %M %s 2>/dev/null > lpq command > > This very same config (except that %u is replaced here by %U) used towork nicely on Samba 2.2.7a, with cups on stock RH9. The print command was used, and CUPS would not see anything concerning 'pdfwriter'.> > No more on S3, I have in the log : > > [2003/09/26 15:30:19, 0] printing/print_cups.c:cups_job_submit(756) > Unable to print file to pdfwriter - server-error-not-accepting-jobs > > So I think that S3 does not honor any more the 'print command' whenspecified in printable share when using CUPS.> > Can anyone confirm this is a bug, or point me to my error ?You can't use 'print command' if you have 'printcap name = cups' in the global section. Regards, Buchan - -- |--------------Another happy Mandrake Club member--------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x202 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/eDturJK6UGDSBKcRAntjAKCcsJWdeNtgPoJh/wAp4aNR6uicRgCfdn1R ri2qMx1MAu2t0eT4tFIQ5ko=Pybh -----END PGP SIGNATURE----- ***************************************************************** Please click on http://www.cae.co.za/disclaimer.htm to read our e-mail disclaimer or send an e-mail to info@cae.co.za for a copy. *****************************************************************
Maybe Matching Threads
- RE : S3+CUPS+PDF pseudo printer : print command not functional on service
- adding LPT port to wine? Acrobat 5/PDFWriter installation problem
- PDF Form Reader using rails/ruby
- HOWTO Create a PDF Writer in samba
- Debian - plugins being installed to the wrong place?