Zebra 01407-000 ユーザーズマニュアル

ページ / 116
65
Aligning Preprint and Thermal Print
Commands Used with the Black-mark
03/03/2009
TTP 1020™/TTP 1030™ Technical Manual
P1003643-001
Example • 
The following examples are not made for a specific programming language or 
editor, but can be implemented with the tools of your choice. The data sent to the printer are 
marked with “Send
→”.
The commands are used together in the following way:
When setting up the printer:
Set parameter No. 22 in the startup parameter settings to "1" to synchronize the cut with the 
black mark at power on. 
Send
→ ESC M <max><min> Where max is the max black-mark length in dots (1/8 mm). 
Omit this command if you use 5-mm black-mark size.
Send
→ ESC x <n1><n2> Where n1 and n2 is MSB and LSB of to feed between the black 
mark detection and the cut (in 1/8 mm steps). 
Send
→ ESC & 4 Stores the above parameters as default parameters (only TTP 1030).
Document:
Send
the text and graphics 
At the end of the document:
Send
→ ESC Z Feeds the receipt to the next black-mark + the additional feed specified by the 
ESC x command.
Send
→ RS Cuts and ejects the receipt.
or
Send
→ ESC X <n1><n2> Where n1 and n2 is MSB and LSB of the search length in dots 
(in 1/8 mm steps). This search length should be at least twice the distance from the end of 
one black-mark to the end of the next.
Send
→ RS Cuts and ejects the receipt.