http://msdn.microsoft.com/library/techart/msdn_msdn93.htm

DDK@

They are listed as sub keys in the registry at:

John A. Grant says:

A much cleaner way to do this is to use the PrintDlg() function from COMMDLG. If you fill in the PRINTDLG struct with PD_RETURNDEFAULT | PD_RETURNDC, it will return an HDC for the default printer with no dialog box appearing.

If you decide at some point that you want to have a print setup feature and allow the user to choose a printer, then you just have to modify the flags in PRINTDLG to pop up the standard dialog box.

see also: