Under Windows 10, I have found the Devices and Printers
does not always list all the printers -- very frustrating
I find the missing printers by going into any program
with a print dialog and finding them in the pull down.
So I wanted to write a program that would give me a
quick list of printers, so I can see what is missing
from Devices and Printers.
This is what I wrote for Linux:
$i = <0> printer: <B4350>
$i = <1> printer: <Cups-PDF>
$i = <2> printer: <Cups_PDF_rn6>
$i = <3> printer: <Oki_B4350_on_dev_lp0_rn6>
$i = <4> printer: <Virtual_PDF_Printer>
I wanted to add an OS check to the above program
so it would give me Windows as well as Linux