Hi,
The query is generic on Printers classified as default printer from context menu of Start (option) ->Printers and Devices -> ABC Printer
1. my assumption in any Windows desktop application we have an option to display the ABC Printer to be reflected as default printer(check mark) in the Print dialog (Conventional means) Eg., as in MS Word, MS Excel etc., Or
2. An application could have something as displaying a specific printer among list of printers has default , based on some rule/logic overriding the above behavior,
for Instance.,
may be last printer selected in the print dialog would be a default printer in subsequent opening of print dialog.
Is this behavior mentioned above in item 2 qualifies for the printer to be classified as default printer,Or the Printer should invariably abide by the item 1 condition, of changes and selection of default printer been dependent on Control Panel-> Printers and devices -> Some printer selected as default.and also Print dialog within the application to reflect the changed printer set (Some Printer) has default. which is the correct behavior here (overriding or otherwise)
3. Also, my understanding on Printers suggest,
Default Printer selected from Control Panel -> Printers & Devices could be categorized into Network/Shared Printers(connection oriented/connectionless) or USB connected, the Printer devices would automatically configure the printer if connected through USB. But in case of Network/Shared Printers a finite time slice intrinsic to Printers(of Proprietary nature) is made to ascertain whether connectivity is established or not.
due to the above we have the default printer (check mark) gets changed based on the overall state of all available Printers been connected, and change the default printer state to another eligible printer periodically. Is this observation true ?
Could you please, provide/share a working example code where in both usages are implemented (VC++)
Thanks in advance,
Details:
Windows desktop application (VC++) VS 2010 IDE, Windows 7 O/S SP1
Regards,
VishalK_90