|
|
Question : Batch WMIC PrinterStatus not updated
|
|
Hello,
I want to be able to check the printer status using the command line. Since it concerns a windows XP Embedded system and I do not want to bloat the image, VB is not included, so I realy need a simple, preferably XP internal, command line tool. Using 'wmic printer get', I do get all the printer info, but for an unknown reason, it always seems to return 'PriniterStatus 3', whether the device is attached or not, while the windows explorer view of the printer, does update to 'offline' state.
So I actually want to know why the wmic PrinterStatus is not updated. (Or, if this doesnt get resolved, be provided with a decent, simple, command line alternative.)
|
Answer : Batch WMIC PrinterStatus not updated
|
|
Also in my windows xp is always unknown!! but this command is ok WMIC path cim_printer get name,printerstatus
---------------------------------------------- Value Meaning 1 0x1 Other 2 0x2 Unknown 3 0x3 Idle 4 0x4 Printing 5 0x5 Warming Up 6 0x6 Stopped printing 7 0x7 Offline --------------------------------------------
Bye Gastone Canali
|
|
|
|
|