Print PDF

From SME Server
Jump to navigation Jump to search

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

About

This came about form the following forum post:

https://forums.contribs.org/index.php/topic,52825.0.html

Contrib

smeserver-print-pdf

Development has been started. There are two versions currently:

https://github.com/reetp/smeserver-print-pdf

This attempts to use internal user password/details. Still work in progress

Send a mail to printpdf@yourserver.org

smeserver-qmail-printpdf

Get the code from here:

https://github.com/reetp/smeserver-qmail-printpdf

or

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
status enabled disabled
PrinterName none variable
Media A4 variable
Password empty variable
TmpDir /tmp/printpdf variable


Modify the chosen key and then run

signal-event remoteaccess-update

Debugging

Any comments should be posted in the forums