在分析TPUP 微型打印机控打原理的基础上, 设计了以AT89S52 为核心的微型打印机接口, 介绍了AT89S52 单片机接口应用设置、接口转换电路及微打的串行通信方法,此方法也可应用于其它类型的微
上传时间: 2013-06-29
上传用户:trepb001
介绍基于VHDL的微型打印机控制器的设计。论述了微型打印机的基本原理,以及实现控制器的VHDL语言设计。打印机的数据来自系统中的存储模块,根据需要控制打印。该微型打印机控制器可取代传统的微型打印机,且抗干扰性好,可靠性高,具有较强的移植性,稍加改动就可应用于不同场合。 Abstract: This paper introduced the design method of micro printer controller based on VHDL.The basic principles of microprinter is explained,as well as the realization of the controller by VHDL language.The printer data is from the system memory modules,can control printer.The design of microprinter controller has antigood and high reliability,it can replace the traditional printer.The controller has very good portability,and need little modify that can use in different situation.
上传时间: 2013-11-03
上传用户:dudu1210004
MCS-51单片机与键盘、显示器、微型打印机的接口
上传时间: 2013-12-24
上传用户:cepsypeng
微型打印机的C语言源程序:微型打印机的C51源程序#define uchar unsigned char#define uint unsigned int#include <reg52.h>#include <stdio.h>#include <absacc.h>#include <math.h>#include <string.h>#include <ctype.h>#include <stdlib.h>#define PIN XBYTE[0x8000]#define POUT XBYTE[0x9000]sbit PRINTSTB =P1^6;sbit DOG=P1^7;bdata char pin&#118alue;sbit PRINTBUSY=pin&#118alue^7;sbit PRINTSEL =pin&#118alue^6;sbit PRINTERR =pin&#118alue^5;sbit PRINTACK =pin&#118alue^4; void PrintString(uchar *String1,uchar *String2);void initprint(void);void print(uchar a); void initprint(void) //打印机初始化子程序 { pin&#118alue=PIN; if((PRINTSEL==1)&&(PRINTERR==1)) { print(0x1b); print(0x40); print(0x1b); print(0x38); print(0x4); }}void print(uchar a) //打印字符a{ pin&#118alue=PIN; if((PRINTSEL==0)||(PRINTERR==0)) return; for(;;) { DOG=~DOG; pin&#118alue=PIN; if(PRINTBUSY==0) break; } DOG=~DOG; POUT=a; PRINTSTB=1; PRINTSTB=1; PRINTSTB=1; PRINTSTB=1; PRINTSTB=0; PRINTSTB=0; PRINTSTB=0; PRINTSTB=0; PRINTSTB=1;}void PrintString(uchar *String) //打印字符串后回车{ uchar CH; for (;;) { DOG=~DOG; CH=*String; if (CH==0) { print(0x0d); break; } print(CH); String++; } initprint();}
上传时间: 2013-10-18
上传用户:hasan2015
微型打印机与单片机接口:是PDG格式的电子书.
上传时间: 2013-10-18
上传用户:qingzhuhu
单片机与微型打印机的接口设计
上传时间: 2013-10-16
上传用户:panpanpan
微型打印机的C语言源程序
上传时间: 2015-01-22
上传用户:leixinzhuo
2004计算机专业单片机微型打印机接口
上传时间: 2015-01-31
上传用户:hwl453472107
2004计算机专业单片机微型打印机接口
上传时间: 2015-01-31
上传用户:qlpqlq
2004计算机专业单片机微型打印机接口
上传时间: 2013-12-27
上传用户:weiwolkt