To get the status of the printer, a union should be defined.
ENUM PrintersTatus {Other Status = 1, Unknown, Idle, Print, Preheating, Stop Print, Print, Offline}
The "printing" and "printing" are the same meaning, as for why this is the case, I don't know.
Add a reference to System.Management in a program: use system.management;
The function of obtaining the printer status is written as follows:
///
Call example:
Messagebox.show (Getprinterstat ("192.168.88//samsung scx-4x16 series"). TOSTRING ());