The CAPTURE and NPRINT utilities

Printing with print job configurations in a different context

Occasionally, you may want to send print jobs using a print job configuration in another context.

In releases prior to NetWare Services, searches for print job configurations were limited to your current context and the context immediately above it in the Directory tree.

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.ACME, your command would be as follows:

CAPTURE P=P_1 LPT1 J=RPT:.DALLAS.SWRGN.ACME


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 Administering 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.ACME

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 <Ins> to browse the tree. At the context you want, you can view the configurations you have rights to see.


© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999