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-29 PN: 9001158B
CODE128
FUNCTION
Specifies CODE128 barcode.
FORMAT
<ESC>BGaabbbn~n
a = Narrow bar width (01 to 12 dots)
b = Barcode height (001 to 999 dots)
n = Print data (barcode data)
Place anywhere after <ESC>V but before <ESC>Q.
EXAMPLE
<ESC>H0200<ESC>V0550<ESC>BG03100>GAB>B789>C123456
<ESC>H0310<ESC>V665<ESC>XSAB789123456
OUTPUT
(4-19)
NOTES
Specify Start Code at the head of the data.
(1) Start Code A = <ESC>G
(2) Start Code B = <ESC>H
(3) Start Code C = <ESC>I
When using “Start Code C”, specify the print data in even numbered digits.
When the print data contains an odd number of digits, specify “Start Code A” or B” to change the first
character of the print data.
Examples:
1) 15 digits [123456789012345]
<ESC>B1>C23456789012345
2) 9 digits/Alphanumeric 6 digits [123456789ABC123]
>C12345678>B9ABC123
If using “Start Code C” to specify an odd numbered digit, “0” will be added to the end of the print data
before printing.
When a Start Code is omitted, data will be printed with “Start Code B”.
Refer to Appendix: Reference Table 12 for additional information.