Hi neville82,
I understand you're having some printing issues with your Photosmart 5520 printer. I'm sorry to hear you've been having these difficulties but I will certainly do my best to help you.
I just need to ask a few more questions to help you better.
1. Are you working with Windows or Mac?
2. What program(s) are you trying to print from when this is happening?
3. Are you able to make a copy successfully without it cancelling? (Try making 3-5 copies of something)
4. Is the printer already plugged directly to a wall outlet?
Once I have this information I should be able to assist you!!