Set Absolute Horizontal Print Position In 1/60 Inch; Set Bit 7 Of Incoming Data Bytes To 1; Set Form Length In Inches - Printronix P5000LJ Series Programmer's Reference Manual

Pcl-ii/lineprinter plus programmer’s reference manual
Hide thumbs Also See for P5000LJ Series:
Table of Contents

Advertisement

Set Absolute Horizontal Print Position in 1/60 Inch

Set Absolute Horizontal Print Position in 1/60 Inch
ASCII Code ESC $ n1 n2
Hex Code
1B 24 n1 n2
27 36 n1 n2
Dec Code
Purpose
Moves the logical print head to an absolute horizontal print
position, using 1/60 inch increments.
where
( n1 + [256 n2 ]) / 60 = the unsigned distance in inches from the
left margin.
n1 = (Number of DATA bytes) - 256( n2 )
(remainder of division of number of DATA bytes by 256,
sometimes referred to as MOD 256)
n2 = Number of DATA bytes) / 256 (quotient of division)
Discussion If the distance goes beyond right margin, the sequence is
ignored.

Set Bit 7 of Incoming Data Bytes to 1

ASCII Code ESC >
Hex Code
1B 3E
Dec Code
27 62
Purpose
Sets the most significant bit (MSB) of all incoming data to 1.
Discussion The MSB is bit number 7. This command only affects text and
control code data. Graphics data pass through unchanged.

Set Form Length in Inches

ASCII Code ESC C NUL n
Hex Code
1B 43 00 n
Dec Code
27 67 0 n
Purpose
Sets form length to n inches.
where
n = whole numbers from 1 through 24 to specify the number of
inches on a form.
Discussion Upon receipt of this code, the current line becomes the first line
of the form, and the form length set becomes the current forms
length. Vertical tab positions set below the bottom of the form
are ignored. Forms length is defined in inches; therefore,
subsequent line spacing changes do not affect the result of this
command.
Values of n greater than 24 are ignored.
When forms length is set by an ESC C sequence, the skip-over
perforation set by ESC N is cancelled.
This control code overrides forms length set at the control panel.
185

Advertisement

Table of Contents
loading

Table of Contents