摘要
给出了嵌入式系统中经常遇到的由单据或表格的实际尺寸创建套打 (即在已经印刷好的单据或者表格的指定位置打印规定的字符 )的正文模型的方法 ,并给出了相应的 C语言描述 .在解决 \0 的二义性基础上 ,给出了套打的存储模型和相应的 C语言描述 .在考虑了打印页的尺寸 (规格 )、以及回车换行基本控制要求的基础上 ,给出了套打打印模型以及针对 EPSON30 0 K的 C语言描述 .并且用
This paper developed a method of establishing a chromatography printing model that can print text properly fitted into one or more reserved spaces with certain trim sizes at certain positions of a document, such as a form, bill, or any type of a pre designed and printed document. This kind of print is often encountered in embedded systems. After recognizing the different meanings of \0, the storage model and the corresponding C description of the chromatography printing are presented. According to the basic control requirements, for instance, page control, carriage return, and new line control, the chromatography printing model and the corresponding C description for EPSON 300K are given. Furthermore, the Dynamic Link Library of the chromatography printing model based on C++ is developed.
出处
《小型微型计算机系统》
CSCD
北大核心
2003年第6期1095-1097,共3页
Journal of Chinese Computer Systems
基金
湖北省 2 0 0 1年重大科技攻关项目之子项 ( 2 0 0 1AA10 7B0 1)资助
关键词
套打
模型
动态链接库
chromatography printing
model
dynamic link library