You can call print dialogs yourself to collect data, such as number of pages, number of copies, etc. But these data are useless, unless you want to do the print job youself. It's programmer's job to take care all the troubles so that users can set printer properties. Programmer can't.
😉There are examples in C on MSDN demonstrate how to call print dialogs to collect data, get printer dc, set abort procedure, start document, start page, draw image/text on it, end page, end document, etc.
The following link point to "Print Dialog Box" on MSDN:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/UserInput/CommonDialogBoxLibrary/AboutCommonDialogBoxes/PrintDialogBox.asp
Good luck.
George Zou
h
ttp://gtoolbox.yeah.net
George Zou