NetWare 4.1/9000 Print Services

4-13
Sending Jobs to Network Printers Using CAPTURE and NPRINT
Using CAPTURE
A new feature was added to the J= flag in CAPTURE and NPRINT that
allows you to use a print job configuration anywhere in your Directory tree,
so long as you have the rights to do this.
By using this feature, you can limit your search for the specified job
configuration to a specific context or to the owner of the database that
contains the configuration.
Note that the examples show only the CAPTURE command. You can do the
same thing with NPRINT.
The syntax for this feature is as follows:
CAPTURE J=jobname:context
For example, to use printer P_1 to print a document using print job
configuration RPT located in container object .DALLAS.SWRGN.HP, your
command would be as follows:
CAPTURE P=P_1 LPT1 J=RPT:.DALLAS.SWRGN.HP
NOTE: Placing the period in front of the container name indicates that you are specifying an
absolute context path; that is, you are showing the context all the way up to the root.
If you want to specify only a relative context path (one that does not go all the way
to the root) you should not use the period. For more information, see Introduction to
NetWare Directory Services.
You can specify any context anywhere in the tree, so long as you have rights
to the context or user you specify.
If you specify a user rather than a context, the command syntax is as
follows:
CAPTURE J=JOB1:CN=username.SALES.HP
If you do not know the job configuration’s name, select the “Change Current
Object” option from the PRINTCON “Available Options” menu. From the
“Enter Object” field, you can press <Insert> to browse the tree. At the
context you want, you can view the configurations you have rights to see.
Adding CAPTURE to Login Scripts
You can add a CAPTURE command to the container login script or to a user
login script. For example, in the login script, type