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-3 PN: 9001158B
RETURN STATUS
The printer’s status and response will be returned to the host through this interface protocol by receiving two
command types; the status request and print commands.
STATUS REQUEST COMMAND
When this command is received, the Job ID Number of the receive data under print, the printer status, and the
remaining print numbers will be returned to the host. When printing is complete, all “0” (HEX 30H) will be returned.
This also applies to receive numbers when receive data is not available.
When the Job ID Number (<ESC>ID) is not specified, the Job ID Number will return a space (HEX 20H).
NOTE: Do not send an status request (ENG) when sending print data (STX
<ESC>A<ESC>Z ETX) or status return may not be performed and printed as usual.
CONTENT ASCII HEX
OFFLINE
STATE
No error 030
Battery near end 131
Buffer near full 232
Battery near end & buffer near full 3 33
ONLINE
STATE
Wait to receive
data
No error A 41
Battery near end B 42
Buffer near full C 43
Battery near end & buffer near full D 44
Printing
(*1)
No error G 47
Battery near end H 48
Buffer near full I 49
Battery near end & buffer near full J 4A
Standby
(Wait to
Dispense)
(*2)
No error M 4D
Battery near end N 4E
Buffer near full O 4F
Battery near end & buffer near full P 50
Analyzing/Editing
No error S 53
Battery near end T 54
Buffer near full U 55
Battery near end & buffer near full V 56
ERROR
DETECTION
Buffer over a61
Not used b62
Paper end c63
Battery error d64
Not used e65
Sensor error f66
Head error g67
Cover open h68
Not used i69
Not used j6A
Other errors k6B