http://msdn.microsoft.com/library/techart/msdn_msdn93.htm
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:
file: /Techref/os/win/instprns.htm, 1KB, , updated: 2000/8/7 16:10, local time: 2024/11/19 02:25,
18.221.54.138:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/techref/os/win/instprns.htm"> os win instprns</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.