Invoking Send and Save from the command line

If you are sending a job to a printer that supports Send and Save functions (and it is not already specified in the data stream), you can specify it from the command line. Send and Save is invoked by using the -S flag and you can select from these options:

-S flag options

Option Job Type Description
0 Normal Print [default] Prints the job immediately.
1 Sample Print Prints one copy of job and saves the job in the Sample Print Job list.
2 Locked Print Holds the job until you enter your PIN.

Ensure that you set your Personal Identification Number (PIN) by specifying -S2 -ynnnn. The PIN is the number you need to enter on your printer's Saved 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 Hold Print Saves the job in the Hold Print Job list for printing later.
4 Stored Print Saves the job in the Stored Print Job list.
5 Store and Print Prints and saves the job in the Stored Print Job list.
6 Documents Server Saves the job on the printer Document Server
    Note:
  • If the -S flag is not set to anything other than option 2, the printer ignores the PIN (-y ) number.

For example, if you are submitting to an AIX actual destination and you want your printer to print one copy of job1 then save it, enter this command:

pdpr -d ldname -x "destination-pass-through='-S5'" job1
where ldname is the name of the logical destination associated with your InfoPrint 2190, 2210, or 2235 actual destination in InfoPrint Manager.

If you are submitting to a PSF-Other actual destination, you must put a "-BE" value in the destination-pass-through attribute in front of the -S flag for the Send and Save commands to work correctly. For example, if you want your PSF-Other actual destination printer to print one copy of job1 and save it, enter this command:

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

If you are submitting to an AIX actual destination and you want your InfoPrint 2190, 2210, or 2235 printer to hold your job until you enter a PIN, enter this command:

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