Zebra Technologies TTP 2000 Photo Scanner User Manual


 
Programming
Software Command Syntax
52
P1002902-002 TTP 2000 Technical Manual 09/14/2009
Prints a ruler line across the paper.
A ruler line is normally used to divide the printout into logical parts to make it easier to read. A
ruler line is actually an area defined by a start X-Y position and a stop X-Y position. This area
is filled with black or a checkered pattern.
Figure 26 • Printout with Checkered Ruler Line
ESC r n1...n9
Print Ruler Line
1B 72 n1...n9 hex
27 114 n1...n9 decimal
n1n2 Two byte definition of the X print position to start the ruler line (in pixels)
n3n4 Two byte definition of the Y print position to start the ruler line (in pixels)
n5n6 Two byte definition of the X print position to stop the ruler line (in pixels). This
value must be larger than the X start position.
n7n9 Two byte definition of the Y print position to stop the ruler line (in pixels). This
value my be larger than the Y start position.
n9 Specifies the fill pattern. The valid range is 0 to 3. 0 is black and 1-3 are various
checkered patterns. Values out of range are interpreted as 0.
Note • The Y print-position and horizontal/vertical orientation only works if Fixed
Document Mode is set. See
Parameter n36 — Document Mode on page 104.
<ESC>r<0><0><0><0><1><193><0><24><3>
X start Y start
X stop Y stop
Fill:
0=black
1=fine
2=medium
3=coarse
SW99006B