Ricoh Scanner 337943 003 User Guide

PostScript  
Programming  
Guide  
© 2005 Ricoh Printing Systems America, Inc.  
2635-A Park Center Drive  
Simi Valley, CA 93065  
May, 2005  
337943-003 Revision A  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Table of Contents  
iii  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Chapter 1  
PostScript Languange Printer Commands  
Overview  
Printer commands for Adobe PostScript 3 provide a way for you to communicate with  
the printer to perform certain tasks.  
This document provides programming information about Adobe PostScript 3 and  
contains most of the PostScript commands. It is written for people who are familiar  
with the command structure of the PostScript language. Most software applications do  
not require you to enter printer commands. However, if needed, you should refer to  
your software documentation for information about how to enter printer commands.  
This document also describes the particular PostScript interpreter parameters and  
resources implemented for the printer. The printer has features and capabilities that  
might not be present in other PostScript printers and that are not documented  
elsewhere.  
The following documents are generally relevant to the operation and programming of  
PostScript printers.  
PostScript Language Reference Manual, Third Edition (Addison-Wesley),  
(hereafter referred to as the Reference Manual), describes the programming  
language used to tell printers what and how to print. It describes features of the  
language available in all PostScript interpreters.  
The PostScript Language Reference Manual Level 3 Version 3010 and 3011  
Supplement (Adobe), (hereafter referred to as the Supplement), provides an up-to-  
date catalog of standard page device, user, system, and device parameters. It  
includes parameters that have changed since their original description in the  
PostScript Language Reference Manual, Third Edition.  
PostScript Language Tutorial and Cookbook (Addison-Wesley) contains  
explanatory and tutorial material to improve users’ understanding of the  
PostScript page description language. It introduces the PostScript language at a  
basic level.  
PostScript Language Program Design (Addison-Wesley) teaches programming  
principles unique to the PostScript language with many usable samples. It is for  
programmers interested in the effective and efficient design of PostScript  
language programs and printer drivers.  
PostScript Printer Description File Format Specification (Adobe) describes the  
PostScript Printer Description (or PPD) file format which provides information in  
a machine-readable form about printer-specific features and about the fonts built  
into the printer.  
PostScript Printer Description File for the Printer, available from the Adobe  
Developers Association, provides a device-independent way of invoking  
device-dependent features. It is needed by some drivers to offer complete device  
functionality to the user.  
PostScript Languange Printer Commands 1-1  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
The documentation assumes a knowledge of the following:  
How to reset the interpreter and page device parameters to their factory defaults.  
How to physically connect a printer to a host computer or user system.  
How to use the communications protocols and emulators implemented in the  
printer.  
How to use the printer’s control panel.  
1-2  
PostScript Languange Printer Commands  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Device Setup  
The page device parameters represent particular raster output device features or  
processing options; the values represent the current settings of those features or  
options. The setpagedevice operator is used to set the values of the page device  
parameters and the current pagedevice operator is used to get the current values of these  
parameters.  
For more information about how the setpagedevice operator is used to set up a raster  
output device, refer to the Reference Manual.  
Page Device Parameters  
Printer  
The following page device parameters are present in the printer. The semantics for the  
parameters appear in the Reference Manual and the Supplement.  
The following table lists all the page device parameters for the /Printer device.  
Page Device Parameters Table  
Key  
Type  
Default  
For More Information  
BeginPage  
procedure  
boolean  
boolean  
{pop}  
true  
See Chapter 6 of the Reference Manual.  
Collate  
Duplex  
See Chapter 6 of the Reference Manual and print  
behavior information on page 1-6.  
false  
See Chapter 6 of the Reference Manual.  
EdgeToEdge  
Use:  
<</PostRenderingEnhance true  
/PostRenderingEnhanceDetails <</EdgeToEdge true>>  
>> setpagedevice  
boolean  
false  
Instead of:  
<</EdgeToEdge true  
>> setpagedevice  
EndPage  
procedure  
{exch pop 2 ne}  
See Chapter 6 of the Reference Manual.  
See Chapter 4 of the Supplement.  
See Chapter 2 of the Supplement.  
ExitJamRecovery  
boolean  
false  
0
Fold  
integer  
PostScript Languange Printer Commands 1-3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                       
Page Device Parameters Table (Continued)  
Key  
Type  
Default  
For More Information  
FoldDetails  
<</Type 2  
/FoldType 0>>  
dictionary  
HWResolution  
See Chapter 2 of the Supplement.  
array  
[600 600]  
See Chapter 6 of the Reference Manual.  
See Chapter 6 of the Reference Manual.  
See Chapter 6 of the Reference Manual.  
See Chapter 6 of the Reference Manual.  
See Chapter 4 of the Supplement and below.  
ImagingBBox  
array or null null  
InputAttributes  
dictionary  
See below  
See below.  
0
Install  
Procedure  
integer  
Jog  
LeadingEdge  
integer or  
null  
See chapter 4 of the Supplement.  
null  
ManualFeed  
boolean  
false  
300  
See Chapter 6 of the Reference Manual.  
See Chapter 4 of the Supplement.  
See Chapter 4 of the Supplement.  
ManualFeedTimeout  
integer  
Margins  
array  
[0 0]  
MediaType  
string or  
null  
(plain)  
null  
1
See Chapter 6 of the Reference Manual.  
MediaWeight  
number or  
null  
See below.  
NumCopies  
integer or  
null  
See Chapter 6 of the Reference Manual and print  
behavior information on page 1-6.  
= Value is read-only but changes.  
1-4  
PostScript Languange Printer Commands  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                       
Page Device Parameters Table (Continued)  
Key  
Type  
Default  
For More Information  
OutputAttributes  
dictionary  
See below  
See Chapter 6 of the Reference Manual.  
OutputDevice  
name or  
string  
/Printer  
See Chapter 4 of the Supplement.  
OutputFaceUp  
boolean  
false  
true  
See Chapter 6 of the Reference Manual.  
OutputPage  
boolean  
See Chapter 4 of the Supplement.  
OutputType  
string or  
null  
(Stacker 2)  
See Chapter 6 of the Reference Manual.  
PageDeviceName  
string or  
null  
null  
See Chapter 4 of the Supplement.  
PageSize  
array  
See below  
See Chapter 4 of the Supplement.  
Policies  
<</HWResolution 0  
/PolicyNotFound 1  
/LeadingEdge 2  
/MediaWeight 2  
/OutputDevice 0  
/MediaType 2  
See Chapter 6 of the Reference Manual. See  
Chapter 4 of the Supplement and below.  
dictionary  
/PolicyReport{pop}  
/ProcessColorModel 0  
/Separations 0  
/PageSize 2>>  
ProcessColorModel  
name or  
string  
/DeviceGray  
See Chapter 4 of the Supplement.  
Staple  
integer  
0
See Chapter 4 of the Supplement and below.  
See Chapter 4 of the Supplement and below.  
See Chapter 4 of the Supplement and below.  
See Chapter 6 of the Reference Manual.  
StapleDetails  
dictionary  
TraySwitch  
boolean  
See below  
true  
Tumble  
boolean  
false  
= Value is read-only but changes.  
PostScript Languange Printer Commands 1-5  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                         
Print Behavior With PJL Environment Variables  
The following table summarizes the behavior of the /NumCopies and /Collate print  
parameters when used with PJL environment variables QTY and COPIES.  
Using PJL Environment Variables  
PJL Environment Variable  
PostScript Device Parameter  
Behavior  
Collated  
Copies  
Uncollated  
Copies  
QTY  
COPIES  
/NumCopies  
/Collate  
-
-
-
-
-
-
n/a  
n/a  
n/a  
a
n/a  
n/a  
n/a  
n/a  
n/a  
n/a  
n/a  
n/a  
b
-
true  
false  
-
-
-
-
a
-
-
a
-
-
true  
false  
-
a
a
-
-
a
-
b
b
b
-
-
b
-
-
true  
false  
-
b
-
-
n/a  
c
-
c
c
c
-
n/a  
n/a  
c
-
-
true  
false  
-
c
-
-
n/a  
a*b  
a*b  
a
a
b
b
b
-
n/a  
n/a  
b
a
-
true  
false  
-
a
-
a
c
c
c
c
c
c
c
c
c
a*c  
a*c  
a
n/a  
n/a  
c
a
-
true  
false  
-
a
-
-
b
b
b
b
b
b
c
n/a  
n/a  
c
-
true  
false  
-
c
-
n/a  
a*c  
a*c  
n/a  
a
n/a  
n/a  
c
a
true  
false  
a
- Parameter not set.  
a Numeric value entered for PJL QTY environment variable.  
b Numeric value entered for PJL COPIES environment variable.  
c Numeric value entered for PostScript /NumCopies parameter.  
n/a Not applicable.  
1-6  
PostScript Languange Printer Commands  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Location Numbers and Corresponding Staple Location  
Finisher Option  
Physical Staple  
Position (LEF/SEF)  
Location  
Staple Location  
0
invalid  
1*  
2
<Saddle Stitch>  
<Center>  
3
<Front Corner>  
<Rear Corner>  
invalid  
4
5
10  
11  
12  
13  
14  
15  
16  
17  
<Top Left>  
Top/Bottom  
<Top Center>  
<Top Right>  
Center  
Bottom + 180° rotation/Top  
Center + 180° rotation  
Top + 180° /Bottom + 180° rotation  
Center + 180° rotation  
Bottom + 180° rotation  
Center  
<Center Right>  
<Bottom Right>  
<Bottom Center>  
<Bottom Left>  
<Center Left>  
* Booklet Finisher and Publishing Finisher only.  
TraySwitch  
This boolean controls whether other trays of the same paper size and media type are  
used when the current tray empties. The MBT is not used for this switching. If this  
parameter is true, then, when a tray empties the printer searches for a tray containing  
the same paper size and media type starting with Tray 1 and searches in order through  
HCF, except MBT and Inserter Trays. The value of Priority is not used to determine the  
tray switching order.  
FoldType  
Value  
Folding Type  
No folding  
Center folding  
0
2
PostScript Languange Printer Commands 1-7  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Output Type  
OutputType  
Meaning  
(Stacker 0)* Sample Tray  
(Stacker 1) Standard Tray  
(Stacker 2) Elevator Tray  
(Stacker 3) Upper Tray  
(Stacker 4) Booklet Tray  
(Stacker 5)* Stacker 5  
(Stacker 6)* Stacker 6  
(Stacker 7)* Stacker 7  
(Stacker 8)* Stacker 8  
(Auto)*  
Autocascade  
*: Container Stacker only  
If this parameter is (Auto), the printer searches available output tray starting from  
Stacker 5 through Stacker 8 in order to switch output tray after tray full condition.  
In case of followings, printer skips these output trays and switches next higher priority  
output tray.  
Print out long paper size to output tray with short basket.  
Any paper in output tray.  
Masked any output trays by /outputTrayMask command.  
OutputTrayMask  
This operator masks individual output tray (Stacker) for Autocascade.  
Example: [x] statusdict / outputTrayMask get exec  
x means integer of Stacker number.  
1-8  
PostScript Languange Printer Commands  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Establishing Breaks Within a Job  
A Set Break occurs when one or more of the following processing options changes  
within a job.  
Processing Options  
Collate  
Duplex  
ManualFeedTimeout  
Margins Left  
OutputType  
PageSize  
ExitJamRecovery  
Margins Top  
paper feed method  
paper tray selection  
Staple  
HWResolution  
Jog  
MediaWeight  
NumCopies  
ManualFeed  
OutputFaceUp  
StapleDetails  
The following sample shows the syntax required to change the /Staple parameter,  
causing a Set Break to occur.  
Changing the /Staple Parameter  
%!PS  
/ston {  
Staple On  
Staple Off  
<</Staple 1>> setpagedevice  
clippath stroke showpage  
} def  
/stoff {  
<</Staple 0>> setpagedevice  
clippath stroke showpage  
} def  
ston ston stoff ston ston  
%%EOF  
The table below describes a five-page job that changes the /Staple twice within the job.  
Job Request  
Page 1 Staple: yes  
Result  
Page 2 Staple: yes  
Page 3 Staple: no  
Page 4 Staple: yes  
Page 5 Staple: yes  
Page 1 and Page 2 are stapled.  
Page 3 is not stapled.  
Page 4 and Page 5 are stapled.  
PostScript Languange Printer Commands 1-9  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Interpreter Parameters  
The semantics for interpreter parameters appear in the Reference Manual. For more  
recent parameters and their semantics, see the Supplement.  
User Parameters  
User parameters can be altered, within reasonable limits, by any PostScript language  
program without requiring a password. The user parameters establish temporary  
policies on matters such as whether to insert new items into caches.  
The setuserparams and currentuserparams operators are used to set and get the  
current values of the user parameters. The initial value of user parameters at the time  
the printer is turned on for the first time is product dependent. Unless otherwise  
specified, all user parameters are subject to save and restore.  
Listed below are the user parameters present in the printer.  
Key  
Type  
boolean  
Default  
For More Information  
AccurateScreens  
JobName  
false  
( )  
See Section 3.1 of the Supplement.  
string  
See Section 3.1 of the Supplement.  
JobTimeout  
integer  
integer  
integer  
integer  
integer  
integer  
integer  
integer  
integer  
integer  
integer  
integer  
integer  
integer  
0
See Section 3.1 of the Supplement.  
MaxDictStack  
MaxExecStack  
MaxFontItem  
MaxFormItem  
MaxLocalVM *  
MaxOpStack  
MaxPatternItem  
MaxScreenItem  
MaxUPathItem  
MinFontCompress  
VMReclaim  
530  
See Section 3.1 of the Reference Manual.  
See Section 3.1 of the Reference Manual.  
See Section 3.1 of the Reference Manual.  
See Section 3.1 of the Reference Manual.  
10015  
12500  
100000  
80% of RamSize See Section 3.1 of the Reference Manual.  
100000  
20000  
48000  
5000  
1250  
0
See Section 3.1 of the Reference Manual.  
See Section 3.1 of he Reference Manual.  
See Section 3.1 of the Reference Manual.  
See Section 3.1 of the Reference Manual.  
See Section 3.1 of the Reference Manual.  
See Section 3.1 of the Reference Manual.  
See Section 3.1 of the Reference Manual.  
See Section 3.1 of the Supplement.  
VMThreshold  
WaitTimeout  
40000  
40  
* Value is a read-only constant.  
MaxFontItem  
The key MaxFontItem indicates the maximum number of bytes occupied by the pixel  
array of a single character in the font cache.  
1-10  
PostScript Languange Printer Commands  
Download from Www.Somanuals.com. All Manuals Search And Download.  
               
System Parameters  
System parameters, in many cases, permanently alter the overall configuration of a  
product. They are set using the operator setsystemparams and read using the operator  
currentsystemparams. In general, setting system parameters requires a password.  
System parameters are not subject to save and restore. Their values persist across  
jobs. Listed below are the system parameters present in the printer.  
System Parameters  
Key  
Type  
Default  
For More Information  
BuildTime*  
integer  
Time dependent  
See Section 3.2 of the Supplement.  
See Section 3.2 of the Reference Manual.  
See Section 3.2 of the Reference Manual.  
See Section 3.2 of the Reference Manual.  
See Section 3.2 of the Reference Manual.  
See Section 3.2 of the Supplement.  
See Section 3.2 of the Reference Manual.  
See Section 3.2 of the Supplement.  
See Section 3.2 of the Reference Manual.  
See Section 3.2 of the Reference Manual.  
See Section 3.2 of the Supplement.  
See Section 3.2 of the Reference Manual.  
See Section 3.2 of the Supplement.  
See Section 3.2 of the Supplement.  
See Section 3.2 of the Supplement.  
See Section 3.2 of the Supplement.  
See Section 3.2 of the Supplement.  
ByteOrder*  
boolean  
CurDisplayList**  
integer  
CurFontCache**  
integer  
CurFormCache**  
integer  
false  
0
0
0
CurInputDevice**  
string  
( )  
CurOutlineCache**  
integer  
0
CurOutputDevice**  
string  
( )  
CurPatternCache**  
integer  
0
CurScreenStorage**  
integer  
0
CurSourceList**  
integer  
0
CurUPathCache**  
integer  
0
DoPrintErrors§  
boolean  
true  
false  
false  
0
DoStartPage  
boolean  
FactoryDefaults§  
boolean  
FatalErrorAddress§  
integer  
FontResourceDir  
string  
(fonts/)  
PostScript Languange Printer Commands 1-11  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                                           
GenericResourceDir  
string  
(Resource/)  
(/)  
See Section 3.2 of the Supplement.  
See Section 3.2 of the Supplement.  
See Section 3.2 of the Supplement.  
See Section 3.2 of the Supplement.  
See Section 3.2 of the Reference Manual.  
See Section 3.2 of the Reference Manual.  
See Section 3.2 of the Reference Manual.  
See Section 3.2 of the Supplement.  
See Section 3.2 of the Reference Manual.  
See Section 3.2 of the Reference Manual.  
See Section 3.2 of the Supplement.  
See Section 3.2 of the Supplement.  
See Section 3.2 of the Reference Manual.  
See Section 3.2 of the Supplement.  
See Section 3.2 of the Reference Manual.  
See Section 3.2 of the Supplement.  
See Section 3.2 of the Supplement.  
See Section 3.2 of the Supplement.  
See Section 3.2 of the Reference Manual.  
See Section 3.2 of the Supplement.  
GenericResourcePathSep  
string  
JobTimeout §  
integer  
0
LicenseID  
string  
See below  
see formula  
see formula  
100000  
65536  
MaxDisplayList  
integer  
MaxFontCache  
integer  
MaxFormCache  
integer  
MaxImageBuffer  
integer  
MaxOutlineCache  
integer  
65536  
MaxPatternCache  
integer  
100000  
See below  
See below.  
120000  
See formula  
300000  
0
MaxPermanentVM§  
integer  
MaxRasterMemory§  
integer  
MaxScreenStorage§  
integer  
MaxSourceList§  
integer  
MaxUPathCache  
integer  
PageCount**§  
integer  
PrinterName §  
string  
See below  
see formula  
(IEEE)  
RamSize**§  
integer  
RealFormat*  
string  
Revision*  
integer  
0
StartJobPassword §&  
Value is stored on the HDD. See Section 3.2  
of the Supplement.  
string  
( )  
1-12  
PostScript Languange Printer Commands  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                                         
StartupMode §  
integer  
1
See Section 3.2 of the Supplement.  
SystemParamsPassword §&  
Value is stored on the HDD. See Section 3.2  
of the Supplement.  
string or null  
null  
300  
WaitTimeout §  
integer  
See Section 3.2 of the Supplement.  
* Value is a read-only constant.  
** Value read-only but changes.  
§ Value is persistent across power cycles.  
& Value is write-only.  
MaxDisplayList  
The default value for this parameter is memory dependent.  
MaxFontCache  
The default value of MaxFontCache is memory dependent.  
MaxPermanentVM  
The default value for this parameter is the largest positive integer.  
MaxRasterMemory  
The default value of MaxRasterMemory is memory and print mode (simplex/duplex)  
dependent.  
MaxSourceList  
The default value for this parameter is memory dependent.  
RamSize  
The value of RamSize is the actual size of installed memory. It ranges from 41943040  
for 40 megabyte systems to 134217728 for a 128 megabyte system.  
PostScript Languange Printer Commands 1-13  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                             
Product Strings  
The systemdict operators languagelevel, product, revision, serialnumber, and  
version have the following values in the printer.  
String Name  
languagelevel  
Type  
integer  
Value  
3
revision*  
integer  
integer  
string  
1+  
serialnumber  
version  
randomly determined at startup  
3011.106  
* Also defined in statusdict.  
Model Strings  
The systemdict operators LicenseID and PrinterName have the following values.  
String Name  
Type  
Value  
70 ppm:  
(LN-091-002) Roman Font  
(LN-091-003) Morisawa 2 Font  
(LN-091-001) Morisawa 5 Font  
92 ppm:  
LicenseID  
integer  
(LN-091-004) Roman Font  
(LN-091-005) Morisawa 2 Font  
(LN-091-006) Morisawa 5 Font  
(Enter the name of the printer here,  
depending on the model.)  
PrinterName  
product*  
string  
string  
(Enter the name of the product here.)  
* Also defined in statusdict.  
Device Parameters  
Device parameters are set using the operator setdevparams and read using the  
operator currentdevparams. Device parameters are similar to system parameters in  
that they require a password, are global to the PostScript environment, and have similar  
persistence characteristics. As with system parameters, some of these parameters can  
be stored in non-volatile memory.  
One property that distinguishes device parameters from both system and user  
parameters is that device parameters may be interdependent: the legality of a value for  
a given parameter might depend on the value of another parameter.  
NOTE:  
Even if two products have the same device parameters set name, the  
parameters in the set might differ; for example, because the hardware  
support for that device differs.  
1-14  
PostScript Languange Printer Commands  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                               
Device Parameters of Type /FileSystem  
File system access from PostScript programs is described in Sections 3.8.2 and 3.8.3 of  
the Reference Manual and Section 3.3 of the Supplement.  
Parameters for Disk  
The factory default values for the %disk% device parameters are shown below.  
%disk% Device Parameters  
Key  
Type  
Default  
For More Information  
BlockSize *  
integer  
1024  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
Bus*  
name  
%scsi%  
Free** §  
HasNames*  
integer  
boolean  
disk-dependent  
true  
InitializeAction  
integer  
0
Interleave*  
integer  
LogicalSize§ **  
integer  
5
disk-dependent  
Mounted  
boolean  
PhysicalSize** §  
integer  
PrepareAction  
integer  
true  
disk-dependent  
0
Removable*  
Searchable  
SearchOrder  
Type*  
boolean  
boolean  
integer  
name  
false  
true  
0
/FileSystem  
Writable  
boolean  
true  
§ Value is derived from the disk media.  
* Value is a read-only constant.  
** Value is read-only but changes.  
Device %disk0% is on the %scsi% bus.  
PostScript Languange Printer Commands 1-15  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                                   
Parameters for ROM  
The factory default values for the %rom% device parameters in the printer are shown  
below.  
%rom% Device Parameters  
Key  
Type  
Default  
For More Information  
BlockSize*  
integer  
1
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
CartridgeID *  
integer  
CartridgeType *  
integer  
9110  
4
Free*  
integer  
0
HasNames*  
boolean  
true  
InitializeAction  
integer  
0
LogicalSize *  
integer  
449104  
true  
Mounted  
boolean  
PhysicalSize *  
integer  
449104  
false  
true  
Removable*  
Searchable  
SearchOrder  
Type*  
boolean  
boolean  
integer  
name  
11  
/FileSystem  
false  
Writable*  
boolean  
* Value is a read-only constant.  
1-16  
PostScript Languange Printer Commands  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                             
Parameters for Fontset  
The following table lists the factory default values for the %fontset% device  
parameters in the printer.  
%fontset% Device Parameters  
Key  
Type  
Default  
For More Information  
HasNames=  
boolean  
true  
true  
false  
true  
10  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
Mounted=  
boolean  
boolean  
boolean  
Removable=  
Searchable=  
SearchOrder=  
integer  
Type=  
name  
/FileSystem  
false  
Writable=  
boolean  
= Value is a read-only constant.  
PostScript Languange Printer Commands 1-17  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                 
Parameters for Scsi  
The following table lists the factory default values for the %scsi% device parameters  
in the printer.  
%scsi% Device Parameters  
Key  
BootDelay=  
Type  
Default  
For More Information  
integer  
CheckParity=  
boolean  
0
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
See Section 3.3 of the Supplement.  
false  
InitiaturId=  
integer  
integer  
integer  
name  
6
Poll=  
61  
TargetId=  
Type=  
1
/Parameters  
= Value is a read-only constant.  
Categories and Resource Instances  
The following tables list the factory-installed categories and resource instances in the  
printer. New resources of the regular resource categories are installed by the customer.  
For example, font and pattern resources can be added. The categories of implicit  
resources represent built-in capabilities of the interpreter. For example, the FormType  
category indicates that the interpreter understands Type 1 only. There are also  
categories used to define new categories.  
1-18  
PostScript Languange Printer Commands  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                         
Regular Resources  
Most of the instances listed in the tables are described in the Reference Manual and the  
Supplement. The information about instances that are listed in the Regular Resource  
Category table is specific to this printer.  
Regular Resources  
Category Name  
Instances  
CIDFont  
CMap  
No instances defined.  
No instances defined.  
ColorRendering DefaultColorRendering, DefaultColorRendering600  
ColorSpace Default CMYK, Default Gray, Default RGB  
ControlLanguage PostScript  
Encoding ISOLatin1Encoding, StandardEncoding  
AlbertusMT  
GillSans-Bold  
AlbertusMT-Italic  
AlbertusMT-Light  
AntiqueOlive-Bold  
AntiqueOlive-Compact  
AntiqueOlive-Italic  
AntiqueOlive-Roman  
Apple-Chancery  
Arial-BoldItalicMT  
Arial-BoldMT  
GillSans-BoldCondensed  
GillSans-BoldItalic  
GillSans-Condensed  
GillSans-ExtraBold  
GillSans-Italic  
NewCenturySchlbk-BoldItalic  
NewCenturySchlbk-Italic  
NewCenturySchlbk-Roman  
NewYork  
Optima  
GillSans-Light  
Optima-Bold  
GillSans-LightItalic  
Goudy  
Optima-BoldItalic  
Optima-Italic  
Goudy-Bold  
Oxford  
Arial-ItalicMT  
ArialMT  
Goudy-BoldItalic  
Goudy-ExtraBold  
Goudy-Italic  
Palatino-Bold  
Palatino-BoldItalic  
Palatino-Italic  
AvantGarde-Book  
AvantGarde-BookOblique  
AvantGarde-Demi  
AvantGarde-DemiOblique  
Bodoni  
Helvetica  
Helvetica-Bold  
Palatino-Roman  
StempelGaramond-Bold  
StempelGaramond-BoldItalic  
StempelGaramond-Italic  
StempelGaramond-Roman  
Symbol  
Helvetica-BoldOblique  
Helvetica-Condensed  
Helvetica-Condensed-Bold  
Helvetica-Condensed-BoldObl  
Helvetica-Condensed-Oblique  
Helvetica-Narrow  
Bodoni-Bold  
Bodoni-BoldItalic  
Bodoni-Italic  
Tekton  
Bodoni-Poster  
Times-Bold  
Bodoni-PosterCompressed Helvetica-Narrow-Bold  
Times-BoldItalic  
Bookman-Demi  
Bookman-DemiItalic  
Bookman-Light  
Bookman-LightItalic  
Carta  
Helvetica-Narrow-BoldOblique  
Times-Italic  
Font  
Helvetica-Narrow-Oblique  
Helvetica-Oblique  
HoeflerText-Black  
HoeflerText-BlackItalic  
HoeflerText-Italic  
Times-Roman  
TimesNewRomanPS-BoldItalicMT  
TimesNewRomanPS-BoldMT  
TimesNewRomanPS-ItalicMT  
TimesNewRomanPSMT  
Univers  
Chicago  
Clarendon  
HoeflerText-Ornaments  
HoeflerText-Regular  
JoannaMT  
JoannaMT-Bold  
JoannaMT-BoldItalic  
Clarendon-Bold  
Clarendon-Light  
CooperBlack  
Univers-Bold  
Univers-BoldExt  
Univers-BoldExtObl  
Univers-BoldOblique  
Univers-Condensed  
Univers-CondensedBold  
Univers-CondensedBoldOblique  
Univers-CondensedOblique  
Univers-Extended  
Univers-ExtendedObl  
Univers-Light  
CooperBlack-Italic  
Copperplate-ThirtyThreeBC JoannaMT-Italic  
Copperplate-ThirtyTwoBC  
Coronet-Regular  
Courier  
LetterGothic  
LetterGothic-Bold  
LetterGothic-BoldSlanted  
LetterGothic-Slanted  
LubalinGraph-Book  
LubalinGraph-BookOblique  
LubalinGraph-Demi  
LubalinGraph-DemiOblique  
Courier-Bold  
Courier-BoldOblique  
Courier-Oblique  
Eurostile  
Univers-LightOblique  
Univers-Oblique  
Wingdings-Regular  
ZapfChancery-MediumItalic  
ZapfDingbats  
Eurostile-Bold  
Eurostile-BoldExtendedTwo Marigold  
Eurostile-ExtendedTwo  
Geneva  
MonaLisa-Recut  
Monaco  
GillSans  
NewCenturySchlbk-Bold  
FontSet  
Form  
No instances defined.  
No instances defined.  
Halftone  
OutputDevice  
Pattern  
PDL  
DefaultHalftone, DefaultHalftone600  
Default  
No instances defined.  
PostScript  
BitmapFontInit  
CIDInit  
CIDnitN  
ColorRendering  
FontSetInit  
QAPrologue  
ProcSet  
PostScript Languange Printer Commands 1-19  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
OutputDevice  
The printer supports one OutputDevice type: Default. The default output device is  
equivalent to the Printer instance. Each instance is represented as a dictionary which  
contains key-value pairs describing certain capabilities of that particular output device.  
Refer to the following tables and to Section 4.4 of the Supplement for further details of  
the contents of the dictionaries.  
The following table lists the key value pairs in the resource dictionary for  
OutputDevice type /Default.  
Resource Dictionary for OutputDevice Type /Default  
Key  
Value  
HWResolution  
[[600 600] [300 300]]  
[[612 792] [421 595] [864 1296] [516 728] [728 1032] [595 842] [842 1190]  
[612 936] [612 1008] [792 1224] [648 792] [638 842] [396 612] [522 756]  
[612 752]]  
ManualSize  
[[612 792] [421 595] [864 1296] [516 728] [728 1032] [595 842] [842 1190]  
[612 936] [612 1008] [792 1224] [648 792] [638 842] [396 612] [522 756]  
[612 792]]  
PageSize  
ProcessColorModel  
/DeviceGray  
1-20  
PostScript Languange Printer Commands  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
Resources Whose Instances Are Implicit  
The following instances information is specific to this printer.  
Resources Whose Instances Are Implicit  
Category name  
Instances  
ColorRenderingType  
1
CIEBasedA  
DeviceCMYK  
CIEBasedABC  
CIEBasedDEF  
CIEBasedDEFG  
DeviceGray  
DeviceRGB  
DeviceN  
Pattern  
ColorSpaceFamily  
Emulator  
Separation  
No instances.  
FlateDecode  
FlateEncode  
LZWDecode  
LZWEncode  
ASCII85Decode  
ASCII85Encode  
ASCIIHexDecode  
ASCIIHexEncode  
CCITTFaxDecode  
CCITTFaxEncode  
DCTDecode  
Filter  
NullEncode  
ReusableStreamDecode  
RunLengthDecode  
RunLengthEncode  
SubFileDecode  
DCTEncode  
FMapType  
FontType  
2, 3, 4, 5, 6, 7, 8, 9  
0, 1, 2, 3, 4, 5, 6, 9, 10, 11, 14, 32, 42  
FormType  
HalftoneType  
ImageType  
1
1, 2, 3, 4, 5, 6, 10, 16  
1, 3, 4  
%disk%  
%fontset%  
%rom%  
%rom1%  
%rom2%  
%scsi%  
IODevice  
PatternType  
1, 2  
PostScript Languange Printer Commands 1-21  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Resources Used in Defining New Resource Categories  
The following table lists those resources available in the printer that can be used to  
define new resource categories.  
Category Name  
Instances  
FontType  
Category  
CIDFont  
Form  
CMap  
FormType  
Generic  
Halftone  
HalftoneType  
HWOptions  
ImageType  
IODevice  
OutputDevice  
Pattern  
ColorRendering  
ColorRenderingType  
ColorSpace  
ColorSpaceFamily  
ControlLanguage  
Emulator  
Category  
Encoding  
Filter  
FMapType  
Font  
PatternType  
PDL  
FontSet  
ProcSet  
Generic  
No instances defined.  
1-22  
PostScript Languange Printer Commands  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Compatibility  
Level 1 Compatibility Operators  
The following operators are included for compatibility with existing Level 1 PostScript  
language driver software. These compatibility operators are present in Level 3 printers  
for compatibility purposes only and their use in PostScript Level 3 language programs  
is strongly discouraged.  
The following compatibility operators are present in the printer. They are listed here in  
information about those compatibility operators which are not found, or differ from, the  
ones documented in Chapter 6 of the Supplement.  
Operators in statusdict  
a3tray  
a4tray  
b5tray  
buildtime  
ledgertray  
legaltray  
lettertray  
manualfeed  
margins  
setdostartpage  
setdosysstart  
setduplexmode  
setjobtimeout  
setmargins  
byteorder  
checkpassword  
defaulttimeouts  
diskonline  
diskstatus  
doprinterrors  
dostartpage  
dosysstart  
duplexmode  
firstside  
newsheet  
setpagestackorder  
setprintername  
setsccinteractive  
setsoftwareiomode  
settumble  
setuserdiskpercent  
softwareiomode  
tumble  
pagecount  
pagestackorder  
printername  
product  
realformat  
resolution  
revision  
sccinteractive  
setdefaulttimeouts  
setdoprinterrors  
userdiskpercent  
waittimeout  
11x17tray  
initializedisk  
jobname  
jobtimeout  
Operators in userdict  
11x17  
a3  
b4  
b5  
letter  
a4  
a4small  
a5  
folio  
ledger  
legal  
lettersmall  
note  
Operators in systemdict  
devdismount  
devforall  
devformat  
devmount  
devstatus  
PostScript Languange Printer Commands 1-23  
Download from Www.Somanuals.com. All Manuals Search And Download.  
             
Compatibility Operator Descriptions  
Some of the following compatibility operators use tray numbers to represent paper tray  
locations or feeding methods. The table below lists the tray numbers and the  
corresponding meanings for the printer. The compatibility operators listed here were  
implemented and defined for the printer.  
Tray Numbers and Their Meanings in the Compatibility Operators  
Tray #  
Meaning  
0
1
2
3
4
<Tray 1>  
<Tray 2>  
<Tray 3>  
<MBT>  
<HCF>  
10*1  
11*1  
20*2  
<Inserter tray 1>  
<Inserter tray 2>  
<Inserter tray>  
*1: Publishing Finisher only.  
*2: Booklet Finisher only - 92 ppm  
defaultpapertray defaultpapertray int  
The operator returns the first element of the Priority array in the InputAttributes  
dictionary found within the current page device. This number represents the default  
paper tray slot which may or may not be installed. If there is no Priority array within  
InputAttributes at the time that defaultpapertray is executed, some arbitrary slot  
number will be returned.  
Errors: stackoverflow  
papertray  
papertray int  
This operator returns the first element of the Priority array in the InputAttributes  
dictionary found within the current page device. This number represents the current  
paper tray slot which may or may not be installed. If there is no Priority array within  
InputAttributes at the time that papertray is executed, some arbitrary slot number will  
be returned.  
Errors: stackoverflow  
1-24  
PostScript Languange Printer Commands  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
setdefaultpapertray int setdefaultpapertray  
This operator copies the values of PageSize and MediaType found in the  
InputAttributes dictionary for the specified tray into a dictionary with keys for the  
PageSize and MediaType. It also writes the requested tray number into the first  
element of the Priority array in the InputAttributes dictionary and places this entry in  
the dictionary it is building. This dictionary is then passed to setpagedevice. The  
result is that the requested tray will be selected as a default and will be used by any  
PostScript language job that does not expressly select a paper size or medium. If the  
setdefaultpapertray compatibility operator is invoked at a save level other than zero,  
an invalid access error occurs.  
Errors: rangecheck, stackunderflow, typecheck  
setpapertray  
int setpapertray  
This operator copies the values of PageSize and MediaType found in the  
InputAttributes dictionary for the specified tray into a dictionary with keys for the  
PageSize and MediaType. It also writes the requested tray number into the first  
element of the Priority array in the InputAttributes dictionary and places this entry in  
the dictionary it is building. This dictionary is then passed to setpagedevice. The  
result is that the requested tray will be selected until some other setpagedevice  
operation or tray selection compatibility operator causes a different tray to be selected.  
Errors: rangecheck, stackunderflow, typecheck  
PostScript Languange Printer Commands 1-25  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Paper Size Compatibility Operators  
The following table describes the paper size compatibility operators. See the subsection  
Paper Size Operations in the Supplement for more information.  
Paper Size Compatibility Operators in userdict  
Operator  
PageSize  
[842 1190]  
ImagingBBox  
a3  
a4  
null  
null  
[595 842]  
[595 842]  
[421 595]  
[728 1032]  
[516 728]  
[612 936]  
[ 792 1224]  
[612 1008]  
[612 792]  
[612 792]  
[width height]  
[864 1296]  
a4small  
a5  
[25 25 570 817]  
null  
b4  
null  
b5  
null  
folio  
null  
ledger  
legal  
letter  
lettersmall  
note  
null  
null  
null  
[25 25 587 767]  
[25 25 width-25 height-25]  
null  
superB  
Paper Tray Compatibility Operators  
The following table describes the paper tray compatibility operators. See the subsection  
Paper Tray Operations in the Supplement for more information.  
Paper Tray Compatibility Operators in statusdict  
Operator  
PageSize  
[842 1190]  
ImagingBBox  
a3tray  
a4tray  
a5tray  
b5tray  
null  
null  
null  
null  
null  
null  
null  
null  
null  
[595 842]  
[421 595]  
[516 728]  
[612 936]  
[792 1224 ]  
[612 1008]  
[612 792]  
[864 1296]  
foliotray  
ledgertray  
legaltray  
lettertray  
superBtray  
1-26  
PostScript Languange Printer Commands  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Chapter 2  
I/O Setup  
Postscript I/O Mode  
The PostScript I/O mode can be selected on a per Virtual Printer basis via the Web  
menu:  
Manage / System / Virtual Printer-><PS virtual printer>->PostScript->  
PostScript I/O Mode / Raw, Normal, or TBCP  
TBCP  
In the TBCP mode the printer will recognize and process the special characters as  
specified in the table below.  
ASCII  
KEYBOARD NAME  
ASCII  
VALUE  
(HEX)  
CONTROL FUNCTION  
PRINTER BEHAVIOR  
^A  
^C  
^D  
^E  
^Q  
^S  
^T  
^[  
SOH  
ETX  
EOT  
ENQ  
DC1  
DC3  
DC4  
ESC  
FS  
0x01  
0x03  
0x04  
0x05  
0x11  
0x13  
0x14  
0x1B  
0x1C  
Quote data character  
Generate an interrupt error  
End of file marker  
See Control Function  
See Control Function  
See Control Function  
Ignored  
Reserved  
XON in XON/XOFF flow control  
XOFF in XON/XOFF flow control  
Job status request  
Ignored  
Ignored  
See Control Function  
See Control Function  
Ignored  
Start of end protocol sequence  
Reserved  
^\  
The ^C special character causes an interrupt error. Data that follows a ^C character is  
discarded until a ^D character is received.  
The ^T special character causes PostScript to return its status via the back-channel. If  
the PostScript interpreter is waiting for a job, the status string “%%[ status: idle ]%%”  
is sent. If the PostScript interpreter is busy processing a job, the status string “%%[  
status: busy; source: Network ]%%” is sent.  
The ^D special character forces the end of PostScript job.  
To transmit control characters as data, the host software must quote the character.  
Quoting is done by replacing the character with the two-character sequence: ^A  
followed by the character itself XOR-ed with 0x40. For example, to send a byte with  
the hex value 0x14, the two-byte sequence 0x01 0x54 is sent.  
All other special characters are ignored.  
I/O Setup 2-1  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
2-2  
I/O Setup  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Index  
Duplex parameter 1-3  
Symbols  
%disk% device parameters 1-15  
%fontset% device parameters 1-17  
%rom% device parameters 1-16  
%scsi% device parameters 1-18  
E
EdgeToEdge parameter 1-3  
EndPage parameter 1-3  
ExitJamRecovery parameter 1-3  
B
F
BeginPage parameter 1-3  
BlockSize parameter 1-15  
BootDelay parameter 1-18  
break, establishing 1-9  
BuildTime parameter 1-11  
Bus parameter 1-15  
FactoryDefaults parameter 1-11  
FatalErrorAddress parameter 1-11  
FontResourceDir parameter 1-11  
Free parameter 1-15, 1-16  
ByteOrder parameter 1-11  
G
GenericResourceDir parameter 1-12  
GenericResourcePathSep parameter 1-12  
C
CartridgeID parameter 1-16  
CartridgeType parameter 1-16  
CheckParity parameter 1-18  
Collate parameter 1-3  
H
HasNames parameter 1-15, 1-16, 1-17  
compatibility operators 1-23  
paper size 1-26  
HWResolution parameter 1-4, 1-20  
paper tray 1-26  
tray numbers in 1-24  
I
CurDisplayList parameter 1-11  
CurFontCache parameter 1-11  
CurFormCache parameter 1-11  
CurInputDevice parameter 1-11  
CurOutlineCache parameter 1-11  
CurOutputDevice parameter 1-11  
CurPatternCache parameter 1-11  
currentdevparams operator 1-14  
currentsystemparams operator 1-11  
currentuserparams operator 1-10  
CurScreenStorage parameter 1-11  
CurSourceList parameter 1-11  
CurUPathCache parameter 1-11  
ImagingBBox parameter 1-4  
InitializeAction parameter 1-15, 1-16  
InitiaturId parameter 1-18  
InputAttributes parameter 1-4  
Install parameter 1-4  
Interleave parameter 1-15  
interpreter parameters 1-10  
J
JobTimeout parameter 1-12  
Jog parameter 1-4  
L
D
languagelevel operator 1-14  
LeadingEdge parameter 1-4  
LicenseID operator 1-14  
LicenseID parameter 1-12  
LogicalSize parameter 1-15, 1-16  
defaultpapertray operator 1-24  
defining new resource categories 1-22  
device parameters 1-14  
DoPrintErrors parameter 1-11  
DoStartPage parameter 1-11  
Index-i  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
device parameters 1-14  
device setup 1-3  
interpreter parameters 1-10  
Level 1/Level 3 compatibility 1-23  
page device parameters 1-3  
resource category 1-18  
M
ManualFeed parameter 1-4  
ManualFeedTimeout parameter 1-4  
ManualSize parameter 1-20  
Margins parameter 1-4  
MaxDisplayList parameter 1-12, 1-13  
MaxFontCache parameter 1-12, 1-13  
MaxFontItem key 1-10  
system parameters 1-11  
user parameters 1-10  
PrepareAction parameter 1-15  
PrinterName operator 1-14  
PrinterName parameter 1-12  
ProcessColorModel parameter 1-5, 1-20  
product operator 1-14  
MaxFormCache parameter 1-12  
MaxImageBuffer parameter 1-12  
MaxOutlineCache parameter 1-12  
MaxPatternCache parameter 1-12  
MaxPermanentVM parameter 1-12, 1-13  
MaxRasterMemory parameter 1-12, 1-13  
MaxScreenStorage parameter 1-12  
MaxSourceList parameter 1-12, 1-13  
MaxUPathCache parameter 1-12  
MediaType parameter 1-4  
product strings 1-14  
R
RamSize parameter 1-12, 1-13  
RealFormat parameter 1-12  
regular resources 1-18  
Removable parameter 1-15, 1-16, 1-17  
resource categories 1-18  
resource instances 1-18  
MediaWeight parameter 1-4  
model strings 1-14  
Mounted parameter 1-15, 1-16, 1-17  
revision operator 1-14  
Revision parameter 1-12  
N
NumCopies parameter 1-4  
S
O
Searchable parameter 1-15, 1-16, 1-17  
SearchOrder parameter 1-15, 1-16, 1-17  
serialnumber operator 1-14  
set break 1-9  
setdefaultpapertray operator 1-25  
setdevparams operator 1-14  
setpapertray operator 1-25  
setsystemparams operator 1-11  
setuserparams operator 1-10  
staple locations 1-7  
operators  
in statusdict 1-23  
in systemdict 1-23  
in userdict 1-23  
OutputAttributes parameter 1-5  
OutputDevice parameter 1-5  
OutputDevice types 1-20  
OutputFaceUp parameter 1-5  
OutputPage parameter 1-5  
OutputType parameter 1-5  
Staple parameter 1-5  
StapleDetails parameter 1-5  
StartJobPassword parameter 1-12  
StartupMode parameter 1-13  
statusdict operators 1-23  
system parameters 1-11  
systemdict operators 1-23  
SystemParamsPassword parameter 1-13  
P
PageCount parameter 1-12  
PageDeviceName parameter 1-5  
PageSize parameter 1-5, 1-20  
paper size compatibility operators 1-26  
paper tray compatibility operators 1-26  
PhysicalSize parameter 1-15, 1-16  
Policies parameter 1-5  
T
Poll parameter 1-18  
TargetId parameter 1-18  
PostRenderingEnhanceDetails 1-3  
PostScript  
tray numbers in compatibility operators 1-24  
TraySwitch parameter 1-5, 1-7  
Tumble parameter 1-5  
compatibility operators 1-23  
Index-ii  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Type parameter 1-15, 1-16, 1-17, 1-18  
U
userdict operators 1-23  
V
version operator 1-14  
W
WaitTimeout parameter 1-13  
Writable parameter 1-15, 1-16, 1-17  
Index-iii  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Index-iv  
Download from Www.Somanuals.com. All Manuals Search And Download.  

Radio Shack Motorized Toy Car 60 390 User Guide
RCA Camcorder EZ1010 Series User Guide
Rosewill DJ Equipment U 701 User Guide
Samsung Computer Drive SW 224 User Guide
Samsung Dishwasher DMR77LHS User Guide
Samsung Fax Machine SF 750 Series User Guide
Sanyo Refrigerator SR L4110W User Guide
Sanyo Security Camera VCC9615P User Guide
Schumacher Battery Charger SE 2001 User Guide
Schwinn Wheelchair 418P User Guide