
92
Page Setup
Parameters Used
Example • The commands are used together in the following way:
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<35><1> | Enables black mark sync |
Send→ <ESC>&P<37><4> | Sets distance between two black marks |
Send→ <ESC>&P<38><0> | n37=4d and n38=0d gives 128 mm |
Send→ <ESC>&P<39><80> | Sets max Blackmark to 80 x 0.125 = 10mm |
Send→ <ESC>&P<40><24> | Sets max Blackmark to 24 x 0.125 = 3 mm |
Send→ <ESC>&P<41><0> |
|
Send→ <ESC>&P<42><200> | Sets Blackmark offset to 200 x 0.125 = 25mm |
Send→ <ESC>&P<43><0> |
|
Send→ <ESC>&P<44><0> | Sets Blackmark top margin to 0mm |
Send→ <ESC>&<4> | Stores the above parameters as default parameters. |
The above sets up and stores the parameters in the flash prom of the printer, so this need only be sent once to the printer when setting it up for Blackmark sync.
Document
Send→ | the text and graphics |
|
|
At the End Of the Document
Send→ <ESC>Z | Feeds the printout to the next |
| specified by the ESC x command. |
Send→ <RS> | Cuts and ejects the printout. |
| TTP 7030™ Technical Manual | 10/05/2009 |