
Page Setup
Parameters Used
106
P1003640-001 TTP2100 Technical Manual 10/22/2008
FF (Form Feed)
Use FF to print the buffer content, go to the next top of form (black-mark), and cut the paper.
ESC Z (Go To Next Top of Form)
Use ESC Z to move the paper to the next top of form. This is practically a Form-Feed without
printing and cut. It searches for the next black-mark for maximum one page length + black-
mark length (256 x n37+n38 + n39)/8. An additional length of 20mm is added to be sure to
pass the edge of the next black-mark. If there is no black-mark within the set distance plus
20 mm, an error is raised.
The commands are used together in the following way:
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→”.
When setting up the printer:
Send→ ESC & P 35d 1d Enables black-mark sync
Send→
ESC & P 37d 4d Sets distance between two black-marks
Send→
ESC & P 38d 0d n37=4d and n38=0d gives 128 mm
Send→
ESC & P 39d 80d Sets max Black-mark to 80 x 0.125 = 10mm
Send→
ESC & P 40d 24d Sets max Black-mark to 24 x 0.125 = 3 mm
Send→
ESC & P 41d 0d
Send→ ESC & P 42d 200d Sets Black-mark offset to 200 x 0.125 = 25mm
Send→
ESC & P 43d 0d
Send→ ESC & P 44d 0d Sets Black-mark top margin to 0mm
Send→
ESC & 4d Stores the above parameters as default parameters.
The above set up and stores the parameters in the EEPROM of the printer, so this needs only
be sent once to the printer when setting it up for Black-mark sync.
Document:
Send→ the text and graphics
At the end of the document:
Send→ ESC Z Feeds the printout to the next black-mark + the additional feed specified by
the ESC x command.
Send→ RS Cuts and ejects the printout.
Comentários a estes Manuais