Is it possible to check a printers status from NAV? I'm thinking some sort of automation perhaps (which I don't have much experience with)
Using NAV5.1
I'm using SHELL and Foxit to print to several Network printers, but I'd like to check status on the printers before sending the print job. Just a simple offline/online status.
0
Answers
One thing, that puzzles me, is, how will I receive the status "answer" in NAV?
Perhaps it would be sufficient to just ping the network printer first. How would I recieve the reply, if I do this via SHELL? Any other way to ping in NAV?
To use ping, you ether need a version of ping that returns a non-null exit value on failure (standard microsoft windows ping does not) or redirect it's output and analyze the generated output.
A port scanner might be better suited for the task than ping.