Pre and post scripts before and after printing

Hello,

after finishing to mount my printer box including light and camera i think it could be interesting to switch on lighter before printing to see with the cam how the printing run.
And after printing finished stop the lighter.
If before and after printing i can call a “wiring pi” script to open or close the light :slight_smile:

Regards,

JDSR