Patent ID: 8488164

Claim:
A computer-implemented method for printing an electronic document on a printing device from a mobile device, the method comprising: receiving a printing request from an application executed on the mobile device, via a socket connection conforming to a standard network communications protocol, the printing request generated from a print preview by the application; accessing a print configuration file; retrieving application data from the printing request, wherein the application data is retrieved based on at least one rule in the print configuration file, wherein the rule specifies an absolute position within the printing request and a number of characters to be retrieved from the printing request; populating a print template with the retrieved application data, the print template including application data placeholders and print commands, the print commands being in a language of a printer device connected to the mobile device, wherein the retrieved application data replaces the application data placeholders; and forwarding the populated print template to the printer device, the print commands instructing the printer device to print a document where the application data is presented according to the print template.