I have switched from wireless to USB connection for the printer. I have tried to print the same document as before and it has printed successfully.
The problem now seems to be narrowing to be because of the wireless connection.
However, I would still like to correct the original problem and get the wireless printing to work correctly with my HP Pavilion.
Tipshorn-al