If your HP Photosmart C5100 or similar printer has started only printing the last page of any document then you have a issue with newly updated drivers. The standard steps to resolution are,

  1. Run the printing troubleshooter
  2. Delete the printer, remove the drivers and reinstall

If you have tried these and they did not work this may be because HP use the same drivers for all their Photosmart printers and the default settings for the new drivers are wrong for older models.

The correct settings for the HP Photosmart C5100 are shown below.