[Samba] Re: S3+CUPS+PDF pseudo printer : print command not
functional on service
Buchan Milne
bgmilne at cae.co.za
Mon Sep 29 14:02:23 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> Message: 14
> Date: Fri, 26 Sep 2003 17:45:11 +0200
> From: J?r?me Fenal <jerome.fenal at logicacmg.com>
> Subject: [Samba] S3+CUPS+PDF pseudo printer : print command not
> functional on service
> To: <samba at lists.samba.org>
> Message-ID:
> <FA7959A48B754E459E6BFD88B01F46BEAE0DCD at 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, 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 info at cae.co.za for a copy.
*****************************************************************
More information about the samba
mailing list