SAMPLE: PrncDlg.exe - Common Dialogs and Printing Functions

ID: Q81337

The information in this article applies to:

SUMMARY

PrncDlg.exe is a file in the Microsoft Software Library that demonstrates using the new printing functions available in Windows 3.1. The sample demonstrates the SetAbortProc(), StartDoc(), EndDoc(), StartPage(), and EndPage() functions.

The sample also demonstrates using the ChooseFont() and PrintDlg() common dialog boxes provided by the common dialog box library. The sample allows the user to select a font and display a line of text to the screen using that font. Also, the user can print the same line of text to a printer selected through the PrintDlg() common dialog box.

MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

 ~ Prncdlg.exe (size: 27033 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE : How to Obtain Microsoft Support Files from Online Services

Additional query words: Keywords : kbfile kbsample kb16bitonly kbCmnDlg kbCmnDlgFont kbCmnDlgPrint kbGrpUser kbWinOS310

Last Reviewed: December 24, 1998