beautypg.com

Star Micronics Star SCP700 Series User Manual

Page 76

background image

72

“*”

X

L

X

H

Y

L

Y

H

dX

L

dX

H

dY

L

dY

H

1B

2A

X

L

X

H

Y

L

Y

H

dX

L

dX

H

dY

L

dY

H

Setting print area in page mode
The coordinates of the current position at the moment that page
mode is entered are (0,0). The starting point of the print area is
defined by X

L

, X

H

, Y

L

and Y

H

. In addition, the length DX in the X

direction is specified by dX

L

and dX

H

, and the length DY in the Y

direction is specified by dY

L

and dY

H

.

Starting point X

0

= X

L

+ (X

H

×

256) dots

Starting point Y

0

= Y

L

+ (Y

H

×

256) dots

Length in horizontal direction DX = dX

L

+ (dX

H

×

256) dots

Length in vertical direction DY = dY

L

+ (dY

H

×

256) dots

The values of XL, YL, dXL and dYL are between 0 and 255, and the
values of XH, YH, dXH and dYH are between 0 and 1.
However, dXL = dXH = 0 and dYL = dYH = 0 are not included.
In addition, since the maximum range in the X direction (X

O

+ DX)

is 210 dots and the maximum range in the Y direction (Y

O

+ DY) is

720 dots, each parameter should be specified to satisfy these ranges.
When the power is turned on, XL = XH = YL = YH = 0 (X

O

,Y

O

=

0,0)

dXL = 210, dXH = 0 (DX = 210) and
dYL = 64, dYH = 2 (DY = 576).

This command is stored, even in line mode, and the position at the
time that page mode is entered is used as the standard point (0,0).
Since the bottom of the character is used as the baseline, a minimum
print area of 8 dots are necessary in the character height direction to
print data in the page. (When printing a magnified character height,
the paper must be fed before printing.)

This command is only valid with the slip printer.

CODE

HEX

FUNCTION

Paper feed direction

Current position (0,0)

Print area

DY

DX

(X

0

,Y

0

)