Download Print this page

Custom Engineering TP 2000 User Manual page 14

Advertisement

COMMANDS
ASCII
ESC @
Hex
1Bh + 40h
Description
Reinitializes the printer
When this command is received, the printer resets and all default parameters are
restored. Equivalent to turning the machine off and then on again.
ASCII
ESC *
Hex
1Bh + 2Ah + m + n1 + n2 + data
Description
Prints in image mode
Prints a line in image mode. After this command has been received, the machine waits
for the reception of (n2*256)+n1 bytes. The maximum number of dots per line is 210.
A line printed in image mode is 8 dots high. Parameter <m> is a byte included for
eventual future expansion which is not used and can therefore have any value.
Example:
To print a solid line 8 dots high and 210 dots long
<1Bh> <2Ah> <00h> <D2h> <00h> (210 * <FFh>)
ASCII
ESC K
Hex
1Bh + 4Bh + n1 + n2 + n3 + n4 + n5 + data
Description
Prints a graphic image
This command allows for the printing in image mode of a graphic ((n4*256)+ n3) wide,
n5 lines high and with a border offset of ((n2*256)+n1) dots. The number of dots per
line is 210 and anything over this amount is read but not displayed. Therefore, it is
important to make sure that the margin offset plus line length does not exceed the
maximum allowed.
Example:
To print a square 80*80 dots, 100 dots from the border
<1Bh> <4Bh> <00h><64h> <00h><50h> <0Ah> (800 * <FFh>)
dots offset 80 dots 80/8 data bytes
ASCII
ESC r
Hex
1Bh + 72h + n
Description
Sets print color ( only in the two-color model )
When this command is received, the ribbon color changes.
The color is determined by n:
length height (len * ht)/8
n = 0 Black
n = 1 Red
14
TP 2000

Advertisement

loading
Need help?

Need help?

Do you have a question about the TP 2000 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel