Difference between revisions of "Print PDF"

From SME Server
Jump to navigationJump to search
Line 11: Line 11:
 
== Contrib ==
 
== Contrib ==
  
Development has been started:
+
Development has been started. There are two versions currently:
  
 
https://github.com/reetp/smeserver-print-pdf
 
https://github.com/reetp/smeserver-print-pdf
 +
 +
This attempts to use internal user password/details. Still work in progress
 +
 +
https://github.com/reetp/smeserver-qmail-printpdf
 +
 +
This uses a password set in the DB and used in the subject of the email
 +
 +
{| border="1" cellpadding="20" cellspacing="0"
 +
!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 ==
 
== Debugging ==

Revision as of 11:28, 20 April 2017

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

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

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

This uses a password set in the DB and used in the subject of the email

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