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
Interfaces
Purpose of this manual
What this manual contains
Conventions used in this manual
Variances
Comment or explanation set off from from
Parallel interface cable
Parallel interface
Centronics interface
Return to print mode
Select the Centronics parallel interface
Select metered data
Centronics interface connector
Centronics connector
Pin Direction Signal Description
Centronics signals and pin assignments
Centronics signals and pin assignments
Error L
Centronics Signals Pin
Centronics interface timing
Centronics interface timing
Centronics Interface Voltage
Dataproducts
Requirements
Select the Dataproducts parallel interface
Dataproducts interface connector
Dataproducts connector
Dataproducts signals and pin assignments Pin Signal Source
Dataproducts signals and pin assignments
Dataproducts interface timing
Dataproducts interface timing
Select the serial interface
Serial interface
Dataproducts voltage and current requirements
Set parity
Set baud rate
Return to printer operation
RS232 serial connector
Set flow control
Serial signals and pin assignments
Serial interface features supported
Pin Signal Designation
Asynchronous serial signals and pin assignments
Null modem
Telephone Co
Null modem wiring
Automatic mode switching
Configuring the 4213 for the XES command language mode
Reset command
Mode change command
Reset
PostScript Emulation
Three types of escape sequences
Definition of a printer command
Command syntax as expressed in this chapter
+P,commentL
Job control commands
User-Defined Key, or substitute escape character
Simple commands
Commands with user-entered variables
ForEnter
Showing commands in printed output
Converting the User-Defined Key to a printable character
Printing the sequence =UDK= as text
Cancelling a User-Defined Key
Tips on selecting a UDK
Line end
Font orientation
How the printer defines a
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
Example
Reset
Purpose
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
Sided Stop
Syntax Where to place it More EzyeL
Sided Side Select
Syntax Ezyi n
Zya
Comment
Purpose Syntax
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
Instruction to delete stored font file
Font Add
Font Delete
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
UnitsÐ1/300
UnitsÐ1/60
Syntax Ezg
Ezf
More about page boundaries
About margins
More about page and font orientations
Syntax EmH,T,B,L,RL
Text placement restrictions on the 4213 printer
Margins
Measuring a portrait
Measuring a landscape
Setting independent margins
Margin Bottom
Margin Top
About tabs
Margin Left
Margin Right
More about page boundaries
Tabs Horizontal
More about job 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
Justifying and centreing between margins
Tabs Clear Vertical
About justification
About centreing
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
Italics
About character formatting
Bold Start/Bold Stop
Bold font simply
Underline Start/Underline Stop
Overstrike Start/Overstrike Stop
Purpose Syntax Where to place it Example
Subscript Start/Subscript Stop
Instruction to stop overstriking
C2H5OH
Superscript Start/Superscript Stop
Purpose Syntax Where to place it Example More
17. Constant
What is a constant page?
Data capacity for each
Creating constant pages
Merge Page Load
Merge Page Unload
Merge Start
Merging constant pages
Merge Stop
Syntax Where to place it More Eze
Graphics on
Syntax Ezd
18. Raster data
Raster graphics
Macro graphics
What is a graphic window?
Vector graphics
Origin and page orientation
Placement on
Scan direction for raster graphics
Other characteristics
Graphic Window
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
Purpose of the data monitor
Syntax Where to place it More
Data Monitor
36.Close up of data monitor printout
Character codes on the Xerox
Bit coding schemes
Supported coding schemes
Control codes
User defined translation tables
Translation table structure
Special Table
More about the table data record
Start-of-record indicator
Record-type indicator
Table entries
Byte count
Load address
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
Font source
Symbol set
Spacing
Pitch
Font selection by characteristics
Stroke weight
Font selection
Typeface
Resident fonts
Font selection by ID
ECMA-94
Courier Medium Italic PC-850 Legal Bold Upright Roman
Cartridge fonts
PCL4 command structure
Escape sequences with parameters
Escape sequences
Escape sequences without parameters
Variable sequence character
Final parameter character
Numeric variable
Parameter character
Combining escape sequences
Using parameter and final parameter
Upper Lower Case Sequence
Binary data
Combined Escape Sequence
PCL4 command reference
Printer Reset
Job control commands
Number of Copies
Purpose Syntax Example
Left Offset Registration
Sided/2-sided
Sided Page Side Selection
Top Offset Registration
Paper Source
Control commands
Paper source values
Paper Source
Size
Paper Size
Length
Paper size values
Letter Legal 112 Executive
Left Margin
Syntax Example
Right Margin
Text Length
Clear Horizontal Margins
Top Margin
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
#Gz
Half-line Feed
Line Termination
Line ending options
End-of-Line Wrap
Line endings
Host Printer
Control codes for cursor positioning
Push/Pop Cursor Position
# S
Carriage Return CR
Backspace BS
Font commands
Horizontal Tab HT
Line Feed LF
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
Underline
Transparent Data
#Xtransparent data
Fixed underlining
Font ID
Disable Underline
Primary and secondary fonts
Function
Font Control
11.Font Control functions
Font Descriptor
Syntax #Wfont descriptor + data
Character Code
#Wcharacter descriptor + data
Character Descriptor and Data
Raster Graphics Resolution
Graphics commands
Start Graphics
Raster Graphics Presentation Mode
12.Values for graphics resolution Graphics Resolution
Syntax #W# bytes of raster data
13.Graphics margin settings Left graphics margin
Transfer Raster Data
Horizontal Rectangle Size Spots
End Graphics
Horizontal Rectangle Size Decipoints
Area Fill ID
Vertical Rectangle Size Decipoints
Vertical Rectangle Size Spots
Area Fill patterns
Area Fill shading density
14.Fill types for rectangular areas Rectangle Fill Type
Fill Rectangular Area
Examples of filled rectangles
LJ Series 2D Emulation
Macro Control
Macro commands
Macro ID
15.Macro control functions Function
Example of a macro
LJ Series 2D Emulation
Papername ÐpapernameÐ
Userdict operators for page type
Letter
Statusdict operators
Serverdict begin password exitserver
System parameters
Setprintername String setprinternameÐ Printername
System set up operators Pagecount Ðpagecount integer
Setsccinteractive
Sccinteractive
Defaulttimeout
Timeout operators
Output positioning operators
Sided operators
Tray selection operators
Defaulttrayswitch Defaulttrayswitch boolean
Setdefaulttrayswitch Boolean setdefaulttrayswitch
Settrayswitch Boolean settrayswitch
Trayswitch Trayswitch boolean
Executivetray
Legaltray
A4tray
Com10envelopetray
Handling printer errors
Handling syntax errors
Dlenvelopetray
Echo D LPT1 or COM1, etc
Letter Paper Throughput Images/minute
Jam recovery on Jam recovery off Simplex Duplex
Legal Paper Throughput images/minute
A4 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