The LPD Outbound Gateway supervisor,
pdspvlpr
, transfers
print job requests to remote servers and printers using the Line Printer Daemon
(LPD) protocol.
To do this, it converts Advanced Printing Software jobs and
their attributes to an LPD request and sends the request to a specified LPD
server.
The LPD supervisor can print jobs on the following:
Printers connected to remote hosts when those hosts are running line printer daemon (lpd) software, and the host is configured to accept remote jobs
Printers that directly support LPD protocol
The LPD supervisor is particularly useful for accessing printers that
are not supported by the regular print system supervisor (pdspvr
).
For example, if your environment includes legacy printers that
are connected to UNIX hosts, and those printers require specialized UNIX filters,
you might be able to use the LPD supervisor to pass Advanced Printing Software
jobs to them.
Similarly, if you want to submit print jobs to any printers
connected to hosts not running Advanced Printing Software, you might be able
to use the LPD supervisor to pass print jobs to them.
11.1 Specifying Protocol Extensions
The LPD supervisor can communicate with a remote print server using one of several popular protocol extensions:
1179-RFC1179 (LPD) protocol with no extensions
Solaris-LPD protocol with Sun Solaris extensions
Digital UNIX-LPD protocol with Tru64 UNIX extensions
Xerox -LPD protocol with Xerox DocuSP and DocuPrint extensions
Specify the most appropriate protocol designator when you create a physical
printer object on the LPD supervisor.
That will allow users to specify job
and document options that take advantage of the various protocol extensions
that are available on your LPD server or printer.
Tables 11-1 through 11-4
list command options and arguments available for the protocol and supported
extensions.
11.2 Creating a Physical Printer
The LPD supervisor supports the
bsd
printer connection
method.
For each print system physical printer object you create, you need
to specify the remote machine and the remote printer name of the LPD printer
queue.
The LPD supervisor needs to know the name of the printer to communicate
properly with it.
The supervisor uses the
printer-address
attribute to determine the name of the LPD printer.
The supervisor uses this
name to determine the following:
Remote host
Printer name on the remote host
Protocol conformance (the LPD extension to support)
You must specify these three items using the following format:
printer-address=remotehost,printername,protocol_conformance
Protocol conformance keywords are:
1179
Solaris
DigitalUNIX
Xerox
To set up the remote LPD printer
big_red
on a machine
with the IP address of
fafner.xyz.com
and define it to
use Tru64 UNIX protocol extensions, you would specify the
printer-address
attribute as follows:
printer-address="fafner.xyz.com,big_red,DigitalUNIX"
Once you have created a physical printer, you can associate it with
a queue following the procedures outlined in Chapter 6.
11.3 The pdspvr Features Not Supported by the LPD Supervisor
The LPD supervisor does not support the same set of features as the
regular supervisor (pdspvr
).
The following features are
not supported:
Translation or modification Filters - Document data filtering is not supported.
Separator page generation - The LPD supervisor does
pass a request for a banner page to the remote server or printer when the
job-sheets
attribute is set to
job-copy-start
or
job-copy-wrap
.
However, it does not generate the separator
page data itself.
Media selecting , except when using the Xerox extensions on a Xerox DocuSP or DocuPrint printer.
Connection attributes, such as
printer-baud-rate
,
printer-stop-bits
,
printer-data-bits
,
printer-parity
,
printer-input-flow-control
,
printer-output-flow-control
, and
printer-connection-level
, are ignored by the LPD supervisor.
The
only valid value for
printer-connection-method
is
bsd
.
11.4 LPD Outbound Gateway Mappings
The following tables describe how print system requests and attributes are converted to LPD commands and attributes.
Table 11-1: Print Job and File Messages
Print System Attribute | Key | Usage | Description | Default | lpr Option |
job-comment | C | C(Classname) | class name: (banner) (job) | (hostname) | -C |
job-originating-host | H | H (Hostname) | host submitting job: 1(job) | (hostname) | None |
job-name | J | J (Jobname) | name of job: (banner) (job) | (1st file name) | -J |
job-sheets | L | L (user) | banner page | None | None |
notification-profile | M | M (user) | user to mail when done: (job) | None | -m |
document-name | N | N (name) | source of data file: (file) | (file name) | None |
job-originator, job-owner | P | P (name) | requesting user:(job) | (user) | None |
Table 11-2: Sun Protocol Extensions
Print System Attribute | Key | Usage | Description | Default | lpr Option |
page-select | 5P | 5P(pagelist) | for SVR4 Pages | None | None |
job-priority | 5q | 5q(priority) | for SVR4 Priority | None | None |
document-format | 5T | 5T(type) | for SVR4 Type | None | None |
Table 11-3: DIGITAL Protocol Extensions
Print System Attribute | Key | Usage | Description | Default | lpr Option |
default-input-tray | < | <(tray) | Input tray selection | None | -I (upper|lower|manual|...) large-capacity |
output-bin | > | <(bin) | Output bin selection | None | -o (bin) |
number-up | G | G(nup) | Number up | None | -N (nup) |
sides, plex | K | K(sides/plex) | Sides | None | -K (sides/plex) |
content-orientation | O | O(orientation) | Page orientation | None | -O (orientation) |
length | 6 | L | -Z (length) |
Table 11-4: Xerox Protocol Extensions - DocuSP and DocuPrint
Print System Attribute | Key | Usage | Description | Default | lpr Option |
document-format= PostScript simple-text TIFF PCL Interpress | C | C"(doc-format) " 1 | Document format, doc-format= ps postscript ascii tiff (DocuSP only) pcl interpress (DocuPrint only) | None | -C |
content-orientation= portrait reverse-portrait landscape reverse-landscape | C | C"(orientation) " | Document orientation, orientation= portrait inverseportrait landscape inverselandscape | None | -C |
finishing= staple-top-left | C | C"(staple) " | Document stapling, staple= staple | None | -C |
page-order-received= first-to-last last-to-first | C | C"(order)" | Page order, order= 1ton nto1 | None | -C |
sides=1 | C | C"(simplex)" | One-sided printing | None | -C |
sides=2 | C | C"(duplex)" | Two-sided printing | None | -C |
sides=2, plex=tumble | C | C"(tumble)" | Head-to-toe printing | None | -C |
default-medium= na-letter-white na-legal-white iso-a4-white na-letter-white na-legal-white ledger-white iso-a0-white iso-a1-white iso-a2-white iso-a3-white iso-a4-white iso-a5-white iso-a6-white iso-a7-white iso-a8-white iso-a9-white iso-a10-white iso-b0-white iso-b1-white iso-b2-white iso-b3-white iso-b4-whiteiso-b5-white iso-b6-white iso-b7-white iso-b8-whiteiso-b9-white iso-b10-white jis-b0-white jis-b1-white jis-b2-white jis-b3-white jis-b4-white jis-b5-white jis-b6-whitejis-b7-white jis-b8-white jis-b9-white jis-b10-white | C | C"(mediumsize)" | Medium size, mediumsize= usletter (DocuPrint only) uslegal (DocuPrint only) a4 (DocuPrint only) The following values are for DocuSP only:USLetter USLegal usledger a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 isob0 isob1 isob2 isob3 isob4isob5 isob6 isob7 isob8 isob9 isob10 jisb0 jisb1 jisb2 jisb3 jisb4 jisb5 jisb6 jisb7 jisb8 jisb9 jisb10 | None | -C |
x-image-shift=x | C | C"(xshift=x)" | Shift the page in the x direction | None | -C |
y-image-shift=y | C | C"(yshift=x)" | Shift the page in the y direction | None | -C |
Table 11-5: Xerox Protocol Extensions - DocuSP Only
Print System Attribute | Key | Usage | Description | Default | lpr Option |
binding-edge= top-edge bottom-edge left-edge right-edge | C | C" (bind=edge) " | Binding edge, edge= top bottom left right | None | -C |
finishing= staple-bottom-left edge-stitch | C | C" (stitch=how)" | Document stapling, how= singlelandscape duallandscape | None | -C |
output=no-page-collate | C | C" (uncollate) " | Collation | None | -C |
finishing=saddle-stitch | C | C" (booklet) " | Finishing | None | -C |
number-up=simple-2-up | C | C" (signature)" | Signature option | None | -C |
job-sheets=job-copy-wrap | C | C" (slipsheet)" | Slipsheet option | None | -C |