Printronix P5000LJ Manual De Referência

Página de 304
 26
Chapter
2
Configuring the PCL-II Emulation with Control Codes
Combining Escape Sequences
Parameterized escape sequences can be combined to save keystrokes. 
Combining sequences involves adding the parameter value and terminator of 
one or more sequences to another escape sequence. Parameterized 
sequences can be combined only if their prefixes are identical. When a 
parameter/terminator of one sequence is added to another sequence, all of 
the terminators except the last should be lower case. For example, to set the 
left and right margins using two separate escape sequences, the following 
two sequences would be sent:
Set left margin at position 10
ESC&a10L
Set right margin at position 99
ESC&a99M
Using one combined escape sequence, the following would be sent to the 
printer:
ESC&a10l99M
The list below shows the escape sequences you can use with the printer. 
Note that the brackets [ ] used in these escape sequences are for clarification 
purposes only (the brackets are not actually part of the commands).
FUNCTION
ASCII CODE
 PAGE
PCL LEVEL I
Display Functions Mode on
ESCY
Display Functions Mode off
ESCZ
Perforation Skip Mode on
ESC&l1L
Perforation Skip Mode off
ESC&l0L
Print Mode Selection (10 & 16.67 cpi) ESC&k[0,2]S
Programmable reset
ESCE
Raster Graphics start
ESC*rA
Raster Graphics data
ESC*b[#]W[
data]
Raster Graphics end
ESC*rB
Self-test
ESCz
Stroke Weight (Bold)
ESC[(,)]s[#]B
Underline Mode on
ESC&d[DEFGLMNOTUVW\}^] 66
Underline Mode off
ESC&d[@CHIJKPQRSWXZ[]
PCL LEVEL II
Character Font Selection
ESC[(,)]
ID
Cursor Control (absolute row)
ESC&a[#]R
Cursor Control (absolute column)
ESC&a[#]C
Cursor Control (relative row)
ESC&a[+#]R
Cursor Control (relative column)
ESC&a[+/-#]C
Horizontal Margin Selection (Left)
ESC&a[
print position]L
Horizontal Margin Selection (Right)
ESC&a[
print position]M
Horizontal Margin Selection (Reset)
ESC9
Line Spacing
ESC&l[6,8]D
Logical Page Length Selection
ESC&l[1-128]P
Print Pitch Selection
ESC[(,)]s[
Cpi]H
Text Length (Vertical Margin) Selection ESC&l[1-128]F
Transparent Print Data
ESC&p[
# of bytes]X