On Wednesday 11 December 2002 11:12 am, Alan Peery wrote: > Anthony E. Greene wrote: > > - A "print server" that converts printjobs to PDF and delivers them to > > the user via email. > > Do you have pointer to a HOWTO on that? It could be quite useful for > work, as I want to encourage sending documents to customers in PDF > format... > > Alan
Hi Alan, This is not something I've automated, but the basics are quiet simple. Many Linux dists - read RH as that's the only one I use - have a GUI printer config tool now and have a option to create a 'Print to PDF' option. Alternatively, have a 'Print to File' printer which just creates a Postscript file instead of a PDF one. Simply use ps2pdf to convert this to a PDF file. Then on each windows PC, install a network printer pointing to the Linux printer you've just installed. Select the Apple colour Laserwriter (can't remember the exact name) driver as this creates a postscipt file and supports colour which ends up with colour PDF files. Personally, I'd simply put these files in a network available directory. If you want to do this manually, then it should be a simple case of writing a small bash script to accept a filename and a machine/user name using the %m %f token and add a printer to the smb.conf specifying you script as the 'lpr command' for that printer. You could then do whatever you want within your script, including emailing back to the user, adding to an archive, placing in privately available network shares etc. -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list