DIY Mobile Device Print Server 
Mobile

Introduction
I have been researching ways to better support remote offices and allow enterprise mobile devices to print. One solution is to create an email to printer server . Anything that can send an email can print. All security concerns will be addressed in this document.   This page shows you how to make a Email Printer Server(EPS) using simple outlook rules.

How it works
A windows system is set up with the correct print driver for a printer.
The printer is then set as the default.
The system is configured with default print friendly applications.
Outlook is configured on the system with an email account. Exampleprinter@yourdomain.com.
Outlook is then configured with 3 rules; Print, Send Confirmation Messages and Delete.
Outlook is configured to auto open attachments
Outlook is configured to print attachments

Email to Printer

Benefits

Anything that can send an email can print
No print drivers on the device
It is easy to setup
It is cheap.  If you have Outlook you have everything you need.

Drawbacks
One system will be required per printer this is setup for.
These are client side rules, so the EPS must be on, logged in and outlook open.
Untested in the enterprise.  I did a POC in my personal lab.

Setup Details

Windows Setup


The first thing you need to do is install a printer on the windows system you are going to use as a EPS. Configure windows to open attachments with printer friendly applications. For example PNG files open by default with Windows Photo Viewer. The problem is that has a dialog box when you print.
Example of this problem::

App

Dialog boxes like this will prevent the print job from going to the printer. For each attachment type you need to set a "printer friendly" application. In this case I changed PNG files to open with paint. Paint does not have a dialog box when you print to the default printer. You can test this by right clicking a file and “print.”

Example:
default
 

Outlook setup

First outlook needs to be configured with an email account. Then you need to create a rule to do three simple things. The first part of the rule will auto-print anything that has “<print>” in the subject line. This will prevent any spam from auto-printing. The next part of the rule sends a confirmation email. For Outlook to send a confirmation a must be created template first. Making a template is easy; open a new email, type whatever you want and save as an oft file.

Here is an example of a template:
temp


 Here is an example of the rule.

rule


Outlook to Open and Print Attachments:

For security reasons Outlook can’t auto open and print files. You need to enable outlook to auto open files for this to work. To do this you must give the account admin right (you can and should remove this later) open outlook by right clicking and “run as admin.” Then you need to open each file type and remove the check box.

open

Close outlook, remove admin rights. Log out and long back in.

To Print Attachments

Outlook needs to print attachments for this to work. This is not on my default. Open outlook, chose file print, then check the box to “print attached files.”

Print

This setting is persistent.

Security Issues

To prevent any security problems you can

Prevent the email account from receiving emails from outside your domain.
The use of <print> in the subject line should stop all spam from printing.
The email account can be configured not to send any outbound emails

Feel free to send your comments to me via Twitter

Follow RandallCole on Twitter