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.
  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=