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
Purpose of this manual
What this manual contains
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
Serial interface
Dataproducts voltage and current requirements
Select the serial interface
Set parity
Set baud rate
RS232 serial connector
Set flow control
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
Definition of a printer command
Command syntax as expressed in this chapter
Three types of escape sequences
+P,commentL
Job control commands
Simple commands
Commands with user-entered variables
User-Defined Key, or substitute escape character
Showing commands in printed output
Converting the User-Defined Key to a printable character
ForEnter
Printing the sequence =UDK= as text
Cancelling a User-Defined Key
Tips on selecting a UDK
Line end
How the printer defines a
Orientation
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
Reset
Purpose
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
Comment
Purpose Syntax
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 Add
Font Delete
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
About margins
More about page and font orientations
More about page boundaries
Text placement restrictions on the 4213 printer
Margins
Syntax EmH,T,B,L,RL
Measuring a portrait
Measuring a landscape
Setting independent margins
Margin Bottom
Margin Top
Margin Left
Margin Right
About tabs
Tabs Horizontal
More about job boundaries
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
About character formatting
Bold Start/Bold Stop
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?
Creating constant pages
Merge Page Load
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
What is a graphic window?
Vector graphics
Macro graphics
Origin and page orientation
Placement on
Other characteristics
Graphic Window
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
Syntax Where to place it More
Data Monitor
Purpose of the data monitor
36.Close up of data monitor printout
Character codes on the Xerox
Supported coding schemes
Control codes
Bit coding schemes
Translation table structure
Special Table
User defined translation tables
Start-of-record indicator
Record-type indicator
More about the table data record
Byte count
Load address
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
Numeric variable
Parameter character
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
Length
Paper size values
Paper Size
Letter Legal 112 Executive
Left Margin
Syntax Example
Right Margin
Clear Horizontal Margins
Top Margin
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
Half-line Feed
Line Termination
#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
Disable Underline
Primary and secondary fonts
Font ID
Font Control
11.Font Control functions
Function
Font Descriptor
Syntax #Wfont descriptor + data
Character Code
#Wcharacter descriptor + data
Character Descriptor and Data
Raster Graphics Resolution
Graphics commands
Raster Graphics Presentation Mode
12.Values for graphics resolution Graphics Resolution
Start Graphics
13.Graphics margin settings Left graphics margin
Transfer Raster Data
Syntax #W# bytes of raster data
End Graphics
Horizontal Rectangle Size Decipoints
Horizontal Rectangle Size Spots
Vertical Rectangle Size Decipoints
Vertical Rectangle Size Spots
Area Fill ID
Area Fill patterns
Area Fill shading density
Fill Rectangular Area
Examples of filled rectangles
14.Fill types for rectangular areas Rectangle Fill Type
LJ Series 2D Emulation
Macro commands
Macro ID
Macro Control
15.Macro control functions Function
Example of a macro
LJ Series 2D Emulation
Papername ÐpapernameÐ
Userdict operators for page type
Letter
Serverdict begin password exitserver
System parameters
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