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
Select metered data
Return to print mode
Centronics interface
Select the Centronics parallel interface
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
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
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
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
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
Syntax Ezyi n
Syntax Where to place it More EzyeL
Sided Stop
Sided Side Select
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
Ezf
UnitsÐ1/60
UnitsÐ1/300
Syntax Ezg
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
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
Italics
About character formatting
Bold Start/Bold Stop
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?
Data capacity for each
Creating constant pages
Merge Page Load
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
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
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
Final parameter character
Numeric variable
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
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
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
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
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