Technical data
Table Of Contents
- 0. i Cover B
- 0. i Copyright B
- 0. i TOC B
- 1. i Introduction B
- 2. i Programming Concepts B
- 3. i Code Quick Reference B.backup
- 4. i Standard Command Codes B
- 5. i Optional Command Codes B
- 6. i Bi-Directional Communications B
- 7. i Appendix B
- 7
- appendix
- custom graphics
- CUSTOM GRAPHICS EXAMPLE
- 1. Determine the matrix size for the graphic. It must be in 8 dot by 8 dot blocks. The example here has six blocks horizontally and six blocks vertically (48 x 48).
- 2. Lay out a grid and draw the image on the grid.
- 3. Transfer the image into a bit map representation and then into hexadecimal format:
- 4. Using the hexadecimal data, send the following code to print the graphic image as designed.
- 5. To send the data in binary format, the software must convert the data into binary format before transmitting it to the printer. Using the BASIC programming language for example, this is done by notation “CHR$ (&HC0)” which sends the hexidecima...
- PCX GRAPHICS EXAMPLE
- CUSTOM GRAPHICS EXAMPLE
- printer configuration commands
- reference tables

Unit 4: Standard Command Codes
“i” Programming Reference
4-37 PN: 9001158B
EXAMPLE
Error Correction Level: 7%
Cell Size on One Side: 05
Data Setting Mode: Manual
Concatenation Mode: Normal
Example 2D30:
<ESC>A
<ESC>H0100<ESC>V0100
<ESC>2D30,L,05,0,0
<ESC>DS1,012345
<ESC>Q2
<ESC>Z
Example 2D31:
<ESC>A
<ESC>H0100<ESC>V0100
<ESC>2D31,a,bb,c,d
<ESC>DS3,n-n
<ESC>DNmmmm,n-n
<ESC>DS1,n-n
<ESC>Q1
<ESC>Z
OUTPUT
(4-25)
NOTES
Data portions or commands (DX commands) must be specified after the parameter portions (2D3x). In
the same manner, specify data parts one after another. The total data quantity in this specification must
be less than 7000 bytes and a maximum of 200 data blocks in data part can be consecutively specified.
Refer to Appendix: Reference Tables 17 and 18 for additional information.
QR CODE