PPTII-A Programming Manual
www.hprt.com
20
ESC V n
[Name]
Turn 90° clockwise rotation mode on/off
[Format]
ASCII
ESC
V
n
Hex
1B
56
n
Decimal
27
86
n
[Range]
0 ≤ n ≤ 1, 48 ≤ n ≤ 49
[Dscription]
Set the print direction and starting position in page mode specified by n as shown
bellow.
n
Function
0, 48
Turn 90° clockwise rotation mode off
1, 49
Turn 90° clockwise rotation mode on
[Notes]
1) This command is effective only in standard mode.
2) When choosing underline mode, underline cannot clockwise 90 degrees.
3) When 90°clockwise rotation mode is on, the direction of double height and double
width reverse to that in normal mode (90°clockwise rotation mode is off).
[Default]
n=0
ESC W xL xH yL yH dxL dxH dyL dyH
[Name]
Set printing area in page mode
[Format]
ASCII
ESC
W xL xH yL yH dxL dxH dyL dyH
Hex
1B
57 xL xH yL yH dxL dxH dyL dyH
Decimal 27
87 xL xH yL yH dxL dxH dyL dyH
[Range]
0 ≤ xL, xH, yL, yH, dxL, dxH, dyL, dyH ≤ 255
(except for dxL= dxH=0 or dyL= dyH=0)
[Dscription]
Set the size and position of the printing area in page mode as follows:
Horizontal starting position: x0= [( xL + xH × 256) × 0.125mm]
Vertical starting position: y0 = [( yL + yH × 256) × 0.125mm]
Printing area width: dx = [ (dxL + dxH × 256) ×0.125mm]
Printing area height: dy = [ (dyL + dyH × 256) ×0.125mm]
[Notes]
•This command is processed in standard mode to set an activated internal flag so that
don't influence printing.
• The printer stop processing this command once horizontal starting position or vertical
starting position ran out of the printing area, the subsequent data are processed as
normal one.
• The printer stop processing this command once printing area width or height was set
to 0, the subsequent data are processed as normal one.
• This command confirms the current printing position with command ESC T.
•The default set of printing area width is horizontal printable width - horizontal starting
position if the value of horizontal starting po printing area width was beyond
printable area.
• The default set of printing area height is vertical printable height - vertical starting
position if the value of vertical starting po printing area height was beyond
printable area.
• The default settings of the horizontal and vertical motion units are 0.125mm.
•Assuming horizontal starting position, vertical starting position, printing area width
and printing area height X, Y, Dx, Dy, set the printing area as shown below:
Содержание PPTII-A
Страница 47: ...PPTII A Programming Manual www hprt com 47...
Страница 48: ...PPTII A Programming Manual www hprt com 48...
Страница 49: ...PPTII A Programming Manual www hprt com 49...
Страница 52: ...PPTII A Programming Manual www hprt com 52...