El Vie 24 Nov 2000 14:11, escribiste: Thanks, it sounds great but ... I have some other unix clients w/o samba and in which I cannot install anything, but I'd like them to be able to print too ... so I'd like to do it with lpr ... any suggestions? > > 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. ---------------------------------------- Content-Type: text/plain; charset="iso-8859-1"; name="message.footer" Content-Transfer-Encoding: 8bit Content-Description: ---------------------------------------- -- _____________________.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.