EFP9800 ESC/POS Commands

Standard Mode

The default value of n is 0.

Page Mode

The default value of n is 1. For more information see “ Page Mode” later in this section.

Note: Only the lowest bit of n is effective. When n is even, uni-directional printing is turned off and when n is odd, uni-directional printing is turned on.

Set Printing Area in Page Mode

Sets the position and size of the printing area in page mode. For more information see “ Page Mode” later in this section.

Hexadecimal

 

Decimal

 

ASCII

 

Value of n

1B 57 n1, n2 . . .

n8

27 87 n1, n2 . . .

n8

ESC W n1, n2 . . .

n8

0-255

The starting position of the print area is the upper left of the area to be printed (x0, y0). The length of the area to be printed in the y direction is set to dy inches. The length of the area to be printed in the x direction is set to dx inches. Use the equations to determine the value of x0, y0, dx, and dy. See the illustration for a graphic representation of the printing area. For more information about the fundamental calculation pitch, see the Set Fundamental Calculation Pitch command (1D 50).

x0 = [(n1 + n2 x 256) x (horizontal direction of the fundamental calculation pitch)]

y0 = [(n3 + n4 x 256) x (vertical direction of the fundamental calculation pitch)]

dx = [(n5 + n6 x 256) x (horizontal direction of the fundamental calculation pitch)]

dy = [(n7 + n8 x 256) x (vertical direction of the fundamental calculation pitch)]

3255 4073– 002

6– 19

Page 109
Image 109
Unisys EFP9800 manual Set Printing Area in Page Mode