-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Printers
- Printing Errors or Lights & Stuck Print Jobs
- Message: `Error while printing'

Create an account on the HP Community to personalize your profile and ask a question
03-04-2021 10:34 PM
Every time hit `print', message shows up: `Error while printing' `OK'. If click OK, it goes back to printing page. What is the problem? Thank you.
Solved! Go to Solution.
Accepted Solutions
03-12-2021 01:14 PM
Thanks for replying!
Check the USB cable for damage and length, replace it if necessary, and restart your printer and computer.
-
Turn off the printer and your computer.
-
Disconnect the USB cable from your computer and printer, and then inspect the cable.
-
If the cable is damaged or longer than 3 m (9 ft 10 in), replace it.
-
If the cable is undamaged and shorter than 3 m (9 ft 10 in), connect the cable to a different USB port on the computer. The port should be USB 2.0 or greater. If you are using a USB hub or docking station, connect the cable directly to the computer.
-
-
Connect the cable to your printer, and then make sure the cable is fully secured to both ports.
-
Turn on the computer, and then wait for the computer to complete startup.
-
Turn on the printer, and then add your printer (Mac)
Also, disable the antivirus software installed on the computer and try printing.
Hope this helps! Keep me posted.
Please click “Accepted Solution” if you feel my post solved your issue, it will help others find the solution. Click the “Kudos/Thumbs Up" on the bottom right to say “Thanks” for helping!
TEJ1602
I am an HP Employee
03-09-2021 11:36 AM
@Losac, Welcome to HP Support Community!
To be able to assist you better, I'd like to know the following-
- How is the printer connected to the computer?
- Is there any antivirus software installed on your computer?
- Which application are you trying to print from?
Keep me posted for further assistance.
TEJ1602
I am an HP Employee
03-09-2021 05:29 PM
Hi TEJ1602
Thank you for your reply. The connection is by wire. Yes. I have McAfee Antivirus program in my computer. I tried to print several file format, such as pdf, doc, num. All show the same message.
Thank you for the help.
Losac
03-12-2021 01:14 PM
Thanks for replying!
Check the USB cable for damage and length, replace it if necessary, and restart your printer and computer.
-
Turn off the printer and your computer.
-
Disconnect the USB cable from your computer and printer, and then inspect the cable.
-
If the cable is damaged or longer than 3 m (9 ft 10 in), replace it.
-
If the cable is undamaged and shorter than 3 m (9 ft 10 in), connect the cable to a different USB port on the computer. The port should be USB 2.0 or greater. If you are using a USB hub or docking station, connect the cable directly to the computer.
-
-
Connect the cable to your printer, and then make sure the cable is fully secured to both ports.
-
Turn on the computer, and then wait for the computer to complete startup.
-
Turn on the printer, and then add your printer (Mac)
Also, disable the antivirus software installed on the computer and try printing.
Hope this helps! Keep me posted.
Please click “Accepted Solution” if you feel my post solved your issue, it will help others find the solution. Click the “Kudos/Thumbs Up" on the bottom right to say “Thanks” for helping!
TEJ1602
I am an HP Employee
03-13-2021 07:59 AM
Hi TEJ1602
I was not the one who posted the last message.
I did use the same USB cable from the HP printer on a PC laptop. It worked with no problem. The Antivirus program has been on my Mac for a long time while I had no printing problem. Look like the only thing changed recently is the upgrade of Mac operating system to MacOS Big Sur Version 11.2.2. I did check with Apple Support. They said it could be the compatibility issue with HP driver software.
Any suggestion? Appreciate very much your help.
Losac