I do the following with samba in our office:
(put this in you /etc/smb.conf)
----------------CUT HERE------------------------
[pdfprint]
path=/tmp
guest ok = No
printable = Yes
printer driver = HP Color LaserJet 5/5M PS
comment = PDF Generator
print command = ps2pdf %s %s.pdf && mv -f %s.pdf ~%u/newpdf.pdf
&& echo\
"Please find your pdf at file://\\caeprintserver\\%u\newpdf.pdf, and
copy it som\
ewhere else before you print another" | smbclient -M %u -U Printserver
----------------CUT HERE------------------------
Install a PS print driver (HP Color LaserJet 5/5M PS works) on the
clients, then if you print to the machine, it should make the psotscript
a pdf, copy it to the home directory, and send you a popup message (I
also had one which sends an email message, I would actually like to mail
the file, but I was having trouble with MIME attachements).
For straight postscript:
----------------CUT HERE------------------------
[psprint]
path=/tmp
guest ok = No
printable = Yes
comment = PostScript Generator
Printer driver = HP DesignJet 750C/PS
print command = mv -f %s ~%u/newps.ps && echo "Please find your
ps at fi\
le://\\caeprintserver\\%u\newps.ps, and copy it somewhere else before
you print\
another" | smbclient -M %u -U Printserver
----------------CUT HERE------------------------
The Designjet handles up to A0 (only in postscript, for some reason PDFs
don't work)
The coolest thing is a windows test page in a pdf !
Buchan
"Miguel P.C." wrote:
>
> �Does anybody know how to print from a remote computer to a queue that
> creates a postscript file of what's being printed?
>
> I mean, you can print to a file from within a computer an from a session, but
> I'd like to set up some windows with lpr printing so they can print their
> documents to a postscript file in the server, in order to convert them to PDF
> and include them in a web site after classificating them.
>
> Any suggestion to implement my idea.
>
> (I think it's a cool way of letting people in a network publish their stuff)
>
> Thanks in advance.
>
> _____________________.oO0Oo._______________________
> __
> ----/ / _ La oportunidad de
> ---/ / (_)__ __ ____ __ dominar tu ordenador
> --/ /__/ / _ \/ // /\ \/ /
> -/____/_/_//_/\_,_/ /_/\_\ Linux User #98249
> ___________________________________________________
> | |
> | Miguel P�rez Colino |
> | [EMAIL PROTECTED] |
> | http://migpc.eresmas.com |
> |__________________________________________________|
>
> ------------------------------------------------------------------------
> Keep in touch with http://mandrakeforum.com:
> Subscribe the "[EMAIL PROTECTED]" mailing list.
--
|--------------------------------------------------------------|
Buchan Milne Mechanical Engineer, Network Manager
Cellphone +27824722231
email mailto:[EMAIL PROTECTED]
Centre for Automotive Engineering http://www.cae.co.za
South Africas first satellite: http://sunsat.ee.sun.ac.za
Control Models http://www.control.co.za
|----------------Registered Linux User #182071-----------------|
Keep in touch with http://mandrakeforum.com:
Subscribe the "[EMAIL PROTECTED]" mailing list.