Printing

Printing Overview

Printing is a major concern that should be addressed at the early stages of your project. Printing is a World Ready (WR) sensitive issue due to the following factors:

  • Paper Size: Paper sizes in the United States and Canada (such as letter, legal, and so on) do not satisfy the needs of all users in the world market. For example, most countries in Europe and Asia use a slightly larger standard known as “A4” (297 x 210 mm) that is slightly longer and narrower than the U.S. letter size (279 x 216 mm). Thus, if your application needs to print, you should allow the default paper size to be configurable. Win32 NLS APIs can help you detect the default paper size associated with a given locale. This information can be obtained from the GetLocaleInfo API with the LCType flag set to LOCALE_IPAPERSIZE. The returned value is one of the following.
    CountryFormat
    1U.S. Letter
    5U.S. Legal
    8A3
    9A4
    See also ISO 216 Standard Paper Size for reference.

  • Character Sets: Issues with by printer drivers and printer technologies are more likely as support for more languages is added. Ensure that the work you did to support Complex Script and bidirectional text extends to printing.

Printing Areas

When considering printing, you should ensure the following areas are covered.

  • Regular Document Printing: Ensure any special characters, vowels, diacritics, kashidas, and headers and footers are covered. For bidirectional languages, you may need to set your document direction to right-to-left.
  • Print Preview: Most printing issues show up in Print Preview as well. Some of the common issues occur with character clipping, disconnected characters, zooming in/out, blank print preview content, and headers and footers.
  • Headers and Footers: As with the regular document surface, this area should be World Ready.
  • Other formats, such as XPS and PDF Printing: If your application supports printing XPS or PDF documents, then all the above issues should be applied to these document types.