Printing to a NetWare Print Queue
The ncpfs
package contains a small utility called
nprint that sends print jobs across an NCP
connection to a NetWare print queue. This command creates the
connection if it doesn’t currently exist and uses the
~/.nwclient
file that we described earlier to
hide the username and password from prying eyes. The command-line
arguments used to manage the login process are the same as those used
by the ncpmount, so we won’t go through those again
here. We will cover the most important command-line options in our
examples; refer to the nprint(1)
manual page for
details.
The only required option for nprint is the name of
the file to print. If the filename specified is - or if no filename
is specified at all, nprint will accept the print job
from stdin
. The most important nprint
options specify the fileserver and print queue to which you wish the job to be
sent. Table 15.4 lists the most
important options.
Table 15-4. nprint Command-Line Options
Option | Description |
---|---|
-S server_name
|
The name of the NetWare fileserver supporting the print queue to which you wish
to print. Usually it is convenient for the server to have an entry in
|
-q queue_name
|
The print queue to which to send the print job. This option is mandatory. |
-d job_description
|
Text that will appear in the print console utility when displaying the list of queued jobs. |
-l lines
|
The number of lines per printed page. This defaults to 66. |
-r columns
|
The number of columns ... |
Get Linux Network Administrator's Guide, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.