how do i use CreateDC to get a handle (hdc) for my printer?
CreateDC("Display",NULL,NULL,NULL,NULL) retrieves a handle for the screen.CreateDC
Printable View
how do i use CreateDC to get a handle (hdc) for my printer?
CreateDC("Display",NULL,NULL,NULL,NULL) retrieves a handle for the screen.CreateDC
Use either EnumPrinters() or PrintDlg() to egt the name of the printer.....this will then allow you to obtain a DC using CreateDC()