发明名称 Method and apparatus for printing HTML content
摘要 A method, apparatus, and computer program product are described herein for generating printer commands for controlling a printing device, based on HTML. More specifically, the example embodiments of the system described herein provide for receiving HTML representing a label that comprises, in some examples, a barcode or other print content, transforming the HTML to a printer control language, and rasterizing the image on a printing device in preparation for printing, all while preserving barcode print quality and high speed printing and scanning.
申请公布号 US8817285(B2) 申请公布日期 2014.08.26
申请号 US201213727887 申请日期 2012.12.27
申请人 ZIH Corp. 发明人 Tanabe Brian;Nudel Eric A;Hall Ethan
分类号 G06F3/12 主分类号 G06F3/12
代理机构 Alston & Bird LLP 代理人 Alston & Bird LLP
主权项 1. 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.
地址 Lincolnshire IL US