-o attribute-value pairs
You can use these keyword-value pairs with the AIX print commands enq, lp, or qprt, or with the lprafp command, to pass information to InfoPrint:
- {-oac | -oaccount}=account
- Specifies the account information that InfoPrint prints on start, end, and separator sheets. The account information can also be used
for audit and accounting purposes.
This command keyword is equivalent to the InfoPrint document attribute account-text.
You must specify a value of full for one of the InfoPrint actual destination auxiliary sheet attributes (accounting-exit, audit-exit, printer-start-sheet, printer-end-sheet, or printer-separator-sheet) for InfoPrint to use this information.
The value is:
- account
- Any 1 to 20 characters of account information.
- -oaddress1=address1
- Specifies the first line of address information that InfoPrint prints on start, end, and separator sheets. The address information can also be used
for audit and accounting purposes.
This command keyword is equivalent to the InfoPrint document attribute address1-text.
You must specify a value of full for one of the InfoPrint actual destination auxiliary sheet attributes (accounting-exit, audit-exit, printer-start-sheet, printer-end-sheet, or printer-separator-sheet) for InfoPrint to use this information.
The value is:
- address1
- Any 1 to 90 characters of address information.
- -oaddress2=address2
- Specifies the second line of address information that InfoPrint prints on start, end, and separator sheets. Other information is the same as for
-oaddress1.
This command keyword is equivalent to the InfoPrint document attribute address2-text.
- -oaddress3=address3
- Specifies the third line of address information that InfoPrint prints on start, end, and separator sheets. Other information is the same as for
-oaddress1.
This command keyword is equivalent to the InfoPrint document attribute address3-text.
- -oaddress4=address4
- Specifies the fourth line of address information that InfoPrint prints on start, end, and separator sheets. Other information is the same as for
-oaddress1.
This command keyword is equivalent to the InfoPrint document attribute address4-text.
- {-obi | -obin}={1 | 2 to 255 | 65 | 100}
- Determines the input bin used for the job. This keyword overrides the value specified
in the form definition. If you do not specify the -obin keyword, InfoPrint uses the bin value specified in the form definition you provide for printing the
job. If you do not specify the -obin keyword and you use the default form definition to print your job, the input bin
value in the printer profile or in that form definition is used.
This command keyword is similar to the InfoPrint document attribute default-input-tray.
Values are:
- 1
- Selects the primary bin for the printer device. This is the default.
- 2 to 255
- You can specify bin 2 to bin 255. See your printer documentation for more information about the bins available on the printer device.
- 65
- Selects the envelope bin on certain printer devices.
- 100
- Selects manual feed on certain printer devices.
- {-obu | -obuilding}=building
- Specifies the building information that InfoPrint prints on start, end, and separator sheets. The building information can also be
used for audit and accounting purposes.
This command attribute is equivalent to the InfoPrint document attribute building-text.
You must specify a value of full for one of the InfoPrint actual destination auxiliary sheet attributes (accounting-exit, audit-exit, printer-start-sheet, printer-end-sheet, or printer-separator-sheet) for InfoPrint to use this information.
The value is:
- building
- Any 1 to 90 characters of building information.
- {-ocd | -ocdp | -ocod | -ocodepage}={850 | 437 | 860 | 863 | 865} DEFAULT=850
- Specifies the ASCII input code page used for the job; that is, the
keyboard
code that InfoPrint uses to translate the ASCII code points it finds in the job.This command attribute is similar to the InfoPrint document attribute default-character-mapping.
Values are:
- 850
- Defaults to the IBM code page 850.
- nnn
- Other possible input code page values are 437 (a subset of the IBM code page 850), 860 (Portuguese), 863 (French Canadian), or 865 (Nordic); however, none of these IBM code pages are directly supported by AIX. If you are using a different ASCII code page as your keyboard code page, you can select 437, 860, 863, or 865, depending on which code page is the closest match to the one you are currently using.
- Note:
- This parameter is used only for ASCII jobs. If you specify -odatatype=dbcsascii, InfoPrint ignores the value you specify for the -ocodepage keyword and value.
- The InfoPrint ASCII data type does not support the non-U.S. code pages supported by AIX (for example, IBM 932 and the variations of ISO8859). InfoPrint supports code pages 437, 860, 863, and 865 so that you can select the code page that most closely matches the one you are currently using, if you are located outside the United States and using the ASCII data type.
- If you are printing single-byte ASCII code points that are part of code page 943 (Japan), 950 (Traditional Chinese), or an Extended UNIX Code (EUC) code set for Japan, China, or Korea, you must use the db2afp command to print the file, even though the entire file is single-byte ASCII.
- {-ocop | -ocopies}={1 to 255} DEFAULT=1
- Specifies the number of copies of the job. If you also specify one of the copy flags
for the AIX print command (the -N flag of the enq and qprt commands, or the -n flag of the lp command), the value you specify with the -ocopies keyword overrides the value specified with the -N or -n flag.
This command keyword is equivalent to the InfoPrint document attribute copy-count.
Values are:
- 1
- The minimum number of copies. This is the default.
- 255
- The maximum number of copies.
- {-odatac | -odatack}={block | blkchar | blkpos | unblock} DEFAULT=block
- Determines what type of errors in the job cause InfoPrint to issue error messages.
This command keyword is similar to the InfoPrint document attribute data-fidelity-problem-reported.
The value you assign to this keyword can significantly affect IPDS printer performance as described in this list.
- block
- Block print-positioning errors and invalid-character errors; that is, do not report
these errors or issue error messages for these types of errors. This value produces
the best printer performance.
Print-positioning errors occur when the printer device tries to print outside the valid printable area of the form. Invalid-character errors include attempts to use a code point that is not assigned to a character in an AFP font.
block is the default.
- blkchar
- Block invalid-character errors; that is, do not report these errors. However, InfoPrint reports print-positioning errors and issues error messages for them.
- blkpos
- Block print-positioning errors; that is, do not report these errors. However, InfoPrint reports invalid-character errors and issues error messages for them.
- unblock
- Report all print-positioning errors and invalid-character errors. If the job has many errors, selecting