For the printer state, you can use idle_timeout.state != "Printing"
For the rest of the macro, I would highly recommend you look at Macro Creation Tutorial .
For the printer state, you can use idle_timeout.state != "Printing"
For the rest of the macro, I would highly recommend you look at Macro Creation Tutorial .