Print to PDF
A simple utility to enable a user to email a PDF to a special account that should print the document. Particularly useful for mobile phones
This came about form the following forum post:
Development has been started. There are two versions currently:
This attempts to use internal user password/details. Still work in progress
Send a mail to firstname.lastname@example.org
Get the code from here:
Add the reetp repo:
yum --enablerepo=reetp install smeserver-qmail-printpdf
This uses a password set in the DB and used in the subject of the email (?)
You only need a "printpdf" user, if you want un-authenticated users to be able to print
|Key Name||Key Default||Key Options|
Modify the chosen key and then run
Any comments should be posted in the forums
Alternatives from previous version
On SME 7 a solution was implemented using a network drive : PDF over Lan is a Samba email PDF printer for your SME 7 Server. The SME 7 Server user receives an email of the PDF and also the PDF is saved \\servername\pdfdrop
wget http://mirror.canada.pialasse.com/contribs/rmitchell/smeserver/contribs/zoneminder/smeserver-pdf-over-lan-2.0-01.noarch.rpm rpm -Uvh smeserver-pdf-over-lan-2.0-01.noarch.rpm
Installing Windows PDF Printer Driver Thanks to http://www.sonoracomm.com/index.php?option=com_content&task=view&id=170 (Gene Cooper)
Add a new network printer to the Windows client PC. Browse to the \\server\pdf printer share and use the Apple Color Laserwriter 12/600 driver. Less Simple Method
This method may give you more control of your PDF output files.
On a Windows PC, download the Adobe postscript print driver and the Adobe Acrobat Distiller .ppd (postscript printer definition) file.
Extract the adobe.zip ppd archive and save the ADIST5.PPD (English) file. The others are for other languages.
The Adobe printer driver is a self-installing Windows executable. Run it and try to install the network PDF printer. When prompted, choose the ADIST5.PPD file and 'Acrobat Distiller'.
If you have problems getting the Adobe postscript driver installed as a network printer, try installing it as a local printer then go in to the printer properties after the installation and change the port to the UNC path of the printer (\\servername\pdf). Retrieve PDF Files
The newly created .pdf files are left in the \\servername\pdfdrop file share on the server.
You may choose to also modify the logon script to map a drive letter to this new I-Bay to make accessing the newly created PDF files easier.
rpm -e smeserver-pdf-over-lan