
48
Programming
Text Commands
Print commands
ESC p
1B 70 | Hex |
27 112 | Decimal |
This command makes the printer print the contents of the line buffer.
Text is converted from text to pixel lines and stored in the line buffer when an <LF> is received. If the line buffer is empty when <ESC>p is received, nothing is printed.
Text to be printed <LF><ESC>p prints "Text to be printed" on the paper.
Printout occurs automatically at:
Cut | <RS> and <ESC><RS> |
Form feed | <FF> |
Clear presenter | <ENQ> |
Run presenter | <ESC><FF><n1> |
Print buffer full |
|
|
|
Press on Feed |
|
button |
|
|
|
ESC P n1 | Print | |
1B 50 n1 | Hex | |
27 80 n1 | decimal |
|
This command makes the printer generate a
n = 0
n = 1
Gives standard
Gives a character set printout using the font selected by parameter p14.
ESC Q |
| Quick Advance | |
1B 51 | n1...n2 | hex | |
27 81 | n1...n2 | Decimal |
|
The value n1 n2 represents high byte and low byte of the number of dot lines the paper is to be transported forwards. Minimum value is 0, and maximum value is 32767.
•For 203 dpi printers, a dot line is 0.125 mm, and 32767 equals approximately 4.1 m.
•For 300 dpi printers, a dot line is 0.0833 mm, and 32767 equals approximately 2.7 m.
•For 203 dpi printers a dot line is 0.125 mm, and 255 dot lines equal approximately 32 mm.
•For 300 dpi printers, a dot line is 0.0833 mm, and 255 dot lines equal approximately 21.25 mm.
| TTP 8000 Technical Manual | 10/19/2009 |