
36
Programming
Software Command Syntax
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
Black Mark (Top-Of-Form) Commands
See also Aligning Preprint and Thermal Print on page 89.
ESC #
Hex
decimal
Calibrate Blackmark Sensor
Refer to TTP 2000 Technical Manual (Zebra part number P1002902) for correct format.
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.
Note • Be sure to first set up the length of the black mark and the distance between two black marks in the parameter setup.
ESC # is available in hardware revision B or higher.
| ESC Z | Go to next Top of Form | |
1B | 5A | Hex | |
27 | 90 | Decimal |
|
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, the printer stops and bit 3 in status byte 2 is set to 1 (See ESC ENQ 6 page 59).
When black mark mode is disabled, ESC Z will perform a form feed without cut (disregarding the setting of parameter 34 on page 80).
| TTP 8000 Technical Manual | 10/19/2009 |