|
Post by angelo2449 on Jul 5, 2021 7:55:25 GMT -5
Hi guys,
How can I check if the printer connected to the PC is online? (on).
Thank you.
|
|
|
Post by Brandon Parker on Jul 5, 2021 14:18:29 GMT -5
Are you trying to do it programmatically or is this something the user needs to be checking manually? You could use the PrinterDialog statement to open the default Windows printer dialog window and check manually. Programmatically, you can use the OpenPrinter or EnumPrinters functions. Just remember to use the ClosePrinter function if you open a handle to the printer. If you get stuck, just let us know and we can help you out. {:0) Brandon Parker
|
|