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 6: Bi-Directional Communications
“i” Programming Reference
6-9 PN: 9001158B
SYSTEM VERSION INFORMATION (SB)
Receipt of SOH followed by SB causes the printer to return information bounded by an STX-ETX pair that reports
the system version of the printer.
Figure 6-6, Return Status/Format Diagram
MEMORY STATUS (EB)
Receipt of SOH followed by EB causes the printer to return information bounded by an STX-ETX pair that reports
the current user memory allocation.
Figure 6-7, Return Status/Format Diagram
SB RETURN STATUS TABLE
NUMBER ITEM CONTENT BYTES
1 Printer FW Version ASCII 16
2 Font Version ASCII 8
3 Reserved, HEX 20H fixed ASCII 26
EB RETURN STATUS TABLE
NUMBER ITEM CONTENT BYTES
1 Font Empty Area Binary 4
2 Font Total Area Binary 4
3 Format Empty Area Binary 4
4 Format Total Area Binary 4
5 Graphic Empty Area Binary 4
6 Graphic Total Area Binary 4
STX ETX
52 Bytes
RETURN STATUS/FORMAT
PRINTER FW RESERVEDFONT
STX ETX
26 Bytes
RETURN STATUS/FORMAT
FONT EMPTY
AREA
FORMAT
TOTAL AREA
FONT TOTAL
AREA
FORMAT
EMPTY AREA
GRAPHIC
EMPTY AREA
GRAPHIC
TOTAL AREA