基于Delphi的精确定位套打设计与实现  被引量:2

Implementation and design in chromatography printing based on Delphi

在线阅读下载全文

作  者:李涛[1] 

机构地区:[1]四川文理学院计科系,四川达州635000

出  处:《计算机工程与设计》2007年第15期3793-3796,共4页Computer Engineering and Design

基  金:四川省教育厅青年基金项目(2006B087)

摘  要:基于文本的套打方式以字符为计量单位,定位精度不高;而基于打印控制码的方式面向打印设备,编码繁琐且兼容差。Canvas提供了一个独立于设备的绘制图形对象的画布,通过将文本信息转化为图形对象输出,可实现更为精确的套打且兼容性强。描述了Delphi的普通文本和打印机控制码套打定位方式,引出了基于Canvas的精确套打程序设计与实现的原理、方法,并就实现的主要技术和相关API函数调用进行了分析。Chromatography printing based on text take character as to print unit, positioning accuracy not enough, and based on printercode is face to some special printer, code is tedious and compatibility is not generalization. The canvas provided a print-independent way to draw sketch object. More accurate and universal print way that converted text into sketch object can be realized and each exportation object painting on canvas is printed out. The chromatography printing way of Delphi text print and printercode print are described, then the principle and method of the program implementation and design in chromatography printing based on canvas is presented, the key technique and related API of the function is analyzed.

关 键 词:套打 打印机控制码 画布 设备环境句柄 API函数 

分 类 号:TP319[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象