How do you set a printer to be the default printer? I have been trying to do it using AddPrinter() and in the PRINTER_INFO_2 struct I set the attributes to PRINTER_ATTRIBUTE_DEFAULT, but when I do this, I get the message "No default printer selected." from MS Works,
Can anyone help?
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.