Chapter 31 -- Check Your Printing

Chapter 31

You should consider printing as part of your program's user interface, even though the user doesn't interact with printouts in the usual sense. Providing a print preview does make printing a more obvious part of the user interface. In fact, printing code is often derived from the display code—MFC's document/view architecture encourages this—and it has many similar types of problems. But the problems unique to printing include:

  • Handling printer errors, such as the printer being turned off or being out of paper
  • Handling all paper sizes, not just 81/2-by-11-inch paper
  • Handling all printer resolutions
  • Handling landscape and portrait modes
  • Handling the printing of single pages vs. complete documents
  • Handling color vs. black-and-white printing

In this chapter, I'll explore useful printing features you should consider providing and offer some tips on how to test for printing problems.



Developing User Interfaces for Microsoft Windows
Developing User Interfaces for Microsoft Windows
ISBN: 0735605866
EAN: 2147483647
Year: 2005
Pages: 334

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net