Invoking Print and Hold from the command line

If you are sending a job to a workgroup printer that supports Print and Hold functionality (and it is not already specified in the data stream), you can specify it from the command line. You invoke the Print and Hold function by using the –U flag and you can choose from the following options:

-U flag options

Option Job type Description
1 Off Prints the job immediately.
2 Print and Hold Holds the job until you enter your PIN. Make sure that you set your Personal Identification Number (PIN) by specifying -U2 -Vnnnn. The PIN is the number you need to enter on your printer's Held Jobs menu to release the document for printing. If you do not fill in the nnnn with your PIN, the printer forces this number to 0000.
3 Verify Print Prints one copy and holds the remaining copies.
4 Repeat Print Prints all copies and stores the job.
5 Reserve Print Stores the job in memory.
    Note:
  1. The flags and values available for a specific printer might vary. See the Readme file of the printer colon file or the driver package to find the proper flags and values.
  2. If the -U flag is not set to anything other than option 2, the printer ignores the PIN (-V) number.

For example, if you are printing to an AIX actual destination and you want that printer to print one copy of job1 and then hold the remaining copies, enter the following command:

pdpr -d ldname -x "destination-pass-through='-U3'" job1
where ldname is the name of the logical destination associated with your InfoPrint workgroup actual destination in InfoPrint Manager.

If you are printing to a PSF Other actual destination, place a -BE value in the destination-pass-through attribute in front of the -U flag in order for the Print and Hold commands to work correctly. For example, if you want your PSF Other actual destination printer to print one copy of job1 and then hold the remaining copies, enter the following command:

pdpr -d ldname -x "destination-pass-through='-BE -U3'" job1
where ldname is the name of the logical destination associated with your printer.

If you are printing to an AIX actual destination and you want your InfoPrint workgroup printer to hold your job until you enter a PIN, enter the following command:

pdpr -d ldname -x "destination-pass-through='-U2 -Vnnnn'" job1
where nnnn is your four-digit PIN.