Print commands, Esc p, Esc p n1 – Zebra Technologies TTP 8000 User Manual

Page 48: Esc q

Advertising
background image

Programming
Text Commands

48

P1003638-003

TTP 8000 Technical Manual

10/19/2009

Print commands

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:

This command makes the printer generate a self-test page based on the current parameter
settings and print that page. The parameter values printed are the ones currently being used.
They can differ from Power-ON default values if for example a printout from Windows has
been done before ESC P is sent to the printer. To make a self test printout with the Power-ON
default settings, power up the printer with the Feed button pressed.

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.

ESC p

Print

1B 70

Hex

27 112

Decimal

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 Self-test Printout

1B 50 n1

Hex

27 80 n1

decimal

n = 0

Gives standard self-test printout.

n = 1

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

Advertising