beautypg.com

Microcom 814M Programming Manual User Manual

Page 31

background image

27

[Default]

[Reference]

-If the starting position is the upper right or lower left of the printing area, data is

buffered in the paper feed direction:

Commands using horizontal motion units: ESC 3, ESC J, GS $, GS \

Commands using vertical motion units: ESC SP, ESC $, ESC \

n = 0

ESC $, ESC L, ESC W, ESC \, GS $, GS P, GS \

ESC V n

[Name]

[Format]

[Range]

[Description]

[Notes]

[Default]

[Reference]

Turn 90° clockwise rotation mode on/off

ASCII

ESC

V

n

Hex

1B

56

n

27

86

n

0 ≤ n ≤ 1, 48 ≤ n ≤ 49

Turns 90° clockwise rotation mode on/off. n is used as follows:

n

Function

0, 48

Turns off 90° clockwise rotation mode

1, 49

Turns on 90° clockwise rotation mode

ƒ

This command only affects printing in standard mode.

ƒ

When underline mode is turned on, the printer does not underline 90° clockwise

rotation.

ƒ

Double-width and double-height commands in 90° rotation mode enlarge characters

in the opposite directions from double-height and double- width commands in normal

mode.

n = 0

ESC !, ESC -

ESC W xL xH yL yH dxL dxH dyL dyH

[Name]

[Format]

[Range]

[Description]

Set printing area in page mode

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

0 ≤ xL, xH, yL, yH, dxL, dxH, dyL, dyH ≤ 255 (except dxL= dxH=0 or dyL= dyH=0)

The horizontal starting position, vertical starting position, printing area width, and

printing area height are defined as x0, y0, dx (inch), dy (inch), respectively. Each setting

for the printing area is calculated as follows:

Horizontal starting position: x0 = [(xL + xH × 256) × (horizontal motion unit)]inches

Vertical starting position: y0 = [(yL + yH × 256) × (vertical motion unit)]inches

Printing area width: dx = [dxL + dxH × 256] × (horizontal motion unit)]inches