检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]河海大学计算机与信息学院,江苏常州213022
出 处:《现代电子技术》2011年第8期11-13,共3页Modern Electronics Technique
摘 要:为满足与日俱增的嵌入式系统的打印需求,设计了一种以片上系统型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 controller.The design method of serial interface between MCU and label printer is expounded.The use of EPL2 printing description language specified by Zebra label printer is elaborated.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.
关 键 词:C8051F020 标签打印机 串行接口 EPL2
分 类 号:TN911-34[电子电信—通信与信息系统]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7