Software command syntax, Black mark (top-of-form) commands, Esc z – Zebra Technologies TTP 7030 User Manual

Page 33

Advertising
background image

33

Programming

Software Command Syntax

10/05/2009

TTP 7030™ Technical Manual

P1003636-002

Software Command Syntax

The commands in this section are grouped after what they do, and these groups are sorted in a
theoretical usage sequence. It starts with commands for specifying the printed page — through
text-and-graphics commands — to cut-and-present commands. System and status commands
are presented at the end.

Page Setup

Page setup is performed with parameters instead of dedicated commands. This makes it
possible to store the setup in the non-volatile parameter memory. To minimize doubling of
functions the page setup commands have been removed from this manual. The parameters to
use are described under

Printable Area on page 86

.

Black Mark (Top-Of-Form) Commands

See also

Aligning Preprint And Thermal Print on page 87

.

Looks for a black mark, measures the contrast of the mark and sets parameter n51 to a suitable
value for the detected voltage, then reverses to the start position.

To make the calibration permanent, send <ESC>&<4>, store parameter values.

ESC # is available in hardware revision B or higher.

In black mark mode,

an <

ESC>Z

starts looking for a black mark at the current position and

continues for one page length. If no black mark is found, bit 3 in status byte 1 is set to 1 and
the printer will report NAK 0A on the next status query.

When black mark mode is disabled,

<

ESC>Z

will perform a form feed without cut

(disregarding the setting of parameter 34).

ESC #

Calibrate Blackmark Sensor

1B 23 n1

Hex

27 35 n1

decimal

Important •

Be sure to first set up the length of the black mark and the distance between two

black marks in the parameter setup.

ESC Z

Go to next Top of Form

1B 5A

Hex

27 90

Decimal

Advertising