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-10 PN: 9001158B
ROTATE, FIXED BASE REFERENCE POINT
FUNCTION
To rotate the print direction in 90° increments without changing the location of the base reference point.
The diagram below illustrates the use of the Rotate (<ESC>%) command. Note that the entire print
area is shown, but your label will probably not be as large as the entire area.
FORMAT
<ESC>%a
a = 0: Sets print to normal direction
1: Sets print to 90°CCW
2: Sets print to 180° rotated (upside down)
3: Sets print to 270° CCW
Place preceding any printed data to be rotated.
EXAMPLE
<ESC>A
<ESC>%0<ESC>L0202<ESC>H0200<ESC>V0100<ESC>XMNORMAL DIRECTION
<ESC>%1<ESC>H0200<ESC>V0300<ESC>XMONE
<ESC>%2<ESC>H0200<ESC>V0400<ESC>XMTWO
<ESC>%3<ESC H0200<ESC>V0500<ESC>XMTHREE
<ESC>Q1
<ESC>Z
OUTPUT
(4-5a)
NOTES
The specified values are valid until another Rotate (<ESC>%) command is received. Receipt of a Stop
Print (<ESC>Z) command will reset the setting to the default value of 0%.
(4-5b)