10.2;prsvr/config, revision 1.0, 89/10/02
prsvr/config - Print Server Configuration Directives
DESCRIPTION
Configuration directives for the print server are read from a file when
the print server is started. The name of this file is specified on the
command line, following the prsvr command.
Note that some of the options and arguments below now can be overridden
by user options to the prf command. Additionally, some new options make
older options obsolete. The older options still are functional, and are
the defaults in some circumstances. See individual descriptions for
complete explanations.
The following configuration directives are recognized:
Directive Meaning
bottom_margin [n] Number of inches to skip at the bottom of the page.
The prsvr uses this option only if the prf -dialogue
command does not contain a margin specification.
Note: In older software versions, this option
specified the number of lines, not inches.
collate_copies [on|off]
Enables page collation for multiple copies if on.
Default is off.
ddf_name [pathname] Specify a device descriptor file for a MULTIBUS
controller. This option is useful for driving a
printer with a MULTIBUS or AT-BUS card. Default name
for pathname is /dev/versatec. Use this option
instead of io_device_name.
description [string]
Defines location, function, or use of specified
printer. This information is contained in string,
which is a 32-character string that is passed to the
prflib call, prf_$get_printers.
device_driver [spinwr,prntrnx,vers,genicom,imagen,postsc,tektrnx]
Identifies the printer device driver. Domain
supports Spinwriter, Printronix, VERSATEC, GENICOM,
IMAGEN, postscript_laser (Domain/Laser-26 or
LaserPrinter 800), and TEKTRONIX. The default device
is Spinwriter.
file_banners [off|first|last]
Causes a banner page to be printed with each job.
Specifying off indicates that no banner page will be
printed. first means the banner page is printed
before the job, and last specifies that the banner is
printed after the job.
Default is last.
foot_string [left_string|center_string|right_string]
Specify contents of left, center, and right
components the page footer. The components can be
empty strings. The following special characters
return the values indicated when they appear in the
footer strings:
@ Escape character
# Current page number with one leading and
one trailing space
% Current date
& Time and date file being printed was last modified
* Space; literal spaces are not allowed in string
Default is no page footer.
form_feeds [n] Specify the number of pages to form feed between
jobs.
Default if omitted: 1
head_string [left_string|center_string|right_string]
Specifies contents of left, center, and right
components of the page header. The components can be
empty strings. See foot_string for a list of special
characters that may be used.
Default is no page header.
interface [serial|ikon|dsp_parallel|dataproducts|spe_parallel]
Indicates the hardware interface used by an attached
printer. This directive is necessary only if the
driver interface is not a serial interface or the
default interface. Available interfaces are:
serial An SIO line, file, or pad.
ikon An IKON 10085 or 10092 controller board.
dsp_parallel The parallel printer port on a DSP80A or
DSP90 node, or the printer port on the
NPA board in a DN4xx or DN6xx node. This
interface conforms to the DATAPRODUCTS
interface, but with inverted logic.
dataproducts The parallel printer port on a DSP80A
or DSP90 node.
spe_parallel The parallel port on an SPE board.
The default interfaces for the supported printers
are:
Domain/Laser-26 serial
LaserPrint 800 serial
IMAGEN serial
Spinwriter serial
Printronix dsp_parallel
VERSATEC ikon
GENICOM serial
Tektronix ikon
io_device_name [pathname]
Specifies the name of the I/O device to which the
printer is attached. The named device must be
accessible by a streams manager. If the device is a
nonstream device, use the interface and ddf_name
options.
left_margin [n] Spcifies the number of inches to set the left margin
of a page. prsvr uses this option only if the prf
command line does not specify a left margin.
lpi [n] Specifies the number of text lines per inch, defined
by n, that the printer will produce. Use this option
to override the default lines-per-inch setting on a
printer.
The default for all currently supported printers is
6.0 lines per inch.
logo [string|none] Specifies a character string to be printed on the
banner page. Default is none (no logo).
model_number [n] Use this option only for device drivers that support
more than one printer. Use the following model
numbers when using this option:
VERSATEC Driver:
V8236
V8224
V8244
V8272
V80 (default)
PostScript Laser
Driver:
Laser26 for the Domain/Laser-26
TI-2108 for the TI 2108
Laserwriter for the APPLE LaserWriter
Tektronix Driver:
4692 for the 4692 color printer
(default)
4693DX for the 4693DX color printer
monitor_device_name Specifies the I/O port that will receive status
information from the printer, if the printer uses a
separate I/O line to transmit status information.
The default name is the name specified in the
io_device_name option.
page_reversal [on|off]
Specifies the order in which pages will be printed.
If on, the pages are printed in reverse order with
the last page first; if off, the first page is
printed first. Default is off.
paper_size [n] Default paper size, specified by n, used by the
printer. Use this option if the -paper_size option
is omitted from the prf command line. This option
also overrides the default paper tray selection if
the default tray does not contain the specified paper
size. Use this option instead of paper_length and
paper_width. You can set n to any one of the
following:
Size [n] Dimensions
a 8.5 x 11.0 in.
b 11.0 x 17.0 in.
legal 8.5 x 14.0 in.
statement 5.5 x 8.5 in.
a3 297.0 x 420 mm
a4 210.0 x 297.0 mm
a5 137.0 x 210.0 mm
b4 257.0 x 364.0 mm
b5 182.0 x 257.0 mm
paper_length [n] Width in inches, specified by n, of paper. Use this
command instead of paper_size to specify page width.
point [n] Point size, specified by n, of printed characters.
You can override this option with the prf command.
Use this option if you use a non-default point size
for the printer. The default point size for all
supported printers is 10.
pre_10_name [printer_name//spool_node_name]
This option converts pre-SR10 print servers to SR10
print servers if two or more printers with the same
name exist in the pre-SR10- environment.
printer_ext [n] Uniquely identifies printers with the same logical
name. [n] is a number between 0 and 7. This option
is required for the prflib call, prf_$signal_printer.
printer_name [string]
Specifies printer name used in the -pr option of the
prf command. Use this option when more than one
printer exists on the network. The default name is
p.
prmgr_site [logical_name]
This statement must be included in all configuration
files created in SR10. Use this statement to bind
the print server to the print manager specified by
[logical_name]. The print manager name can be up to
32 characters long. There is no default print
manager name.
resolution [n] Printer resolution, specified by n, in dots per inch
(dpi). This option is useful only for printers that
can support multiple resolution plots, such as the
GENICOM printer. This printer has a default of 72
dpi; you can select a resolution of 144 dpi if the
firmware configuration is 403277 or greater. Use the
prf command to override this option.
right_margin [n] Specifies the number of inches to set the right
margin of a page. prsvr uses this option only if the
prf command line does not specify a right margin.
speed [n] Set n to the desired baud rate for the SIO line.
top_margin [n] n specifies the size of the top margin in inches.
prsvr uses this option only if prf does not contain a
margin specification. The default is 0.5 inch.
EXAMPLES
Sample configuration files might look like these:
PostScript Printer:
prmgr_site prmgr_logical_name
printer_name p4
printer_ext 0
device_driver postsc
model_number Laser26
speed 9600
io_device_name /dev/sio2
paper_length 11.0
paper_width 8.5
point 10
page_reversal on
collate_copies on
file_banners off
GENICOM Printer:
prmgr_site prmgr_logical_name
printer_name ge
description ge printer for doc group
printer_ext 0
device_driver genicom
speed 9600
io_device_name /dev/sio1
paper_length 11.0
paper_width 13.0
point 12
lpi 6
page_reversal off
collate_copies on
file_banners off
form_feeds 1
SEE ALSO
prsvr
For details about starting the print server
prf For details about queueing files to a printer