Computer failure with peripheral device functionality

How do I fix either my desktop or printer or both, when my Canon MP210 printer keeps printing when and after the computer hangs and starts the printing all over again when the computer is shut down then booted.
The computer was booted a fresh after numerous attempts to refresh failed.
