beautypg.com

Set relative horizontal print position, Set right margin – Printronix P7000 H-Series User Manual

Page 72

background image

72

Chapter

3

Configuring The KSSM Emulation With Control Codes

Set Relative Horizontal Print Position

ASCII Code ESC \

n1 n2

Hex Code

1B 5C

n1 n2

Dec Code 27

92

n1 n2

Purpose

Moves the horizontal print position left or right from the current
position.

For right movement: horizontal position =

n2 * 256 + n1.

For left movement: horizontal position = 65536 - (

n2*256 + n1).

Where:
0 <=

n1 <= 127

0 <=

n2 <= 255

Comment

The printer ignores this command if the command would move
the print position outside the printing area.

The default defined unit for this command is according to the
current density: 1/120 inch for Near LQ and 1/180 inch for LQ,
Normal, Hi-Speed, Super Hi-Speed, and Ultra Hi-Speed.

Set Right Margin

ASCII Code ESC Q

n

Hex Code

1B 51

n

Dec Code 27

81

n

Purpose

Sets the right margin to

n columns in the current character

pitch, as measured from the left-most printable column.

Where:
1 <=

n <= 255

left margin < (current pitch) *

n < printable area width

Comment

In DBCS mode, the right margin will be set according to the
width of the DBCS character.

This command affects the front panel setting of “Right Margin.”

The default depends on the power-up configuration.

This manual is related to the following products: