What Neil said, but make absolutely sure you've got rid of all vestiges of the virus before you start. Remove the printer drivers, switch off the PC, unplug the printer, then switch on the PC and re-install the printer. Note that some printers, particularly those made by HP, are sensitive to the order in which you do things, so go back to the original instructions.
Andy