Article ID: 140538
Article Last Modified on 11/21/2006
APPLIES TO
- Microsoft Foundation Class Library 4.2, when used with:
- Microsoft Visual C++ 1.5 Professional Edition
- Microsoft Visual C++ 1.51
- Microsoft Visual C++ 1.52 Professional Edition
- Microsoft Visual C++ 2.0 Professional Edition
- Microsoft Visual C++ 4.0 Standard Edition
- Microsoft Visual C++ 4.1 Subscription
- Microsoft Visual C++ 4.2 Enterprise Edition
- Microsoft Visual C++ 4.2 Professional Edition
This article was previously published under Q140538
SUMMARY
By design, a Print dialog box is displayed in MFC printing. This dialog box
allows the user to change the printer settings before a printer device
context (DC) is created. However, there are cases when the print dialog box
is not a good idea. This article provides a way to bypass the Print dialog
box for a print job.
REFERENCES
For more information about the MFC printing, please refer to the
Programming with the Microsoft Foundation Class Library in Books Online.
Additional query words: kbinf 1.50 1.51 1.52 1.00 2.00 2.10 2.20 2.50 2.51 2.52 3.00 3.10 3.20
Keywords: kbcmndlgprint kbcode kbhowto kbprint KB140538