beautypg.com

Esc gs ( f p1 p2 a m n1 n2 – Star Micronics Dot Impact Printer User Manual

Page 85

background image

3-77

STAR Command Specifications

Rev. 0.70

ESC GS ( F p1 p2 a m n1 n2

[Name]

Set top of form amount in black mark control

[Code]

ASCII

ESC

GS

(

F p1 p2

a

m n1 n2

Hexadecimal

1B

1D 28 46 p1 p2

a

m n1 n2

Decimal

27

29 40 70 p1 p2

a

m n1 n2

[Defined Area]

p1 = 4, p2 = 0

a = 1, 2

m = 0, 48

0 ≤ n1 + n2 x 256 ≤ 1700 (however, less that the length between marks)

[Initial Value]

Memory switch setting

[Function]

Set top of form position (printing start position and cutting position) when using black mark control.

(p1 + p2 x 256) specifies the subsequent reception byte count.

a selects the target to set.

a = 1: Amount of movement of the printing start position (FF, Feed switch) corresponding to the black mark

position.

a = 2: Amount of movement of the cutting position (ESC d) corresponding to the black mark position.

m specifies the direction of position movement.m = specifies the direction of paper feed with 0, 48.

n1, n2 specify the actual amount of movement((n1 + n2 x 256) x 1/144 of an inch)


The setting value of this command affects the printer initialization command (ESC @).

If the parameter is outside of the defined range, this command is received and discarded.

The setting (a = 1) of movement to the printing starting position is valid in executing the top of form operation

using the FF (top of form operation) and pressing the Feed switch.To make the setting value valid, set this

command before the execution command.

The settings of the movement of the cutting position (a = 2) are valid when executing ESC d (paper cut).To

make the setting value valid, set this command before the execution command.

The initial value of the set movement amounts abide the memory switch settings.The paper position varies

according to the printer type.

See each printer’s product specifications manual for details on the memory switch settings.