Jurriaan Kalkman
2006-Aug-11 10:00 UTC
[Samba] print command disabled when smbd linked against CUPS - why?
I know the 'print command' directive is disabled when printing via CUPS, the man page says so. Can anybody explain _why_ this is the case? My situation: I'm administering a package that shares a server with other applications. This proprietary unix package needs some help printing with the layout etc. so various sed/awk scripts need to take place before printing. This has been running using a print command in smb.conf for many years now, with great results. This was a server dedicated to our package. Now, after an update, we're going to share a Suse SLES 10 box, and samba is linked against CUPS. If CUPS were disabled, all printers must be configured manually - that wouldn't raise my popularity with the boys from central IT administration. Why isn't is possible to have a few printers with 'print command' and all other printers using CUPS? I don't understand the rationale behind this decision. Or do I really have to define a dozen specialized CUPS filters, where I have the script that works with 'print command' ready for testing now? That doesn't sound too attractive either. Thanks, Jurriaan
Gerald (Jerry) Carter
2006-Aug-11 12:34 UTC
[Samba] print command disabled when smbd linked against CUPS - why?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jurriaan Kalkman wrote:> I know the 'print command' directive is disabled > when printing via CUPS, the man page says so.Technically the print command is disabled when linked against libcups.so and you have printing = cups in a printer section. You can specify 'printing = bsd' for an individual printer and use a print command.> Can anybody explain _why_ this is the case?Because when linked against libcups.so and configured to use cups, smbd talks to the library directly. cheers, jerry ====================================================================Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE3HlbIR7qMdg1EfYRAkV4AKCLa3iC6y9TtyAry0XZincVRF044gCdF40C 9uX5pYp/XUz2CiDLeSY1dfA=JUuS -----END PGP SIGNATURE-----