北京炜煌-A7、A8热敏打印机说明书
- 格式:doc
- 大小:889.00 KB
- 文档页数:40
热敏纸相机操作方法
热敏纸相机是一种特殊的相机,它不像传统相机一样使用胶片或数字传感器来记录相片,而是使用热敏纸来制作图像。
以下是热敏纸相机的操作方法:
1. 打开热敏纸相机:通常,热敏纸相机的开关位于相机的顶部或侧面。
将开关切换到"ON"或"打开"的位置,相机就会启动。
2. 调整拍摄模式:有些热敏纸相机可能有不同的拍摄模式,如普通模式、黑白模式或怀旧模式。
通过相机顶部或侧面的旋转开关,选择你想要的拍摄模式。
3. 对焦:热敏纸相机通常有自动对焦功能。
将相机对准你要拍摄的主题,按下快门按钮,照相机会自动对焦。
4. 拍摄照片:按下快门按钮,相机就会捕捉当前场景的图像。
一些热敏纸相机可能会有快门延迟,所以在按下快门按钮后,保持相机稳定,直到照片完全拍摄。
5. 预览相片:一些热敏纸相机会在拍摄后立即显示相片。
如果你的相机不具备这个功能,你需要等待片片出来后,才能查看已拍摄的照片。
6. 打印照片:热敏纸相机会自动将照片打印在热敏纸上。
等待几秒钟后,相片就会完成打印。
7. 删除照片(可选):如果你拍摄了一张不满意的照片,一些热敏纸相机会有删除功能。
按下相机上的删除按钮,然后按照相机屏幕上的提示进行操作。
8. 关闭热敏纸相机:当你完成照相后,将相机开关切换到“OFF”或“关闭”的位置,相机就会关闭。
这是一般热敏纸相机的操作方法,不同品牌和型号的相机可能有所不同。
请在使用前阅读相机的使用手册,以了解更详细的操作说明。
目 录一、面板式系统安装 (1)1.1、安装尺寸 (1)1.2、安装方法 (10)1.3、电源连接 (14)1.4、安装色带(热敏除外) (15)1.5、安装纸卷 (17)二、平台式系统安装 (24)2.1、外形尺寸及结构功能 (24)2.2、安装色带(热敏除外) (32)2.3、安装纸卷 (35)2.4、电源连接 (36)三、按钮开关的操作 (37)一、面板式系统安装1.1 安装尺寸1.1.1 A0型(原普通型)微打外形结构及外形尺寸如图1-1-1。
(单位:毫米)◆外形尺寸:111mm×62mm×63mm;◆开口尺寸:103mm(宽)×57mm(高);◆嵌入深度:55mm(具体视控制板宽度);◆可装最大直径40mm的打印纸。
A0型照片图样 图1-1-1- 1 - 炜煌汉字微打安装使用手册1.1.2 A1型(原前换纸Ⅰ型)微打外形结构及外形尺寸如图1-1-2。
(单位:毫米)◆外形尺寸:111mm×62mm×68mm;◆开口尺寸:103mm(宽)×57mm(高);◆嵌入深度:62mm(具体视控制板厚度);◆可装最大直径30mm 的打印纸。
A1型照片图样 图1-1-2 - 2 -1.1.3 A2型(原前换纸Ⅱ型)微打外形结构及外形尺寸如图1-1-3。
(单位:毫米)◆外形尺寸:120mm×120mm×56mm;◆开口尺寸:115mm(宽)×115mm(高);◆嵌入深度:47mm(如大控制板另加板厚);◆可装最大直径50mm的打印纸。
A2型照片图样 图1-1-3- 3 - 炜煌汉字微打安装使用手册1.1.4 A3型(原前换纸Ⅲ型)微打外形结构及外形尺寸如图1-1-4。
(单位:毫米)◆外形尺寸:111mm×65mm×91mm;◆开口尺寸:103mm(宽)×57mm(高);◆嵌入深度:83mm;◆可装最大直径40mm的打印纸。
3D打印机怎使用?看A7-3D打印机快速入门指南一、极光尔沃A7产品图示二、A7主菜单介绍三、注意事项1 ) 机器运行过程中,喷嘴部件温度最高可以达到250℃。
为确保您的安全,当打印机正在打印或冷却期间,禁止用手直接触摸喷嘴;2)请使用本公司提供的电源连接线,并确保电源插座接地良好。
切勿使用未经安全认证的电源线,以免造成打印机故障及其他后果;3)如果打印时发生打印机冒烟、产生异常噪音时,请立即关闭电源开关,停止打印机工作; 4)为保证机器的正常工作及最佳打印效果,强烈建议使用极光尔沃专用打印耗材;5)请将机器放置在儿童不易触碰的位置,儿童应在成人的监督下使用本产品。
四、打印操作步骤1.打开机器门(产品图示②),取出机器内部保护棉;2.取出内包装上盖中的打印平台,并将平台正确放置于平台托架上;3.取出工具盒中的国标电源线,插上电源,并选择开机。
五、调整平台1.通过触摸屏上的“调平”按钮,选择调平,机器开始向着平台四角进行调平,重复循环三次,调平完成后回到原点;六、耗材安装1.点击触摸屏“预热”选项进入“预热菜单”,选择预热相应的耗材;2.在预热的过程中,点击操作面板上的升降料架(产品图示⑨)(按一次上升,再按一次收回)按指示方向进行耗材安装(如下图1.0示意),待温度升温到相应设定度数(参考温度值:PLA≈200℃,TPU≈200℃);3.通过触控屏,选择“设定”“进料”电机开始将耗材输送到喷嘴,并直至喷嘴有耗材流出;注:拉动耗材前端,料盘沿逆时针转动。
七、打印模型(准备电脑、切片软件、U盘(工具盒中))①切片软件安装:在工具盒中找出U盘插入电脑,将切片软件拷贝到电脑任意硬盘—双击软件安装图标—进入软件安装界面—点击下一步—安装成功。
②启动软件:选择添加打印机的型号。
③模型载入:通过点击“打印文件”选择要打印的模型或直接将模型拖入软件视窗。
④代码保存:待模型切片完成后点击右下角“保存文件”按钮,保Gcode代码的文件名不可是中文,必须是字母或数字组成。
T3热敏打印机使用说明2009-08-31 北京炜煌科技发展有限公司版本控制信息版本日期拟稿和修改说明V01 2009-6-19 创建第1章 安全信息为有效、安全地使用您的打印机,请遵守以下规定。
在使用打印机前详细阅读操作指南,以掌握正确的使用方法。
将本[使用说明]放置在方便易取的位置,以便随时取出参阅和寻找问题解答。
1.1读者本手册的受众是系统软件开发人员、硬件设计人员和应用设计人员1.2关于本手册本文档分成多个章节,每个章节与主要的特性相对应。
1.3F 安全上的注意事项假如漠视下述注意内容,错误使用打印机的话,可能造成打印机损坏。
△ 注 意·如果出现卡纸情况,务必先断电,等待 10 秒钟,让机头冷却下来,才开始除掉塞纸。
·勿将本产品放置在潮湿或多尘的环境中,重压,不能堆放。
1.4F 使用上的注意事项1.4.1纸卷必须使用符合要求的纸卷(带纸轴)。
勿选用末端被黏合在纸轴上的纸卷,否则打印机便无法正确测出纸卷末端,也可能对打印机构造成损害。
不要长时间打印数据。
第2章 操作说明2.1走纸按压走纸键(面板右键),按下开始进纸,放开停止进纸。
自检在关机状态下按压走纸键(面板右键),然后开机,可以打印自检2.2设置参数关机状态下按住设置键(中间键),然后开机,可进入设置菜单,有六个项目可选择,如下:1.Setup Infrared(设置红外)2.Setup 232(设置232串口)3.Print Direction(改变方向)4.Gray Adjust(改变灰度)5.Poweroff(自动关机/休眠设置)6.Font&Codepage(选择字体或字符集)这时再按住设置键不放可听到连续的咔哒声。
当听到“咔哒”声响的次数与要选择的项目标号数一致时松开按键,即进入该选项。
同理可进行下一级选择。
按电源键(左键)可退出并进入上一级菜单,长按电源键可关机退出设置,重新开机新设置生效。
例如要更改232波特率为9600。
热敏票据打印机POS-58使用手册一、概述 (2)1、简介 (2)2、主要特点 (2)3、技术规格 (2)4、注意事项 (3)二、打印机安装 (3)1、部件清单 (3)2、打印机外型 (4)3、连接打印机 (4)3.1 串行接口型 (4)3.2 并行接口型 (5)3.3 USB接口型 (6)3.4以太网接口型 (6)4、连接钱箱 (6)三、打印机使用 (7)1、操作控制面板 (7)2、在线和离线 (7)3、进纸 (8)4、设定打印浓度 (8)5、设定打印速度 (8)6、设定波特率 (8)7、打印测试模式 (9)8、调试输出模式 (9)9、安装纸卷 (9)9、撕纸方法 (10)10、清洗打印机芯 (10)四、USB驱动程序的安装 (11)1、驱动程序的安装 (11)2、驱动程序的卸载 (12)3、系统需求 (13)五、PC工具软件使用 (13)1、工具软件的安装 (13)2、工具软件主界面 (15)六、故障排除 (15)七、ESC/POS打印控制命令 (16)1、打印命令一览表 (16)2、打印命令详解 (17)2.1 打印命令 (17)2.2 行间距设置命令 (18)2.3 字符设置命令 (18)2.4 图形打印命令 (20)2.5 钱箱控制命令 (21)2.6 按键控制命令 (22)2.7 初始化命令 (22)2.8 状态传输命令 (22)2.9 条码打印命令 (23)2.10位置和页模式命令 (25)附录1:代码页 (27)附录B:国际字符集 (29)声明此为A级产品,在生活环境中,该产品可能会造成无线电干扰,可能需要用户对其干扰采取切实可行的措施。
本公司保留对说明书修改而不通知用户的权利。
一、概述1、简介欢迎您使用POS-58行式热敏打印机。
POS-58是一款高性能的行式热敏打印机,具有打印速度快、噪声低、可靠性高等特点,可广泛用于商业POS系统、餐厅收费系统等各种需要现场打印输出的场所。
第一部分性能指示 (2)第二部分操作说明 (3)2.1并行接口连接 (3)2.1.1接口与引脚定义 (3)2.1.2 并行接口引脚信号时序 (5)2.1.3 并口例程 (5)2.2串行接口 (11)2.2.1 串行接口引脚定义 (11)2.2.2 修改波特率和通讯模式设置 (12)2.2.3 串口例程 (14)2.3电源连接 (19)第三部分打印命令祥解 (20)第四部分命令速查表 (34)第五部分西文字符集1、2 (38)第六部分型号结构和部分说明 (39)第一部分性能指示1、打印方法:直接热敏打印2、打印纸宽:57.5±0.5mm3、打印密度:8点/mm,384点/行4、打印头寿命:6×106字符行5、有效打印宽度:48mm6、走纸速度:根据打印机电源电压不现而不同。
电压越高,速度越快。
5V直流电源时为30mm/秒7、打印字符:6*8点阵西文字符集1、2;20h—7fh间的标准ASCII码半角字符。
国标一、二级汉字(16*16点阵、24*24点阵两种,可根据需要选用不同点阵类型的打印机)8、接口形式:并行接口IDE 26针插座,TTL电平串行接口IDE 10针插座,232电平或TTL电平9、操作温度:+5~50℃10、操作相对湿度:10~80%11、储存温度:-20~+60℃12、储存相对湿度:10~90%13、电源:直3.5V~9V,2A第二部分操作说明2.1 并行接口连接2.1.1接口与引脚定义本系列打印机并口与CENTRONICS兼容,支持BUSY/ACK握手协议,接口插座为IDE 26针插座。
并行接口插座引脚序号如下图所示:并行接口插座引脚序号IDE 26针并行接口各引脚信号的定义如下图表所示:面板式引脚信 号 方向 说 明 1-STB 入 数据选通触发脉冲,上升沿时读入数据 3DATA1 入 这些信号分别代表并行数据的第一至第八位信号,每个信号当其逻辑为“1”时为“高”电平,逻辑为“0”为“低”电平。
Thermal Printer User’s ManualCatalogue1 Introduction (2)1.1 Brief introduction (2)1.2 Main features (2)2 Specification (3)2.1 Specification (3)2.2 Printing material requirements (5)2.2.1 Paper parameters (5)2.2.2 Mark paper parameters (5)2.2.3 Paper using attention (5)2.3 Printing and paper cutting position (6)2.3.1 Printing position (6)2.3.2 Paper cutting position (6)3 Appearance and components (7)3.1 Appearance and components (7)3.2 Indicator and buzzer instruction (8)4 Printer installation (9)4.1 Open the package (9)4.2 Requirements of installation position (9)4.3 Connect to power adapter (9)4.4 Connect Communication cables (9)4.5 Connect to cash drawer (9)4.6 Paper roll loading (10)4.6.1 Printing paper type confirmation (10)4.6.2 Loading or change paper roll (10)4.7 DIP switch setting (12)4.8 Printing self-test page (12)4.9 Set Ethernet port IP Address. (12)5 Interface pin definitions (14)5.1 Parallel interface pin definition(DB25M) (14)5.2 USB interface pin definition(standard B type female base) (14)5.3 Power interface pin definition(MPC-3-001B) (15)5.4 Cash drawer interface pin definition(RJ11-6P6C) (15)5.5 Serial port pin definition(DB9F) (16)5.6 Ethernet interface pin definition(RJ45) (16)6 Faults handling (17)6.1 Printer does not work (17)6.2 Indicator error and buzzer warning (17)6.3 Problems when it is printing (17)6.4 Problems when cutting paper (18)6.5 Paper jam and cutter retraction troubles removal (18)1 Introduction1.1 Brief introductionCB821 is a thermal POS printer with auto-cutter. It has good printing quality, high printing speed and high stability, which is widely used in POS system, food service industry and many other fields.CB821 connects other devices via USB, Serial, Ethernet port. It offers drivers for WINDOWS and LINUX operating systems.The supported operating systems are as below:WINDOWS XPWINDOWS 7 32/64WINDOWS 8WINDOWS 10UBUNTU 12.04 32/64UBUNTU 14.04 32/64MAC OS1.2 Main features·Low noise, high-speed printing, 250mm/s·With auto-cutter·With cash drawer interface·USB, Serial, Ethernet port communication, Bluetooth optional.Long-life, high print quality, durable performance.Support mark paper and continuous paper printing.Easy paper loading design, widely used in various industries2 Specification2.1 SpecificationItem ParameterPrinting parameter Printing method Thermal printingResolution 203DPI,8 dots/mmPrinting width 72mm(576 dots)Printing speed About 250 mm/sInterfacesStandard: cash drawer / USB/ serial/ EthernetOptional Wireless Communication: BluetoothPage mode / SupportCommand set / ESC/POS compatible commandsStorageRAM RAM 8M bytes, receive buffer area 1M bytes FLASH FLASH 4M bytes, NV bitmap 256K bytescharactersChinese GB18030 24×24Words, figures ASCII 9×17,12×24User-defined SupportCode pagesOptional international character sets 45TRADITIONAL CHINESECHINESECP437 [U.S.A., Standard Europe]KatakanaCP850 [Multilingual]CP860 [Portuguese]CP863 [Canadian-French]CP865 [Nordic]WCP1251 [Cyrillic]CP866 Cyrillic #2MIK[Cyrillic /Bulgarian]CP755 [East Europe,Latvian 2]IranCP862 [Hebrew]WCP1252 Latin IWCP1253 [Greek]CP852 [Latina 2]CP858 Multilingual Latin Ⅰ+Euro)Iran IILatvianCP864 [Arabic]ISO-8859-1 [West Europe]CP737 [Greek]WCP1257 [Baltic]ThaiCP720[Arabic]CP855CP857[Turkish]WCP1250[Central Europe] CP775WCP1254[Turkish]WCP1255[Hebrew]WCP1256[Arabic]WCP1258[Vietnam]ISO-8859-2[Latin 2]ISO-8859-3[Latin 3]ISO-8859-4[Baltic]ISO-8859-5[Cyrillic]ISO-8859-6[Arabic]ISO-8859-7[Greek]ISO-8859-8[Hebrew]ISO-8859-9[Turkish]ISO-8859-15 [Latin 3] Thai2CP856Chart / Supports different density dots and images printingsSupports grating bitmap printingSupports download bitmap printing, every bitmap size should less than 256K, and the total capacity of download bitmap is 256K.Bar codes 1DUPC-A、UPC-E、EAN-8、EAN13、CODE39、ITF、CODEBAR、CODE128、CODE932D PDF417、QR CodeDetection function Sensor Paper out, cover opened, un-take out printed paper(optional)LED indicatorPower indicator Green Paper out indicator Red Error indicator RedPaper RequirementType Standard thermal receipt paper Width 79.5±0.5mmThickness 0.056~0.1mmDiameter 80mm(Max.)Physical characteristicsPaper loading Easy paper loadingPaper cutting Manual or automatically cut paper Operating condition -10℃~ 50℃,25% ~ 80%RH Storage condition ~40℃~ 70℃,≤93%RH(40℃)Outline dimension 145mm×195mm×144mm(W×L×H)Weight 1.8KgReliabilityTPH life 100kmCutter life 1,000,000 times Motor life 360,000 hoursSoftware function Driver procedure Windows(WIN7/WIN8/WIN10/Vista/XP/2000)Ubuntu 12.04 32/64, Ubuntu 14.04 32/64 MAC OS2.2 Printing material requirements2.2.1 Paper parameters1)Paper type: thermal receipt paper/thermal black mark paper2)Paper width:80±0.5 mm3)Paper roll diameter: 80 mm (Max.)4)Paper thickness:0.065 ~ 0.10mm2.2.2 Mark paper parametersBlack mark imprint position is on the front side of the receipt when using mark paper. The black mark reflectivity is no more than15%, the other parts of paper reflectivity should be more than 85%.There are not any patterns in black mark area, such as ad, and the mark size shall be satisfied with requirements as below:2.2.3 Paper using attentionNote:1)Please use good quality paper, otherwise, it will effect printing quality and even reduce printer head life.2)Don’t make the paper stick on axis.3)Paper will be fading out or reduced thermal sensitivity if it is polluted by chemical or oil, which will affectprinting effects.4)Don’t use nail or hard things to clash printing paper, otherwise, it will be fade out.5)Paper will be fading out if the environment temperature exceeds 70°C. So please take note the temperature,humidity and illumination effects.2.3 Printing and paper cutting position2.3.1 Printing positionL1-Paper storehouse’s width: 82±0.5mmL2-Effective printing width: 80mmL3-Distance between print head to paper storehouse’s left edge (fixed width): 3±0.3mmL4-Distance between print head to paper storehouse’s right edge (fixed width): 3±0.3mmL5-Left margin: Default is 4mmL6-Printing area width: it is set by commands (refer to programming manual). Default is 72mm. L7-Right margin: Default is 4mm.2.3.2 Paper cutting positionThe distance between print head to cutter: 12.5mm3 Appearance and components 3.1 Appearance and componentsFunction instruction of components1)Power switchPress “O” side to power off, press “I” side to power on.2)Power indicator(green)The indicator is on when power on, and it is off when power off.3)Error indicator (Red)Error indicator is on when it detects error. Such as: paper out, upper cover is open and cutter is stocked. 4)Paper indicator(red)Paper out indicator is on when it detects the paper is out. Please put a new paper roll to printer inside then.3.2 Indicator and buzzer instruction1)Function instruction of indicators and buzzerName Status InstructionPower indicator (Power) On Printer is power on Off Printer is power offError indicator (Error) On Printer is in error status Off Printer is in normal statusPaper out indicator (Paper)On Printer is in paper out status Off Printer is in normal statusDescription Power Indicator Error Indicator Paper Indicator Buzzer Open printer cover On On On It rings 6 times by 1.5s.Paper is enough On Off Off Silent Paper out On On On It rings 3 times by 1.5s.Note: Printer detects printer head temperature via thermal resistance. It will cut off print head powerand stop printing if print head is overheat. The print head protection temperature is 80℃.4 Printer installation4.1 Open the packagePlease make sure everything is in good status when you open the package. Otherwise, please contact to distributor in time.4.2 Requirements of installation position1)Put the printer on a stably place.2)Let the printer far away from water, fire, and sunlight.3)Avoid to put it on oscillatory and impassive place.4)Make sure to connect printer with ground safety4.3 Connect to power adapter1)Make sure the printer is power off.2)Connect power adapter’s DC output plug to the printer.3)Connect power adapter’s AC input plug to a power outlet.4)Please be careful to operate correctly when plug out the plug of power cord to avoid damage.4.4 Connect Communication cables1)Make sure the printer is power off.2)Connect communication cable to the printer’s port, and fix it as plug lag spike (or snap spring).3)Connect communication cable to the other side host.4.5 Connect to cash drawer1)Make sure the printer is power off.2)Connect cash drawer to cash drawer port behind the printer.Warning: The Voltage of cash drawer port is 24V. (It cannot connect to telephone cable.)4.6 Paper roll loading4.6.1 Printing paper type confirmationYou can load paper roll to print after connecting power adapter and communication cables. Please make sure the printing paper type before printing. The default paper type is continuous thermal receipt paper.4.6.2 Loading or change paper roll1)Power off the printer.2)Slide or press paper roll storehouse button, and then open storehouse cover.3)Draw out paper roll tap, and load paper roll as below.4)Draw out a printing paper, and leave some on the paper out month, then close the storehouse cover.Warning: Please make sure the paper roll in tense status, if not, it maybe cause paper jam or other problems.5)The status after paper loading4.7 DIP switch settingDIP switch Switch Function On Off Default 1 Cutter Forbidden Enable Off 2 Buzzer Enable Forbidden On 3 Printing density DarkLight Off 4 Multi-byte encoding Single-byte encodingmulti-byte encodingOff 5 Max. number of Printing characters in each line42 48 Off 6 Cash drawer EnableForbiddenOn 7 Baud rate options (bps)Ref. Chart 1Off 8OffChart 1:Baud rate optionsBaud rate Switch 7 Switch 8 Default9600 On Off 19200 19200 Off Off 38400 On On 115200Offon4.8 Printing self-test page1) Make sure the printer loaded paper roll correctly.2) Press down [FEED] button and hold on, then power on the printer, the printer will print a self-test page.4.9 Set Ethernet port IP Address.The printer ’s Ethernet IP address can be set directly via printer inserted web setting page. The operation steps are as below:1. Connect printer and PC in a same Ethernet LAN.2. Print a printer self-test page to get printer recent IP address (self-test page printing operation method refers to “4.8 printer self-test ” instruction):You can find the printer ’s IP address is same as 192.168.1.87 in self-test page “IP address: 192.168.1.87” 3. Set network card IP address in PC and printer IP address as different IP address in the same networksegment.(Such as 192.168.1.xxx, xxx is a number among 1 to 254);4. Please enter address “http://printer IP address ” in browse of PC after making sure that printer connects with Ethernet.(e.g.: If printer IP address is “192.168.1.87”, please enter “http://192.168.1.87”), then press Enter key,open Ethernet port setting page in browser as below:5. Click “Configure Interface” link in the left side, then enter the modified target IP and click “save” button tosave setting. Click “Reboot” button to reset printer if you want the setting to take effect.6. Enter the new IP address as the above step 4 procedure, and re-open printer Ethernet port setting web page, then click “Printer Status” link in the left side. And click “Printer Test Page” button to print self-test page, andcheck the IP Address contents in the self-test page is right or not.5 Interface pin definitionsThe printer has a cash drawer driver interface and many kinds of communication interfaces: parallel, serial (RS-232), USB and Ethernet ports. USB port and cash drawer interfaces are standard interfaces, and it has Ethernet, serial and parallel ports as optional.5.1 Parallel interface pin definition(DB25M)Number Signal Function Number Signal Function1 /STROBE Gate. Low level is10 /ACK Confirm. Low level is effectiveeffective2 DATA0Data bit is 011 BUSY Busy3 DATA1Data bit is 112 PE Paper out4 DATA2Data bit is 213 SEL Choose5 DATA3Data bit is 314 /AUTOFEED Change line automatically. Lowlevel is effective6 DATA4Data bit is 415 /ERROR Error. Low level is effective7 DATA5 Data bit is 516 /INIT Initialize. Low level is effective8 DATA6 Data bit is 617 /SELIN Choose input. Low level iseffective9 DATA7 Data bit is 718-25 GND Ground wire5.2 USB interface pin definition(standard B type female base)1)Pin definitionPin Number Signal name Typical wire color1 VBUS Red2 D- White3 D+ Green4 GND Black5.3 Power interface pin definition(MPC-3-001B)1)Pin definitionPin number Signal name1 +24V2 GND3 N.CSHELL F.G5.4 Cash drawer interface pin definition(RJ11-6P6C)1)Electrical specificationDriver voltage: DC24VDriver current: Max. 0.8A (within 510ms)Cash drawer status tests signal: “L” = 0~0.5 V ; “H” = 3~5 V2)Cash drawer interface socket uses RJ-11 6P type connector;3)Interface signal definitionPin number Signal function1 FG Printer cover2 DRAWER 1 Cash drawer 1 driver signal3 DRSW Cash drawer status detection signal4 VDR Cash drawer driver power5 DRAWER 2 Cash drawer 2 driver signal6 GND Common ground circuitNotes:1) Prohibit socket with power to pull out communication wire plug.2) Please avoid to parallel with strong power when wring communication cables av通讯线布线时应避免和强电并行;3) Communication cables use with shielded cables.5.5 Serial port pin definition(DB9F)Printer serial port is compatible with RS-232, the interface socket is DB9 female socket.User can check interface setting status via printing setting self-test page. Printer default serial interface is set as: baud rate 19200bps, 8 bit data bits, no parity,1 bit stop bit, and the handshakes method is DTR/DSR。
炜煌热敏汉字微打使用手册第一部分性能指示 (2)第二部分操作说明 (3)2.1并行接口连接 (3)2.1.1接口与引脚定义 (3)2.1.2 并行接口引脚信号时序 (5)2.1.3 并口例程 (5)2.2串行接口 (10)2.2.1 串行接口引脚定义 (10)2.2.2 修改波特率和通讯模式设置 (12)2.2.3 串口例程 (14)2.3电源连接 (19)第三部分打印命令祥解 (20)第四部分命令速查表 (34)第五部分西文字符集1、2 (37)第六部分型号结构和部分说明 (38)第一部分性能指示1、打印方法:直接热敏打印2、打印纸宽: 57.5±0.5mm3、打印密度: 8点/mm,384点/行4、打印头寿命: 6×106字符行5、有效打印宽度: 48mm6、走纸速度:根据打印机电源电压不现而不同。
电压越高,速度越快。
5V直流电源时为30mm/秒7、打印字符: 6*8点阵西文字符集1、2;20h—7fh间的标准ASCII码半角字符。
国标一、二级汉字(16*16点阵、24*24点阵两种,可根据需要选用不同点阵类型的打印机)8、接口形式:并行接口 IDE 26针插座,TTL电平串行接口 IDE 10针插座,232电平或TTL电平9、操作温度: +5~50℃10、操作相对湿度: 10~80%11、储存温度: -20~+60℃炜煌热敏汉字微打使用手册12、储存相对湿度: 10~90%13、电源:直3.5V~9V,2A第二部分操作说明2.1 并行接口连接2.1.1接口与引脚定义本系列打印机并口与CENTRONICS兼容,支持BUSY/ACK握手协议,接口插座为IDE 26针插座。
并行接口插座引脚序号如下图所示:并行接口插座引脚序号IDE 26针并行接口各引脚信号的定义如下图表所示:注: 1.“入”表示输入到打印机。
2.“出”表示从打印机输出。
3.信号的逻辑电平为TTL电平。
炜煌热敏汉字微打使用手册2.1.2 并行接口引脚信号时序并口时序如下图所示:并行接口信号时序图2.1.3 并口例程单片机控制打印机时汇编例程BUSYEQU P3.2 ; 定义BUSY 信号引脚 nSTBEQU P3.7 ; 定义nSTB 信号引脚 PEEQU P3.3 ; 定义纸检测信号引脚 nACK EQU P3.4 ; 定义应答信号引脚BU SY/A CK DA TA /S TB 0.5μS0.5μS 0.5μS 0.5μS0.5μSnERR EQU P3.1 ; 定义错误检测信号引脚nSEL EQU P3.0 ; 定义在线检测信号引脚ORG 0000HJMP startstart: MOV DPTR, #print_contentMOV R0, #9 ; 存待打印数据的字节数main: CLR AMOVC A, @ A + DPTRLCALL PRINTBINC DPTRDJNZ R0, MAINMOV A, #0DHLCALL PRINTBSJMP $ ;打印结束死循环;PRINTB子程序将累加器A中的一字节数据发送到打印机PRINTB:JB BUSY, $ ; 等待打印机到空闲MOV P1 , A ; 送数据到数据口CLR nSTB ; 置nSTB为低电平炜煌热敏汉字微打使用手册NOP ; 延长nSTB信号脉冲宽度以满足时序要求nopnopSETB nSTB ; 置nSTB为高电平(此时数据将被读入打印机)RETprint_content:DB '北京炜煌'DB 0dhEND单片机C51例程// 北京炜煌科技打印机示例程序// Nocky Tian// 2007-07-17#include <reg52.h>// Hardware configuration#define PRINTER_DATA P1 // 定义打印机数据线端口sbit BUSY = P3^2; // 定义打印机忙信号引脚sbit nSTB = P3^7; // 定义打印机nSTB信号引脚sbit PE = P3^3; // 定义打印机纸状态检测信号引脚sbit nACK = P3^2; // 定义打印机应答信号引脚sbit nERR = P3^1; // 定义打印机错误检测信号引脚sbit nSEL = P3^0; // 定义打印机在线检测信号引脚#define CR 0x0d#define LF 0x0avoid PrintByte(unsigned char byte_data);void PrintString(char* str);void PrintByteN(unsigned char* data_src,unsigned char N);void main(void){char str[] = "Printer demo";PrintString("WHKJ Printer");PrintByte(CR);while(1);}/* PrintByte()* Send a byte to printer* Nocky Tian @ 2006-7-17*/炜煌热敏汉字微打使用手册#include <intrins.h>void PrintByte(unsigned char byte_data){while( BUSY == 1 ){}PRINTER_DATA = byte_data;nSTB = 0;_nop_(); // 调整nSTB信号脉宽nSTB = 1;}/* PrintString()* Print a string which is ending with a '\0' character* To Excuted the print command a addition CR character is needed* Nocky Tian @ 2006-7-17*/void PrintString(char* str){while( *str ){PrintByte( *(str++));}}/* PrintByteN()* Print N bytes through printer* no more than 255 bytes could be printed by the function* If more than 255 bytes need printing, the type of N need changing* to unsigned int, even unsigned long if necessary.* Nocky Tian @ 2006-07-17*/void PrintByteN( unsigned char* data_src, // pointer to data sourceunsigned char N) // number of data(byte){while( N--){PrintByte(*(data_src++));}}2.2 串行接口2.2.1串行接口引脚定义本系列打印机串口电平标准为两种:TTL电平与232电平,当设为232电平时,其串口与标准RS-232接口兼炜煌热敏汉字微打使用手册容。
其接口分别如下图所示:说明:图中粗黑线条为短路块,当使用232电平时,T 接口接图所示插上短路块,R 接口为数据线接口;当使用TTL 电平时,R 接口闲置不用,T 接口为数据线接口。
接口引脚定义如下表所示:注: 1.“入”表示输入到打印机; 2.“出”表示从打印机输出2.2.2 修改波特率和通讯模式设置1、按SEL键不放手同时给打印机上电,打印机进入串口设置与打印方向设置状态,并打印出状态设置报告,2、此后,再按SEL键,打印机打印出串口状态设置报告,打印机进入串口设置状态。
3、进入串口设置状态后,由LF键设置切换打印机波特率,每按一次LF键即打印出串口设置状态报告,在1200、2400、4800、9600、和19200 B.P.S.内选择需要的波特率,出厂时设定波特率为9600 B.P.S.。
炜煌热敏汉字微打使用手册4、由SEL键切换设置串行口的工作方式,串行连接为方式1或方式3通信两种,出厂时设定工作方式1。
串行连接采用异步传输格式,如下图所示:串行口工作方式1:一帧信息为10位,1位起始位,8位数据位,1位停止位。
串行口工作方式3:一帧信息为11位,1位起始位,8位数据位,1位校验位,1位停止位。
5、修改完之后需要重新上电启动。
另附改变打印机打印浓度、打印方向的方法:●改变打印浓度操作1、按LF键不放手给打印机上电,打印机打印出打印浓度状态设置报告后,打印机进入打印浓度设置状态。
2、按SEL键,增量调整打印浓度,按LF键,减量调整打印浓度,得到自已满意的浓度后打印机重新上电●改变打印方向操作步骤1、按SEL键不放手同时给打印机上电,打印机进入串口设置与打印方向设置状态(并口打印机没有关于串口设置的提示),并打印出状态设置报告,2、此后,按LF键,打印机打印出打印方向设置报告,打印机进入打印方向设置状态。
3、按LF键,打印机正向打印,按SEL键,打印机反向打印。
得到想要的打印方向后,给打印机重新上电2.2.3 串口例程单片机控制打印机时汇编例程; 北京炜煌串口打印机示例程序; Nocky Tian; 2006-07-18BUSY EQU P3.0 ; 定义BUSY信号引脚ORG 0000HJMP startORG 30hstart: MOV DPTR, #print_contentMOV R2, #77 ; R2保存待打印数据的字节数LCALL SETUART ; 设置串口炜煌热敏汉字微打使用手册main: CLR AMOVC A, @A+DPTR ; 读出待打印字符MOV R0, ALCALL PRINTB ; 打印一个字节INC DPTRDJNZ R2, MAINMOV A, #0DHLCALL PRINTBSJMP $ ;打印结束无限循环;PRINTB子程序将累加器A中的一字节数据发送到打印机; 待发送数据通过R0传递PRINTB: PUSH ACCJB BUSY, $ ; 等待打印机到空闲JNB TI, $ ; 等到上一字节是否发送完,第一个字节发送前要手动置TI,见SETUART了函数CLR TIMOV A, R0 ; 保存待打印数据MOV SBUF, A ; 送数据到打印机POP ACCRET;设置串口子程序;不使用中断, 定时器1用作波特率发生器SETUART: MOV TMOD, #20H ;设置定时器T1工作模式3MOV TH1, #0FAHMOV TL1, #0FAH ; 设置波特率 9600bps @ 22.1184MHz SETB TR1 ; 启动定时器T1MOV SCON, #50H ; 设置串行口工作方式为异步串行口,模式1SETB TI ; 设置标志位,为发送数据作准备RET; 定义待打印数据内容; 保存在程序段print_content:DB '北京炜煌科技微型打印机', 0DH, 'MicroPrinter demo', 0DHDB '画线工具栏',0dhDB '-------------------------'END炜煌热敏汉字微打使用手册单片机C51例程#include <reg52.h>#define uchar unsigned charsbit BUSY=P3^0;// 定义一个发送字节数据到串口的函数void Print_Byte(uchar ch){while(BUSY){}SBUF=ch;while(!TI){}#include <REG52.H>TI=0;}//定义发送一个数组的数据到串口的函数void Print_Array(array,n)uchar array[];int n;{int i;for(i=0;i<n;i++)Print_Byte(array[i]);}//定义一个把字符串送到串口的函数void Print_String(uchar *str){while(*str){Print_Byte(*str++);}}void main(){int i;TMOD=0x20; // 定时器1工作于方式2SCON=0x40; // 串口工作于方式1TH1=0xfa; //装入初值,22.1184MHZ的晶振,9600的波特率TL1=0xfa;PCON=0x00; //波特率无倍增TR1=1; //开启定时器1开始工作Print_Byte(0x1C);炜煌热敏汉字微打使用手册Print_Byte(0x26);Print_Byte(0x00);Print_String("北京炜煌科技发展有限公司");Print_Byte(13);while(1);}2.3 电源连接本系列打印机采用DC 3.5V~9V 2A直流电源,电源插口如下图所示:说明:1接电源正极,2为空脚,3接电源负极。