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-17 PN: 9001158B
PRINT POSITION COMMANDS
MEDIA SIZE
FUNCTION
To set the size of the media.
FORMAT
<ESC>A1aaaabbbb
aaaa = Label Height in dots (0 to Vmax)
bbbb = Label Width in dots (0 to Hmax)
Place in a separate data stream to the printer.
INPUT
<ESC>A
<ESC>A00800384
<ESC>Z
OUTPUT
This command does not result in printer output. It is used to automatically adjust the offset values for
the size of label being used. The sample command stream specifies a label 384 dots wide by 80 dots
long.
(4-12)
NOTES
The Base Reference point is always the on the right (looking at the front of the printer) side of the print
head. This command adjusts the Base Reference Point to correspond with the right edge of the loaded
media.
If the label size is changed, then this command must be respecified to center the print image on the
label.
All eight variables “aaaa” and “bbbb” must be included in this command.
LABEL
Label Width
Label Length