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-49 PN: 9001158B
SERIAL INTERFACE, CONFIGURATION
FUNCTION
Allows configuration of the IrDA Interface.
FORMAT
<ESC>I2abcde
a = Baud rate
1: 9600 bps
2: 19200 bps
3: 38400 bps
4: 57600 bps
5: 115200 bps
b=Parity
0: None
1: Odd
2: Even
c = Transmission timeout in seconds
00 to 05: 5
06 to 99: 6 to 99
d = Transmission protocol
0: Standard
1: BHT
2: IrCOMM
3: IrOBEX
e=Reserved
0: Fixed
Place in separate data stream sent to the printer.
EXAMPLE
<ESC>A
<ESC>I2105000
<ESC>Z
OUTPUT
This command does not result in printer output.
NOTES
Use this command with a <ESC>A and <ESC>Z separately. This command cannot be used in
conjunction with other commands.
Settings can be confirmed by performing a test print.
This command becomes valid when the printer is powered on again.
Transmission timeout is only valid for standard and BHT protocols. For protocols other than specified,
this function will be ignored.
Control flow is only valid for IrCOMM protocol. For protocols other than specified, this function will be
ignored.
The default settings are as follows: baud rate, 19200 bps; transmission timeout, 5 seconds;
transmission protocol, standard; flow control, nil.