I don't think yoare correct. If samba's printing system is cups, samba
never gets the job, and so, cannot run your script.
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.

But I could be wrong...


Chris

On Fri, 2002-08-30 at 14:29, Anthony E. Greene wrote:
> On 30-Aug-2002/08:54 -0400, Chris Mason <[EMAIL PROTECTED]> wrote:
> >Tony,
> >I think you said you don't know how to interface this with cups, is that
> >correct?
> 
> Since I never actually print the document, the printing system itself is
> irrelavent.
> 
> In my system, Samba receives the Postscript data, writes it to a temp
> file, then calls my script to deal with the temp file. My script does some
> processing and mails the results back the user. No LPR, LPRNG, or CUPS
> involved. The script uses Samba, Perl, Ghostscript (ps2pdf), OpenLDAP
> (ldapsearch), Metamail (mmencode), and sendmail.
> 
> Tony
> -- 
> Anthony E. Greene <mailto:[EMAIL PROTECTED]>
> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
> AOL/Yahoo Chat: TonyG05      HomePage: <http://www.pobox.com/~agreene/>
> Linux: the choice of a GNU Generation. <http://www.linux.org/>
> 
> 
> 
> -- 
> 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

Reply via email to