摘要
介绍基于单片机89C52的小票打印系统的设计。硬件采用最小系统,并通过TpμP-T微型打印机打印,软件采用C51编程。最后实现了小票打印系统,并具有编辑功能。该系统可以用来记录建筑工地上装机打水泥粉的各种数据,包括打印型号、打粉的起始日期和结束日期、桩号、总深度和总重量等数据,并能进行适当的编辑例如删除、复位、取消当行输入、输出打印等。
This paper introduces a system of printing small ticket based on MCU 89C52. The hardware adopts the minimum system and prints with Tpp, P-T micro-printer. The system software is programmed with C51. The System can be used to recorder various kinds of data of inputting cement powder on construction site installation, including printing the powder type, the initial date and finishing date, a number, total depth and total weight data, it can also edit, for example, delete, cancel, reset, and act as walking introduction,output the function of printing etc.. The system is reliable, flexible and convenient.
出处
《电子工程师》
2005年第7期48-50,共3页
Electronic Engineer
关键词
小票打印系统
单片机
串行通信
压缩BCD
system of small ticket printing, MCU, serial communication, compress BCD