You can add a CAPTURE command to the
container login script or to a user login
script. For example, in the login script, type
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.
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 optionsENDNote that in this example, if you are using a bindery queue, you would have to add a server name to your parameters (for example, S=SALES-PRINT).
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