NPRINT
Print a file.
Synopsis
NPRINT filename [option ... ] [/? | /VER]
Description
Use NPRINT at a workstation to
-
Print an ASCII file.
-
Print a file already formatted for a printer.
Options
- filename
-
Specify the name of the file you want to print. Include wildcard characters,
drive letters, and directory paths if necessary.
- option
-
Specify on or more options from the following:
- S=NetWare_server
-
Specify which NetWare server's bindery contains the print queue. Default:
current tree or server.
- P=printer_name
-
Specify which printer the print job should be sent to. (Specify a default
in PRINTCON.)
- Q=print_queue_name
-
Specify which print queue the print job should be sent to. (Specify a
default at the NetWare server console or in PRINTCON.)
- ALL
-
View all online help screens, when used with the /? option.
- J=job_name
-
Specify the PRINTCON job configuration to use; does not require
other options.
- NB
-
Print no banner page.
- B=banner_name
-
Specify the text that will appear in the lower half of the banner page.
Limit: 12 characters.
- NAM=text
-
Specify the text you would like to appear in the upper half of the banner
page. Limit: 12 characters.
- V
-
View more information about the printer, print queue, and print job
configuration than is provided with the ``Show'' option.
- /F=form_name_or_number
-
Specify the form name or number that the printer will use. NPRINT
does not function with an invalid form name.
If you specify an invalid number, NPRINT gives a warning message
but still prints.
- /C=n
-
Specify the number of copies. Maximum: 65,000.
- T=n
-
Specify the number of spaces to allocate each tab in a text print job. You
do not need this option for byte-stream print jobs. Default: 1. Range: 1
to 18.
- /NT
-
Specify that no spaces be allocated to tabs in a text print job. Use this
option to fix problems printing graphics.
- /FF
-
Specify that the printer add blank paper at the end of the print job.
- /NFF
-
Specify that the printer not add blank paper at the end of the print job.
- /NOTI
-
Specify that the user receive a message when the print job is printed.
- /NNOTI
-
Specify that the user not receive a message when the print job is printed.
- /?
-
View online help. (Other parameters are ignored.)
- /VER
-
View the version number of the utility and the files it uses to execute.
(Other parameters are ignored.)
Usage
All options function with a slash ``/'', but only ``Help'' requires
it (/?).
You can specify the printer name instead of a print queue.
Default options include Banner (B=banner name), No
Tabs (NT), and Form Feed (FF).
Specifying a default print job configuration in PRINTCON allows
you to specify only the filename with NPRINT. You can override
the default options by specifying options at the command line.
NPRINT can be typed without specifying a printer or print queue
if a default print queue is specified at the NetWare server.
NPRINT is not needed if you use a NetWare-aware application that
can send print jobs to specified printers or print queues.
If you use an application that does not format print jobs for your
printer, NetWare supplies 58 printer definitions for print devices.
Import one of these or create your own using NetWare Administrator or
PRINTDEF. Each printer definition contain print device functions
and modes for the printer.
Printer definitions for print devices can only be referenced in print job
configurations.
To print a non-ASCII file that is not formatted for the printer,
NPRINT must use the J=name option to specify
the print job configuration that specifies the printer definition.
If you specify a print job configuration that has a complex printer mode,
you can increase the bytes (default 64, range 0 to 255) in the
printer header=number option.
Unlike DOS PRINT, NPRINT is not a
terminate-and-stay-resident (TSR) application.
Examples
-
To print file MARCH.PRJ, type:
NPRINT MARCH.PRJ
-
To print file MARCH.PRJ using print job configuration
``REPORTS'', type:
NPRINT MARCH.PRJ J=REPORTS
-
To send file MARCH.PRJ to network printer P1, type:
NPRINT MARCH.PRJ P=P1
-
To send file MARCH.PRJ to print queue Q1, type:
NPRINT MARCH.PRJ Q=Q1
-
To print file MARCH.PRJ without a banner, type:
NPRINT MARCH.PRJ NB
-
To print files beginning with ``MA'' with extension .PRJ, type:
NPRINT MA*.PRJ
-
To print five copies of file MARCH.PRJ with no banne, type:
NPRINT MARCH.PRJ P=P1 C=5 NB
-
To view all online help screens, type:
NPRINT /? ALL
-
To view specific help for the No Banner option, type:
NPRINT /? NB
Additional information
For more information on the NET.CFG file, see
``NET.CFG Options Reference'' in NetWare Client for DOS
and MS Windows Technical Reference. For more information on
NPRINT, see
``Using NPRINT''.
© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999