FORMS UTILITY FOR THE COAX ENVIRONMENT
•
LINE 130.
Switching form orientation
As previously mentioned, there are setup commands that must
be sent before instructing the printer to start merging variable
data with a macro. If the LANDSCAPE orientation is required, the
PCL landscape orientation must be issued in addition to the
current page settings. To maintain the page settings as well as
the cursor position (x,y) after a macro has been called, a PCL
PUSH to the stack and POP from the stack must also be issued.
The following is an example of a LANDSCAPE form being called
followed by a PORTRAIT form being called which is followed by
another PORTRAIT form being called. The PCL Escape commands
that are used are explained below.
Landscape
Esc&l1O
1B266C314F
Top Margin = Zero
Esc&l0E
1B266C3045
Push
Esc&f0S
1B26663053
Macro ID#4
Esc&f4Y
1B26663459
Call Macro
Esc&f3X
1B26663358
Pop
Esc&f1S
1B26663153
•
•
•
Portrait
Esc&l0O
1B266C304F
Top Margin = Zero
Esc&l0E
1B266C3045
Push
Esc&f0S
1B26663053
Macro ID#3
Esc&f3Y
1B26663359
Call Macro
Esc&f3X
1B26663358
Pop
Esc&f1S
1B26663153
Vertical Position
Esc*p100Y
1B2A7031303059
Horizontal Position
Esc*p100X
1B2A7031303058
•
•
•
Portrait
Esc&l0O
1B266C304F
Top Margin = Zero
Esc&l0E
1B266C3045
Push
Esc&f0S
1B26663053
Macro ID#1
Esc&f1Y
1B26663159
Call Macro
Esc&f3X
1B26663358
Pop
Esc&f1S
1B26663153
Vertical Position
Esc*p100Y
1B2A7031303059
Horizontal Position
Esc*p100X
1B2A7031303058
Note: The cursor position (100,100) is used as an example to
place the variable data 1/3 inch down from the top margin plus
any extra carriage return and line feeds generated (see
“Limitations” section below).
I-10
XEROX MRP FAMILY COAX COMMAND REFERENCE