HP-UX 11i v3 International Printing Features
34
Some of the built-in options are, in fact, aliases of PPD options listed in the following table. Therefore,
specifying the corresponding PPD options is equivalent to using the built-in options.
Built-in Options Corresponding PPD Options
itray=input-tray InputSlot=input-tray
obin=output-bin OutputBin=output-bin
paper=paper PageSize=paper
side=1 Duplex=None
side=2 Duplex=DuplexNoTumble
side=tumble Duplex=DuplexTumble
Text Printing Notes
Most European mono-spacing fonts, such as Courier, have glyphs with a width-to-height aspect ratio
of about 0.6. Most CJK fonts containing ideographic characters have glyphs shaped like a square
with an aspect ratio of 1. As an ideographic character is expected to have the same width as two
ASCII characters, those ASCII characters must have an aspect ratio of 0.5. That is why ASCII
characters printed in an Asian locale sometimes look taller and narrower than ASCII characters
printed in the C or other European locales. Many CJK fonts also contain half-width ASCII characters
with an aspect ratio of 0.5 and are adjusted for a better match with the corresponding ideographic
characters.
When printing Unicode files, the psfontpf print filter determines whether any full-width characters,
like a CJK ideographic character, appear in the text file. If the file contains no full-width characters,
the other characters are printed with the natural aspect ratio of 0.6, unless this ratio is overridden by
the use of another font containing narrow characters with a 0.5 aspect ratio. When the file contains
some full-width characters, the half-width ASCII characters are printed with an aspect ratio of 0.5.
By default, the Courier font in the printer is used to print ASCII characters. To make the ASCII
characters look better when mixed with full-width ideographic characters, you might need to substitute
(download) the glyphs of the half-width ASCII characters in the CJK fonts, as you would with the
ideographic character. This can be done if the psfontpf configuration file defines 12 as the value
of the latin1 font type entry.
In portrait mode, letter-size paper holds 60 lines of 80-column text, whereas A4-size paper holds 66
lines of 80-column text by default. In landscape mode, the default is 45 132-column lines for both
paper sizes. For other paper sizes, the psfontpf print filter defaults to the use of 11-point fonts with
number of lines per page and characters per line determined by the current page size and page
margins.
You can change these default values by explicitly specifying the following groups of options, in
descending order of priority:
• hmi, vmi
• cpi, lpi
• width, lines/length
These options are interrelated, and changing one might force the others to change. For example:
lines-per-inch = lines/(page-height – top-margin – bottom-margin)
In such cases, an option you specify at a later time might invalidate a previously specified, related
option. For example, a letter-size page (8.5 inches x 11inches) with a page margin of 0.5 in and 6
lines per inch typically prints 60 lines per page. If you specify 66 as the number of lines per page
(lines) forces the lines-per-inch value to become 6.6.