Hello TraceyRenton,
Welcome to the HP Forums! I hope you enjoy your experience here.
I understand your Envy 4500 stops printing after 4 or 5 pages. I will do my best to assist you! First, I would like to ask you some questions:
What is your operating system on your computer? Windows.
Right now, how is this printer connected? Wireless or USB?
I would start off by following this entire HP document on 'Printer is offline' Message Displays on the Computer and the Printer Will Not Print. Try restarting the Print Spooler on your computer.
I will be looking forward to hearing from you. Have a great night! :smileyhappy: