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-9 PN: 9001158B
CHARACTER, FIXED SPACING
FUNCTION
To reset proportional spacing and place the printer back to fixed spacing.
FORMAT
<ESC>PR
Place preceding the fixed space data.
EXAMPLE
<ESC>A
<ESC>H0100<ESC>V0050<ESC>PS
<ESC>L0202<ESC>XMPROPORTIONAL SPACING
<ESC>H0100<ESC>V0180<ESC>PR
<ESC>L0202<ESC>XMFIXED SPACING
<ESC>Q1
<ESC>Z
OUTPUT
(4-3)
NOTES
This command only works with proportionally spaced fonts: XU, XM, XS, XL and XB.
CHARACTER, PROPORTIONAL SPACING
FUNCTION
To specify the printing of proportional or fixed spacing for proportionally spaced fonts.
FORMAT
<ESC>PS Set to proportional spacing Reset to fixed spacing.
Place preceding the data to be proportionally spaced.
EXAMPLE
<ESC>A
<ESC>H0025<ESC>V0050<ESC>PS
<ESC>L0202<ESC>XMPROPORTIONAL SPACING
<ESC>Q1
<ESC>Z
OUTPUT
(4-4)
NOTES
Once this command is sent in the data stream, it is in effect until the end of the print job unless a
<ESC>PR command is sent.