Esc [ p1; p2 <sp> g, Interface control, Esc [ p – Compuprint 4247-L03 Programmer Manua User Manual

Page 94: Sp> g, Nul enq dc1, Selects printer (data control 1) (ansi), Enquiry (ansi), Sp> g sets the line/character spacing (ansi), Ignored (ansi), Interface control nul

Advertising
background image

ESC [ p

1

; p

2

<SP> G

Sets the line/character spacing.

ASCII Code

ESC [ p

1

; p

2

<SP> G

Hexadecimal Value

X'1B' X'5B' p

1

X'3B' p

2

X'20' X'47'

Decimal Value

27 91 p

1

59 p

2

32 71

This command sets the spacing between lines (p

1

parameter) and the horizontal character pitch (p

2

parameter) in decipoints.

If the vertical spacing value exceeds the current form length, this setting is ignored.

Interface Control

NUL

Ignored.

ASCII Code

NUL

Hexadecimal Value

NUL

Decimal Value

This code is ignored.

ENQ

Enquiry.

ASCII Code

ENQ

Hexadecimal Value

X'05'

Decimal Value

5

This code is used to request the message string defined by the OSC command when parameter p

1

=8 is

transmitted to the host.

DC1

Selects printer (Data Control 1).

ASCII Code

DC1

Hexadecimal Value

X'11'

Decimal Value

17

In parallel interface, this code reselects the printer after the printer has been deselected by a DC3 code.

In serial interface, this code is sent from the printer to the host to indicate that the printer is ready to
receive data.

78

Programmer Manual

Advertising