在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → 斑马打印机通讯协议

斑马打印机通讯协议

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:1.44M
  • 下载次数:16
  • 浏览次数:619
  • 发布时间:2020-08-06
  • 实例类别:一般编程问题
  • 发 布 人:robot666
  • 文件格式:.pdf
  • 所需积分:2
 

实例介绍

【实例简介】
打印机通讯协议
Proprietary Statement This manual contains proprietary information of Zebra Technologies Corporation. It is intended solely for the nformation and use of parties operating and maintaining the equipment described herein. Such proprietary information may not be used, reproduced, or disclosed to any other parties for any other purpose without the expressed written permission of Zebra Technologies Corporation. Product Improvements Continuous improvement of products is a policy of Zebra Technologies Corporation. All specifications and signs are subject to change without notice Liability Disclaimer Zebra Technologies Corporation takes steps to assure that its published Engineering Specifications and Manuals are correct; however, errors do occur. Zebra Technologies Corporation reserves the right to correct any such errors and disclaims liability resulting therefrom No Liability for Consequential Damage In no event shall Zebra Technologies corporation or anyone else involved in the creation, production, or de- formation, or other pecuniary loss) arising out of the use of or the results of use of or inability to use such w livery of the accompanying product (including hardware and software) be liable for any damages whatsoeve (including, without limitation, damages for loss of business profits, business interruption, loss of business product, even if Zebra Technologies Corporation has been advised of the possibility of such damages. Be cause some states do not allow the exclusion or limitation of liability for consequential or incidental dam ages, the above limitation may not apply to you Copyrights This copyrighted manual and the label printers described herein are owned by Zebra Technologies Corporation All rights are reserved. Unauthorized reproduction of this manual or the software in the label printer may result in imprisonment of up to one year and fines of up to $10,000(17 U.SC506). Copyright violators may be sub IBM is a registered trademark of IBM Corporation and True Type is a registered trademark of Apple com- puter. Inc Zebra", Stripe, ZPL, and ZPL II are registered trademarks of Zebra Technologies Corporation All other brand names, product names, or trademarks belong to their respective holders o Zebra Technologies Corporaliull, 1998 Contents Chapter 1 Introduction to zPl ll Scope of This manual Zebra Programming language II(ZPL II Why ZPL II and How it Differs from Standard zPL Working with Examples Chapter 2 ZPL I Basics More information about ZPL II Format Instructions 7 Control instructi Prefix Rules and Syntax for Control and Format Instructions...., 8 An Example of a Basic Label Zebra fonts Understanding Bitmapped Font Magnification Factors 12 Font selection 12 Proportional spacing Bitmap Font size 13 i CONTENTS Differences Between Download Scalable Fonts and Bitmap Fonts 14 Downloadable scalable fonts 15 Bar Codes Basic format for bar codes 16 Bar Code field Instructions Further ZPL lI Basic Concepts Introduction to Device names 20 Introduction to ZPL Il Object Names and extensions Using Device and Object Names with ZPL II Instructions 22 Chapter 3 ZPL II Printer Configuration Print 25 Media Tracking 25 Media Type 26 Media darkness 26 Label Top position 27 Set Media Sensors Mode protecti Reprint After Error 27 Configuration Update Set ZPL 28 Setting up customized configuration Formats 28 C hapter 4 ZPL II Programming Exercises -Exercise #1-Saving Label Formats as Graphic Images......... 33 >Exercise #2-Downloading and Printing Graphic Images 36 >Exercise #3-Printing Quantities of Labels Printing Entire Label in Inverted Orientation Sctting the Print Rate and Suppressing Backfccd CONTENTS iii > Exercise #4-Slew Instruction. Form Feed Instruction and Printing Entire Formats in Reverse > Exercise #5-Using Serialized Fields 48 Exercise #6-Stored Formats 51 )Excrcisc #7-Erasing Stored Formats 55 >Exercise #8-Using Variable Data Fields 58 Exercise #9-Graphic Boxes, Graphic Symbols and Multiple elements on one labe .63 >Exercise#10-Deleting Graphic Images 68 Chapter 5 ZPL II Advanced Techniques Special Effects for Print Fields Reverse printing a field 71 Reverse Printing a Label Printing a mirror Image Printing a Label Inverted 180 Degrees 72 Serialized data Variable data 72 Stored formats Initialize/Erase Stored Formats Download format instruction Field number instruction 73 Field Allocate Recall Stored Format Instruction More Examples of Using Stored Format Control instructions 75 Test and setup Instructions Calibration and media Feed Instructions 76 Cancel/clear Instructions 77 Printer control instructions Limitations of higher Print Speed iV CONTENTS Set Dots/millimeter Changing Delimiters and Instruction Prefixes 79 Communication Diagnostics Instructions 79 Host status instructions 79 Host identification Print Configuration Label Start print 80 Networking 80 Assigning Network IDs/Chaining Multiple printers 80 Connecting Printers into the Network(if they already have network IDs)81 Graphic Instructions Boxes and lines 82 Working with Hex Graphic Images 82 Alternative Data Compression Scheme for -DG and-DB Instructions....83 Rccalling a hexadecimal graphic Image ..84 mage ve 84 Working with Label Formats as Graphics 84 Reducing download Time of graphic Images 85 Transferring Objects Between Storage Devices Deleting graphics from memory Deleting all Graphic Images from DRaM Defining and Using the AUTOEXEC. ZPL Function 87 Memory, Flash Cards, Font Cards 88 Memory Status Linc............ .89 Shortcuts and Alternate Schemes for Writing ZPL II Scripts 90 Font shortcuts Command reference ZPL I Command reference Introduction 95 Using the ZPL Il Command reference 95 CONTENTS V Appendix a ZPL II Command Quick Reference Chart 339 Appendix B AsCII Code chart 345 Appendix c Mod 10 check Digit 347 Appendix d Mod 43 Check digit 349 Appendix e Fonts and font matrices 351 ppendix F Code page 850 Chart 355 Appendix G Error detection Protocol Introduction 359 What is a Protocol 359 vi CONTENTS How Protocol works 359 Request Packet Formats(from the Host computer) 360 Response from the zebra printer .362 ebra Packet Response 363 Disguising Control Code Characters .365 Rules for transactions 366 Error Detection Protocol Application 366 Activating the Protocol Setting Up Communications 366 Setting the Printer id number 366 Error Conditions and System faults 367 Restarting a transmission 367 CRC Error Conditions and responses 367 Time-Out Error Conditions and responses 368 How the Zebra Printer processes a request packet 369 How the Zebra Printer responds to host status.......... 370 Code for Calculating the CrC for the Zebra protocol 37 Glos ZPLII and bar code industry terms 379 Index 381 CHAPTER 1 Introduction to zpl I Scope of This Manual This manual is a guide to the functions and features of the Zebra Programming Language II(ZPL ID). This manual is effective for the firmware versions listed below and all firmware versions prior to the 14.8.0 Zebra 105S and S500 printers l8.8.0 Zebra 90Xill, 140Xill, 170Xill 220Xill printers 218.0 Zebra 105Se 160S printers 228.6 Zebra Z Series printers 23.8.2 Zebra 1300 printers 258.2 Zebra A300 printers 268.0 Zebra Pa400 printers Zebra Programming Language I(zPL D) Zebra Programming Language II(ZPL ID is a high-level label defini- tion and printer control language. Labels may bc dcfincd in ZPL II Language and generated by a host computer system.A commercia label preparation system or a software package which automatically gcncratcs ZPL lI Codc may also be used. For information about labcl preparation systems, consult your distributor, systems integrator, or computer software vendor Why ZPL ll and How it Differs from Standard ZPL The primary reason for the development of zpl ii was to sub stantially reduce the time between when a printer begins receiving label format data and when the first label begins to print. This was accomplished primarily by changing the way ZPl scripts are written 【实例截图】
【核心代码】

标签:

实例下载地址

斑马打印机通讯协议

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警