XLPSPRINT(1) — Commands
NAME
xlpsprint − Motif application which provides for printing on Digital PrintServer printers
SYNOPSIS
xlpsprint [ Motif-options . . . ]
DESCRIPTION
xlpsprint provides for the special printing of an input file on the PrintServer family of PostScript printers by Digital Equipment Corporation. The options available in xlpsprint correspond to those available in lpspr since the input file is passed through lpspr before sending it to the appropriate queue.
An input file can contain either plain ASCII text or PostScript text, or may contain PCL data if the target PrintServer printer is capable of interpreting PCL; see the documentation for the particular printer to determine whether PCL interpretation is available.
To print a PostScript file so as to examine the actual PostScript code (rather than the resulting image), explicitly specify the ASCII data type.
It is important to understand the difference between a “page” and a “sheet” when printing on PostScript printers. A “page” is the image you want to print, while a “sheet” is a single piece of paper. It is possible to print multiple pages on a single sheet by setting the “N-up” field to a value greater than 1.
The name of the input file selected for printing is used as the job name.
APPEARANCE
xlpsprint is visually composed of two main areas which are:
Print Data Options
Printer Options
The Print Data Options area is further divided into two sections:
Job Datatype
ASCII Conversion Options
At the bottom of the xlpsprint window is a “Print...” button which is used to select a file for printing. File selection is done via a standard Motif file selection dialog.
WIDGET DESCRIPTION
The xlpsprint user interface is comprised of many Motif widgets most of which correspond to the options available in lpspr.
Some familiarity with Motif widgets is assumed, for more detailed information about the operation of widgets see the Motif User Interface Guide.
PRINT DATA OPTIONS
Job Datatype
Define the input data type, where Job Datatype is one of the following:
Automatic Automatic detection of data type
ANSI ANSI data
ASCII Text ASCII data
PostScript PostScript data
HP PCL Hewlett Packard PCL data
Image Image Print Plus data
The default for this option is Automatic. When Automatic is selected, xlpsprint will attempt to determine the data type of the input file by examining the first two characters in the file. If these characters do not exactly match the character sequence “%!” (the “magic number” for PostScript files), then the input data will be handled as ASCII data.
ASCII CONVERSION OPTIONS
The following options are for use with ASCII data only; these options have no effect on PostScript, PCL, or image data.
Tabs Expand tab characters to the specified number of spaces.
Minimum value: 1 space
Maximum value: 20 spaces
Default value: 8 spaces
IndentIndent each page in the output by the specified number of spaces.
Minimum value: 0 spaces
Maximum value: 40 spaces
Default value: 0 spaces
WidthPrint the output using the page width of the specified number of characters.
Minimum value: 1 character
Maximum value: 132 characters
Default value: 80 characters
LengthPrint the job using a page length of the specified number of lines.
Minimum value: 1 line
Maximum value: 66 lines
Default value: 66 lines
Orientation
Select the orientation of the pages as they are to be imaged on each sheet.
Landscape Selects landscape mode
Portrait Selects portrait mode
Portrait is the default selection.
Literal
Print the file literally, with non-printing characters imaged in a printable manner. This option is off by default.
Append PostScript "showpage" Operator
Append a PostScript “showpage” operator to the output. This is useful for obtaining proof copies of Encapsulated PostScript (EPS) files. This option is off by default.
PRINTER OPTIONS
Printer
Select the PrinterServer on which the input file will be printed. The default printer is determined by the $PRINTER environment variable on Berkeley systems and the $LPDEST environment variable on non-Berkeley systems.
Page Size
Select the physical size of the sheets to be printed, from one of the following:
default The size of the paper in the input tray is used.
letter or a 8.5 x 11 inches, 216 x 279 mm
ledger or b 11 x 17 inches, 279 x 432 mm
legal 8.5 x 14 inches, 216 x 356 mm
executive 7.5 x 10.5 inches, 191 x 254 mm
a5 5.8 x 8.3 inches, 148 x 210 mm
a4 8.3 x 11.7 inches, 210 x 297 mm
a3 11.7 x 16.5 inches, 297 x 420 mm
b5 7.2 x 10.1 inches, 176 x 250 mm
b4 10.1 x 14.3 inches, 250 x 353 mm
dl 4.3 x 8.7 inches, 110 x 220 mm
business_envelope
4.125 x 9.5 inches, 105 x 241 mm
7_envelope 3.875 x 7.5 inches, 99 x 191 mm
The default page size is default.
Sides Printed
Print pages on sheets in one of the following the ways:
Simplex
Print on one side of the sheet only.
Duplex
Print on both sides of the sheet.
The default is to print on one side only.
Resolution
Select imaging resolution from one of:
Default to image at the appropriate resolution
300 dpi to image at 300 dpi
400 dpi to image at 400 dpi
600 dpi to image at 600 dpi
Input Tray
Select the input paper tray that supplies paper for the print job, from one of the following:
Default The default input tray for the selected printer is used.
Top The upper 250-sheet input tray
Middle The middle 250-sheet input tray
Bottom The large capacity input tray
Large Capacity
The large capacity input tray
Envelope The LPS17 envelope tray.
Output Tray
Select the output tray where the printed output is to be deposited, from one of the following:
Default The default output tray for the selected printer is used.
Top Top tray, with face-down stacking.
Side Side tray, with face-down stacking.
Face-up Side tray, with face-up stacking.
Upper Upper tray on top of the printer.
Lower Lower tray on top of the printer.
Large Capacity
Large capacity output stacker.
Mailbox (1 - 20)
Mailbox 1 through 20.
A mailbox is valid only with suitably equipped model LPS32 printers.
N-Up The number of source pages to print on each sheet side.
Minimum value: 1 page
Maximum value: 100 pages
Default value: 1 page
SheetsThe number of times to print each sheet. The output is uncollated; for a collated output, you must specify the input files as many times as you desire copies.
Minimum value: 1 sheet
Maximum value: 100 sheets
Default value: 1 sheet
RESTRICTIONS
xlpsprint is designed to work specifically for Digital PrintServer printers. The PostScript code generated to effect the above functions may not work on non-Digital printers.
Whether the output is ultimately printed in the desired fashion depends in a large part on the configuration of the target PrintServer printer. For example, if duplex printing is specified, and the job is directed to a PrintServer printer incapable of two-sided printing, then the printing will fail.
ENVIRONMENT
Conversion to PostScript of file data containing ASCII text requires a special PostScript “profile” file. This file is called lpsasc2ps.psh and resides in the standard LPS library directory as configured for your machine.
On Berkeley systems the printer defined by the environment variable $PRINTER is used as the default printer. On non-Berkeley systems the default printer is defined by the $LPDEST environment variable.
FILES
$LPSLIB/lpsasc2ps.psh Default PostScript profile used for text-to-PostScript conversion.
SEE ALSO
lpspr(1), pr(1), lp(1), lpr(1), lpstat(1), cancel(1), xlpsrc(1)
AUTHOR
Digital Equipment Corporation.
NOTES
PostScript(TM) is a registered trademark of Adobe Systems, Inc.
— LPS V5.1 — 14 Feb 1995