May 1992 720P40020
Xerox 4213 Laser Printer Programmer Reference
Page
European EME regulations
Laser safety
Operational safety
Title
Related publications
Page
Table of contents
XES command language mode
Vii
Viii
Table of Contents
Table of Contents
LJ series 2D emulation
Xii
Xiii
Xiv
PostScript emulation
Index
Appendices
Introduction
What this manual contains
Purpose of this manual
Interfaces
Conventions used in this manual
Variances
Comment or explanation set off from from
Parallel interface cable
Parallel interface
Select metered data
Return to print mode
Centronics interface
Select the Centronics parallel interface
Centronics interface connector
Centronics connector
Centronics signals and pin assignments
Centronics signals and pin assignments
Pin Direction Signal Description
Error L
Centronics Signals Pin
Centronics interface timing
Centronics interface timing
Select the Dataproducts parallel interface
Dataproducts
Centronics Interface Voltage
Requirements
Dataproducts interface connector
Dataproducts connector
Dataproducts signals and pin assignments Pin Signal Source
Dataproducts signals and pin assignments
Dataproducts interface timing
Dataproducts interface timing
Dataproducts voltage and current requirements
Serial interface
Select the serial interface
Set parity
Set baud rate
Set flow control
RS232 serial connector
Return to printer operation
Serial signals and pin assignments
Serial interface features supported
Telephone Co
Asynchronous serial signals and pin assignments
Pin Signal Designation
Null modem
Null modem wiring
Automatic mode switching
Configuring the 4213 for the XES command language mode
PostScript Emulation
Mode change command
Reset command
Reset
Command syntax as expressed in this chapter
Definition of a printer command
Three types of escape sequences
+P,commentL
Job control commands
Commands with user-entered variables
Simple commands
User-Defined Key, or substitute escape character
Converting the User-Defined Key to a printable character
Showing commands in printed output
ForEnter
Printing the sequence =UDK= as text
Cancelling a User-Defined Key
Tips on selecting a UDK
Line end
Orientation
How the printer defines a
Font orientation
Font and page orientation
Coordinates, units of measure, and paper feed direction
Determining the paper feed edge
Specifications for short-edge feed paper
Capacity
Capacity specifications Type of data
Setting job boundaries
Examples
Command Where to place it What it does
Syntax
Print Job
+Q,comment L
Print Job Mixed Orientation
Purpose
Reset
Example
Formatting the printed output
+Cn,comment L
Multiple Copies
Instruction to print multiple copies
Multiple Copies Non-Collated
Paper Tray
Purpose Syntax Where to place it
Ezybn
Bypass Slot Paper Size
±23
Offset
Sided book
Syntax Where to place it More EzydnL
Syntax Ezyf n L
Sided Inverted pad
Syntax Ezyi n
Syntax Where to place it More EzyeL
Sided Stop
Sided Side Select
Purpose Syntax
Comment
Zya
Fonts on
Where to place it Any place in the job
How fonts are stored
How to download fonts from the host computer
Instruction to load font data
Font Load
Font Delete
Font Add
Instruction to delete stored font file
Font Unload
Using fonts in a document
+nfontnameL
Font ID Assignment
Example To create an index of five fonts, enter
Font Select
Setting units of measure
Ezf
UnitsÐ1/60
UnitsÐ1/300
Syntax Ezg
More about page and font orientations
About margins
More about page boundaries
Margins
Text placement restrictions on the 4213 printer
Syntax EmH,T,B,L,RL
Measuring a portrait
Measuring a landscape
Setting independent margins
Margin Bottom
Margin Top
Margin Right
Margin Left
About tabs
More about job boundaries
Tabs Horizontal
More about page boundaries
Tn1,n2,...,n160 L
1/60 inch units
Tabs Clear Horizontal
Tabs Vertical
Portrait Landscape
Maximum values For vertical tabs Letter Legal Units Portrait
Vertical tabs in 1/60 inch units
10.Vertical tabs in 1/300 inch units
About centreing
Tabs Clear Vertical
Justifying and centreing between margins
About justification
Justification Start/Stop
Syntax Where to place it Example
Between the left Right margins
Centre
Line Spacing
About the page formatting features
Syntax Eip n L
Line Spacing Absolute
Example Enter
Text Placement Absolute
Ea X, Y L
Ea1500,3000L He who laughs Origin
Text Placement Relative
Current textErl75eNew text
Line Draw
13.Relative placement 1500 pixels down
XES Command Language Mode
Line Draw Y
14.Line Draw X command
XES Command Language Mode
15.Line Draw Y command To produce
16.Fifteen degrees of shading for Line Draw commands
Bold Start/Bold Stop
About character formatting
Italics
Bold font simply
Underline Start/Underline Stop
Instruction to stop overstriking
Purpose Syntax Where to place it Example
Overstrike Start/Overstrike Stop
Subscript Start/Subscript Stop
C2H5OH
Superscript Start/Superscript Stop
Purpose Syntax Where to place it Example More
17. Constant
What is a constant page?
Merge Page Load
Creating constant pages
Data capacity for each
Merge Page Unload
Merge Start
Merging constant pages
Syntax Ezd
Syntax Where to place it More Eze
Merge Stop
Graphics on
18. Raster data
Raster graphics
Vector graphics
What is a graphic window?
Macro graphics
Origin and page orientation
Placement on
Graphic Window
Other characteristics
Scan direction for raster graphics
EgwMor Mx/My,I,RX,Y,Sx,SyL
Origin of the graphic window. X is the distance
Capacity for graphic windows
More about graphic windows
More about magnification
Magnification and resolution
22.Changing placement for a magnified window
Magnification and window placement
Rotating images
Reversing images
24.Graphic window rotation
Graphic commands and the current text position
Copying graphic windows
Graphic commands and the current graphic position
Graphic Window Repeat
Egr0,3900,1500L
26.A graphic window copied at another location on
Creating graphic images
Graphic Line
Egl5150,1050,300,600,600,975,900,525,1200,1050L
27.A graphic line drawn inside a graphic window
Graphic Arc
Additional pairs of starting and ending angle
29.Four arcs drawn with one command
Graphic Box
Instruction for a fill pattern
Graphic Fill
31.Predefined fill patterns
32.Fill pattern bounded by a graphic figure
XES Command Language Mode
Instruction for a pie chart
Graphic Pie Chart
Percent of the pie to be taken up by the first
34.Creating a pie chart
More about Graphic Pie Chart
Data Monitor
Syntax Where to place it More
Purpose of the data monitor
36.Close up of data monitor printout
Character codes on the Xerox
Control codes
Supported coding schemes
Bit coding schemes
Special Table
Translation table structure
User defined translation tables
Record-type indicator
Start-of-record indicator
More about the table data record
Load address
Byte count
Table entries
Record terminator
Character Reassignment
Syntax Ezt
Load Translation Table
Ezlc
Language
Sample job
U.S. English code mapping
Building the file
37.Completed table download record
Invoking the base table
38.New character assignments over original table
Customised mapping table U.S. English code
More about creating tables
122
Primary and secondary fonts
Font compatibility
Font characteristics
Portrait orientation page layout y,x
Pitch
Symbol set
Font source
Spacing
Typeface
Stroke weight
Font selection by characteristics
Font selection
Resident fonts
Font selection by ID
ECMA-94
Courier Medium Italic PC-850 Legal Bold Upright Roman
Cartridge fonts
PCL4 command structure
Variable sequence character
Escape sequences
Escape sequences with parameters
Escape sequences without parameters
Parameter character
Numeric variable
Final parameter character
Binary data
Using parameter and final parameter
Combining escape sequences
Upper Lower Case Sequence
Combined Escape Sequence
PCL4 command reference
Purpose Syntax Example
Job control commands
Printer Reset
Number of Copies
Left Offset Registration
Sided/2-sided
Sided Page Side Selection
Top Offset Registration
Paper Source
Control commands
Paper Source
Paper source values
Size
Paper size values
Length
Paper Size
Letter Legal 112 Executive
Left Margin
Syntax Example
Right Margin
Top Margin
Clear Horizontal Margins
Text Length
Perforation Region
Vertical Motion Index
Horizontal Motion Index
Line Spacing
Cursor positioning commands
Horizontal Cursor Position Decipoints
Horizontal Cursor Position Columns
Horizontal Cursor Position Spots
Vertical Cursor Position Rows
Vertical Cursor Position Decipoints
Vertical Cursor Position Spots
Line Termination
Half-line Feed
#Gz
Host Printer
End-of-Line Wrap
Line ending options
Line endings
Carriage Return CR
Push/Pop Cursor Position
Control codes for cursor positioning
# S
Line Feed LF
Font commands
Backspace BS
Horizontal Tab HT
Symbol Set
ISO 14 JIS Ascii
LJ2D symbol sets with ID numbers Symbol Set
Spacing
Es10H
Style
Stroke Weight
Gradations of Stroke weight Stroke Weight
10.Typefaces and code numbers # Typeface
Default Font
Fixed underlining
Transparent Data
Underline
#Xtransparent data
Primary and secondary fonts
Disable Underline
Font ID
11.Font Control functions
Font Control
Function
Font Descriptor
Syntax #Wfont descriptor + data
Character Code
#Wcharacter descriptor + data
Character Descriptor and Data
Raster Graphics Resolution
Graphics commands
12.Values for graphics resolution Graphics Resolution
Raster Graphics Presentation Mode
Start Graphics
Transfer Raster Data
13.Graphics margin settings Left graphics margin
Syntax #W# bytes of raster data
Horizontal Rectangle Size Decipoints
End Graphics
Horizontal Rectangle Size Spots
Vertical Rectangle Size Spots
Vertical Rectangle Size Decipoints
Area Fill ID
Area Fill patterns
Area Fill shading density
Examples of filled rectangles
Fill Rectangular Area
14.Fill types for rectangular areas Rectangle Fill Type
LJ Series 2D Emulation
Macro ID
Macro commands
Macro Control
15.Macro control functions Function
Example of a macro
LJ Series 2D Emulation
Papername ÐpapernameÐ
Userdict operators for page type
Letter
System parameters
Serverdict begin password exitserver
Statusdict operators
Sccinteractive
System set up operators Pagecount Ðpagecount integer
Setprintername String setprinternameÐ Printername
Setsccinteractive
Defaulttimeout
Timeout operators
Output positioning operators
Sided operators
Tray selection operators
Trayswitch Trayswitch boolean
Setdefaulttrayswitch Boolean setdefaulttrayswitch
Defaulttrayswitch Defaulttrayswitch boolean
Settrayswitch Boolean settrayswitch
Com10envelopetray
Legaltray
Executivetray
A4tray
Echo D LPT1 or COM1, etc
Handling syntax errors
Handling printer errors
Dlenvelopetray
A4 paper throughput images/minute
Jam recovery on Jam recovery off Simplex Duplex
Letter Paper Throughput Images/minute
Legal Paper Throughput images/minute
Memory VM Bytes Font cache Bytes
VM and font cache allocation
Postscript Emulation
4213
3270
Index
Danish/Norwegian
German
Job
Macro
Index
Safety
VMI, see Vertical Motion Index
INDEX-10