How about putting it on a power strip with the computer?
Power down the computer as normal, then power off the power strip.
That should shut down both devices. Plus, you can put on the printer, monitor, etc.

A far better solution would be a UPS, which will protect you from power surges, brownouts, etc. Plus, it gives the advantages of the power strip.