Newbie with an Elf and PSU Questions

I've got a Koonovo Elf. It uses a soft button to turn it on, and a software button to turn it off. I can figure out how to get a GPIO pin to activate the pushbutton, but how to shut down the printer? Can the PSU plugin somehow do this?

I just got the printer a couple weeks ago. It’s awesome. Anyways this should do what you want:

However, I plan on just taping the power button down so it’s always pushed in and just using a smart plug to turn the printer on and off.