首页> 中文期刊> 《现代电子技术》 >基于C8051F系列单片机的标签打印机接口设计

基于C8051F系列单片机的标签打印机接口设计

         

摘要

为满足与日俱增的嵌入式系统的打印需求,设计了一种以片上系统型C8051F系列单片机为主机控制器的标签打印机接口模块.详细阐述了单片机与打印机之间的串行接口设计方法和斑马公司标签打印机专用的EPL2打印描述语言的使用,在掌握EPL2语言的基础上,利用KeilC编程工具进行驱动程序的编写,并给出了相应的驱动程序,实现了C8051F020单片机通过RS 232接口对一种标签打印机的控制.%To meet the increasing demand of printing of embedded system, in this paper, a label printer interface module is designed by using C8051F MCU as host concroller. The design method of serial interface hetween MCU and label printer is expounded. The use of EPL2 printing description language specified by Zebra label printer is elahorated. On the basis of EPL2 language, the driver program was compiled by means of KeilC programming tool. The corresponding driving program is presented. The control through RS232 interface to the label printer is realized by C8051F020 MCU.

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号