C++: Is there a way to programmatically check if my printer is an Inkjet or a Laser printer?

586 Views Asked by At

I'm writing a program to display the type of printer connected to the system with it's other details, but i can't seem to find any function, method or class that gives me the details on the printer's type(i.e: if it's an inkjet or a laser printer). Any suggestions at to how to do it will be greatly appreciated. Thanks.

2

There are 2 best solutions below

4
mkag On
0
Death Guard On

So, as far as my research took me there is definitive no way to do this. This doesn't work because the printer drivers aren't equipped to return those values as stated by @Drake Wu - MSTF. So I have decided to build a database of the information I required and use that.