NetWare 4.1/9000 Print Services
4-14
Sending Jobs to Network Printers Using CAPTURE and NPRINT
Using CAPTURE
#CAPTURE Q=queuename TI=n
or
#CAPTURE Q=queuename AU
You can include any other command options you want. If you include the
TImeout or Autoendcap option in the login script, to print a screen display
for example, you only need to press <Shift><Print Scrn>.
If you type a CAPTURE command at the DOS prompt, it overrides the
command in your login script if you capture the same port.
Container Login Script
Suppose you want to include a CAPTURE command in the container login
script for group SALES so they can use printer P_0. Add the following lines
to the container login script:
IF MEMBER OF “SALES” THEN BEGIN
#CAPTURE P=P_0 options
END
Note that in the above example, if you are using a bindery queue, you would
have to add a server name to your parameters (for example, S=SALES-
PRINT).
User Login Script
Suppose a user often prints from a non-network application by using
CAPTURE. The user wants to send a file to printer P_1, which is servicing
queue Q_1. The user wants to print the file without a banner or a form feed
and releases this job to the print queue five seconds after the application last
writes to the file.
Add the following lines to the user login script:
#CAPTURE P=P_1 NB NFF TI=5
Tips on Using CAPTURE
• You do not need to use CAPTURE if you use a NetWare-aware application that
is configured to send print jobs to printers or print queues.
• When setting up your Directory structure, keep printers, print job configurations,
and users as close together in the tree as possible. CAPTURE is normally a very