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