首页> 外国专利> Method and apparatus for printing XML directly using a formatting template

Method and apparatus for printing XML directly using a formatting template

机译:使用格式化模板直接打印XML的方法和装置

摘要

A printing system and method for printing XML files directly using a formatting template is disclosed. An embodiment of the printing system includes a spooler for receiving printable information from the print channel, a print services facility for parsing an XML file, formatting the XML file according to a formatting template, the print services facility organizing a data stream representing the formatted XML file and generating a print steam having been formatted using the formatting template and a printer for printing the print steam according to the formatting defined by the formatting template, wherein the formatting template defines a data map format containing XML descriptors defining the formatting for an element of the XML file. The formatting template, such as a data map in a page definition, is used to format each XML element. The formatting template contains descriptors that specify presentation parameters such as position, rotation, font, color, etc. The descriptors are indexed using a concatenation of the XML tags that must be traversed to get to a particular XML element.
机译:公开了一种用于直接使用格式化模板来打印XML文件的打印系统和方法。该打印系统的实施例包括:用于从打印通道接收可打印信息的假脱机程序;用于解析XML文件的打印服务设施;根据格式化模板对XML文件进行格式化;打印服务设施用于组织表示格式化的XML的数据流。文件并生成已使用格式化模板进行了格式化的打印蒸汽,以及用于根据格式化模板定义的格式化来打印打印蒸汽的打印机,其中,格式化模板定义了包含XML描述符的数据映射格式,该XML描述符定义了元素的格式XML文件。格式化模板(例如页面定义中的数据映射)用于格式化每个XML元素。格式模板包含用于指定表示参数(例如位置,旋转,字体,颜色等)的描述符。使用必须遍历才能到达特定XML元素的XML标签的串联来对描述符进行索引。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号