Patent ID: 8817285

Claim:
A method comprising: converting received Hypertext Markup Language (HTML) that specifies content to be printed by a printing device, to Extensible Hypertext Markup Language (XHTML), wherein at least one element in the XHTML is assigned an element identifier; generating style information, based on an Extensible Stylesheet Language (XSL) template, for at least one element in the XHTML, wherein the style information is stored in a format object tree and is associated with the XHTML via the element identifier; extracting placement information from the format object tree for at least one element, wherein the placement information is stored in an XML placement document and is associated with the XHTML via the element identifier; and generating at least one printer command that incorporates, based on the element identifier, the content from the XHTML, style information from the formatting object tree, and placement information from the XML placement document, wherein execution of the at least one printer command by a printing device results in rasterization of the content in the style specified by the HTML, and in the position derived from the HTML.