At the outset, I would like to say hello to everyone. I have recently been using the Netgear R6220 router with OpenWRT software. I would like to thank everyone involved for the idea and work.
For my part, I missed the ability to control the printer. Unfortunately I didn't get it with the p910nd ... that's why I built a CUPS where it's easy to monitor the number of jobs to be printed.
I posted a simple program at https://github.com/gitkitsune/lpjobmonitor that monitors the CUPS server, and executes certain commands when it detects jobs in the buffer, and after the buffer is empty.
In my case, the program turns on the USB service and the "WPS LED", but instead of the diode I installed an optotriac, which controls the triac that connects the printer to the electrical network.
I will be very pleased if the program is useful not only for me