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-19 PN: 9001158B
FONT COMMANDS
FONTS: OA, OB, XB, XL, XS, XM, XU
FUNCTION
To print text images on a label. These are eight of the built-in fonts available on the printer. All matrices
include descenders.
FORMAT
Font XB: <ESC>XB Font XL: <ESC>XL
Font XU: <ESC>XU Font OA: <ESC>OA
Font XS: <ESC>XS Font OB: <ESC>OB
Font XM: <ESC>XM
Place preceding the data to be printed.
EXAMPLE
<ESC>A
<ESC>PS
<ESC>H0001<ESC>V0100<ESC>L0202<ESC>XUSATO
<ESC>H0001<ESC>V0175<ESC>L0202<ESC>XSSATO
<ESC>H0001<ESC>V0250<ESC>L0202<ESC>XMSATO
<ESC>H0001<ESC>V0325<ESC>L0101<ESC>OASATO
<ESC>H0001<ESC>V0400<ESC>L0101<ESC>OBSATO
<ESC>Q1<ESC>Z
OUTPUT
(4-14)
NOTES
Characters may be enlarged through the use of the Character Expansion command and character
spacing may be altered through the use of the Character Pitch command. The default is 2 dots
between characters. Custom characters or fonts may also be created - refer to Custom-Designed
Characters (<ESC>T) command.
It is recommended to use a spacing of 5 dots for OCR-A and 1 dot for OCR-B. The matrices for the OA
and OB fonts are scaled so that they will remain a constant size according to the OCR-A and OCR-B
specifications when printed on different resolution printers.
The proportionally spaced fonts XU, XS, XM, XL and XB can be printed with fixed spacing using the
(<ESC>PR) command.
Refer to Appendix: Reference Tables 1 through 7 for additional information.