Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP 9000 Networking: NetWare 4.1/9000 Utilities Reference > Chapter 2 Workstation Utilities

NPRINT

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Purpose

Use at a workstation to

  • Print an ASCII file.

  • Print a file already formatted for a printer.

Syntax

NPRINT filename [option...] [/? | /VER]

Parameter

Use to

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 "NPRINT Options" table.

/?

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.)

NPRINT Options

Option

Use to

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 "Help" 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.

Using NPRINT

  • 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 doesn't 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 isn't 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. See"NET.CFG Options Reference" in NetWare Client for DOS and MS Windows Technical Reference.

  • Unlike DOS PRINT, NPRINT is not a terminate-and-stay-resident (TSR) application.

Examples

To

Type

Print file MARCH.PRJ

NPRINT MARCH.PRJ

Print file MARCH.PRJ using print job configuration REPORTS.

NPRINT MARCH.PRJ J=REPORTS

Send file MARCH.PRJ to network printer P1

NPRINT MARCH.PRJ P=P1

Send file MARCH.PRJ to print queue Q1

NPRINT MARCH.PRJ Q=Q1

Print file MARCH.PRJ without a banner

NPRINT MARCH.PRJ NB

Print files beginning with MA with extension .PRJ.

NPRINT MA*.PRJ

Print five copies of file MARCH.PRJ with no banner.

NPRINT MARCH.PRJ P=P1 C=5 NB <Enter>

View all online help screens

NPRINT /? ALL

View specific help for the No Banner option

NPRINT /? NB

Additional Information

Topic

See

NET.CFG file

"NET.CFG Options Reference" in NetWare Client for DOS and MS Windows Technical Reference

NPRINT

"Using NPRINT" in Print Services

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1996 Hewlett-Packard Development Company, L.P.