Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

Default printer

$
0
0

Hello,

How I can detect which is the default printer in windows?

I've done various experiments and should not walk away.
If you use PC_PRINTER_INFO PC_PRINTER_OPEN after the printer is set by default prints a blank page.
If you use PC_PRINTER_SET_DEFAULT opens a window to select a printer.
In both cases I can know the default printer but is not very good print a blank page or be closing a window.

Thanks

Alberto Ferraz


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>