Specifying -o attribute-value pairs
In InfoPrint, options appear as strings after the -o flag in the format keyword=value. For example,
enq -P DestinationName -obin=2 -oduplex=no FileName
Consider these situations when using -o with an AIX print command or with the lprafp command:
- The -o flag is not valid on the pdpr command. Use the similar or equivalent InfoPrint attributes listed for each -o keyword.
- Do not specify InfoPrint attributes with the -o flag.
- All -o keywords override the equivalent flags specified with the print commands (such as the -N flag of the enq and qprt commands).
- If you specify the same keyword with the -o flag multiple times, InfoPrint uses only the value of the last occurrence.
- When using keywords with the -o flag, you can use blanks between the keyword and the -o flag (for example -o bin=1). You cannot, however, use blanks between the keyword and the value (for example, -o bin=1 is valid; -o bin = 1 is not). Values that have blanks must be enclosed with single quotes or double quotes (for example, -odocname="Tim Memo").
- When using another flag with the -o flag, you cannot use blanks between the second flag and its value. For example, -o-w6i is valid; -o-w 6i is not.
- The keywords used with the -o flag are not case-sensitive. For example, -o BIN=1 and -o bin=1 are both valid.
- Values for some keywords (such as path names or form definition names), are case-sensitive; for example:
enq -P3900A -oformdef=F100S /usr/lpp/psf/README
andenq -P3900A -oformdef=F100S /usr/lpp/psf/readme
specify two different files to submit, just as:enq -P3900A -osfo=/usr/lpp/psf/VMfonts myfile
andenq -P3900A -osfo=/usr/lpp/psf/vmfonts myfile
specify two different directories to search for fonts.In addition, the first example below is valid and the second one is not because the -F keyword used with the ps2afp command must be uppercase.
enq -P3900A -odatatype=postscript -o-FFontMapFile enq -P3900A -odatatype=postscript -o-fFontMapFile
- These flags show the minimum version of the keyword, as well as the complete keyword. For example, you can abbreviate the -obin keyword to two letters: -obi.