Thanks for your answer.
So for my PDF printer, I switched back to BSD printing (calling cups-lpd), and keeped
the local (to PDF printer) print command definition. It works now. I still had to add
to cups (which automatically generates the /etc/printcap file) a fake printer with the
name of the pdf printer (to avoid the loss of the manual addendum to /etc/printcap for
the pdf printer).
Best regards,
Jerome
-------- Message d'origine--------
De: Buchan Milne [mailto:[EMAIL PROTECTED]
Date: lun. 9/29/2003 16:02
�: [EMAIL PROTECTED]
Cc: J�r�me Fenal
Objet: 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 <[EMAIL PROTECTED]>
> Subject: [Samba] S3+CUPS+PDF pseudo printer : print command not
> functional on service
> To: <[EMAIL PROTECTED]>
> Message-ID:
> <[EMAIL PROTECTED]>
> 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, 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 ?
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 [EMAIL PROTECTED] for a copy.
*****************************************************************
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential information
and/or be subject to legal privilege. It should not be copied, disclosed to, retained
or used by, any other party. If you are not an intended recipient then please promptly
delete this e-mail and any attachment and all copies and inform the sender. Thank you.
LogicaCMG global sponsors, Gartner Symposium, Cannes, 4th -7th November 2003
http://symposium.gartner.com/story.php.id.3323.s.5.html
Please note that LogicaCMG does not have control over content from,or
availability of, this website
**********************************************************************
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
**********************************************************************
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba