On 6/28/21 1:22 PM, R.Wieser wrote:
Thats one of them. It could not hurt to take a peek at the other functions in that group ("see also", "Print Spooler API Functions") though.
Depending on what exactly you are looking for - all currently usable printers, or just a list of possible ones (with drivers installed for them) or something other - the function(s) you need might differ.
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
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)