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-7 PN: 9001158B
MODIFICATION COMMANDS
CHARACTER, EXPANSION
FUNCTION
To independently expand characters in both the horizontal and vertical directions. The command allows
enlargement of the base size of each font up to 12 times in either direction.
FORMAT
<ESC>Laabb
aa = Multiple to expand horizontally (01 to 12)
bb = Multiple to expand vertically (01 to 12)
Place preceding the data to be expanded.
EXAMPLE
<ESC>A<ESC>H0100<ESC>V0100<ESC>XMSATO
<ESC>H0100<ESC>V0200<ESC>L0402<ESC>XMSATO
<ESC>H0100<ESC>V0300<ESC>L0204<ESC>XMSATO
<ESC>Q1
<ESC>Z
OUTPUT
(4-1)
NOTES
Expanded characters are typically used with this command for added emphasis or for long distance
readability. This command will expand the following fonts: Fonts XU, XS, XM, OA & OB, and fonts WB
& XL.
This command will also affect the following commands: Character Pitch, Custom-Designed characters.
The Character Expansion value is in effect for the current print job until a new expansion command is
specified.
The Line and Box command, if used within the data stream, may return all subsequent text to the
default expansion of 1 x 1. Therefore, either send the Character Expansion command before all printed
data, or send Line and Box commands last, preceding the Quantity (<ESC>Q) command.