[Samba] S3+CUPS+PDF pseudo printer : print command not functional on service

Jérôme Fenal jerome.fenal at logicacmg.com
Fri Sep 26 15:45:11 GMT 2003


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
**********************************************************************




More information about the samba mailing list