Even with a windows client, if the samba print system is cups, I don't think it ever gets to your script. I tried it that way and it wouldn't work.
If you are using CUPS, then there's no reason to do anything else. If not, then samba is the way to go. Your script should work without much modification as a CUPS backend, so it's not a rewrite or anything. BTW, I've been reading the kdeprint documentation abut CUPS and it's a really wonderful system, I'm very impressed. Chris On Sat, 2002-08-31 at 09:13, Anthony E. Greene wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 31-Aug-2002/06:29 -0400, Chris Mason <[EMAIL PROTECTED]> wrote: > >I don't think yoare correct. If samba's printing system is cups, samba > >never gets the job, and so, cannot run your script. > > I was talking about Windows clients. Their printjobs are sent to Samba, > not to LPD. > > >The solution is very easy, save your script as a cups backend called > >called pdf and install it as a printer, as documented in my email. > > That's a more general solution, but my script is targeted at sysadmins > who need to provide a PDF creation service to Windows clients. > > Tony > - -- > Anthony E. Greene <mailto:[EMAIL PROTECTED]%3E> > OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D > AOL/Yahoo Messenger: TonyG05 HomePage: <http://www.pobox.com/~agreene/> > Linux. The choice of a GNU generation <http://www.linux.org/> > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: Anthony E. Greene <mailto:[EMAIL PROTECTED]> 0x6C94239D > > iD8DBQE9cMEQpCpg3WyUI50RAoi7AKDXDVjECvQUNiPgPD5gD8BxqyEdPgCfX0Tg > htMGF2juAvWP3Ege67hNOVE= > =S03i > -----END PGP SIGNATURE----- > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list