beautypg.com

Esc * xl xh yl yh dxl dxh dyl dyh – Star Micronics Line Thermal/Dot Printer User Manual

Page 168

background image

Rev. 0.00

3-156

STAR LIne Mode Command Specifications

ESC * xL xH yL yH dxL dxH dyL dyH

[Name] Set page mode print region
[Code]

ASCII

ESC

*

xL xH

yL yH dxL dxH dyL dyH

Hexadecimal

1B 2A

xL xH

yL yH dxL dxH dyL dyH

Decimal

27

42

xL xH

yL yH dxL dxH dyL dyH

[Defined Area]

Thermal

: -

Slip

: 0 ≤ xL ≤ 255, 0 ≤ xH ≤ 2

0 ≤ yL ≤ 255, 0 ≤ yH ≤ 5
0 ≤ dxL ≤ 255, 0 ≤ dxH ≤ 2 (However, 0 ≠ dxL + dxH x 256) 1 ≤ dx ≤ 540 half-dots
0 ≤ dyL ≤ 255, 0 ≤ dyH ≤ 5 (However, 0 ≠ dyL + dyH × 256) 1 ≤ dy ≤ 1408 half-dots

Validation

: 0 ≤ xL ≤ 255, 0 ≤ xH ≤ 2

0 ≤ yL ≤ 255, 0 ≤ yH ≤ 5
0 ≤ dxL ≤ 255, 0 ≤ dxH ≤ 2 (However, 0 ≠ dxL + dxH x 256) 1 ≤ dx ≤ 540 half-dots
0 ≤ dyL ≤ 255, 0 ≤ dyH ≤ 5 (However, 0 ≠ dyL + dyH × 256) 1 ≤ dy ≤ 1408 half-dots

[Initial Value]

Thermal

: -

Slip

: xL = 0, xH = 0, yL = 0, yH = 0, dxL = 28, dxH = 2, dyL = 128, dyH = 5

(X

0

= 0, Y

0

= 0, dx = 540, dy = 1408)

Validation

: xL = 0, xH = 0, yL = 0, yH = 0, dxL = 28, dxH = 2, dyL = 128, dyH = 5

(X

0

= 0, Y

0

= 0, dx = 540, dy = 1408)

[Function]

The following commands are valid only when slip/validation have been selected. Their use is prohib-

ited when thermal has been selected.

,

Set page mode print region

Use the left edge coordinate of the current position when the printer enters page mode as (0,0), and

specify the starting point (X

0

, Y

0

) of the page region using xLxH,yLyH, and specify the length dx of

the X direction using dxL, dxH, and the length dY of the Y direction using dyL, dyH.

Starting Point X

0

= xL (xH x 256) dots

Starting Point Y

0

= yL (yH x 256) dots

Length of Horizontal Direction Dx = dxL + (dxH x 256) dots

Length of Vertical Direction

Dy = dyL + (dyH x 256) dots

If the parameter is out of range, this command is invalid.

This command is stored even in line mode. However, the position when the printer enters page

mode is applied for the reference point (0,0).

Expansion of print data into the page is performed using the bottom edge of the characters as the

base line, so a print region higher than the minimum of 9 dots is necessary for the height direction of

the characters. (When using vertical double tall expanded characters, it is necessary to execute an

extra paper feed in advance.)

Paper Feed Direction

Print Region

Current Positon(0,0)

(X0, Y0)

Dx

Dy