Guidelines
We have new content about printers, Click here to check it out!
HP Recommended
Color Laser Jet Pro MFP M277dw

ERROR: syntaxerror

offending command: (endless codes follow) 😞

5 REPLIES 5
HP Recommended

@worry

 

Welcome to HP Support Community

 

Are you able to make Photocopies or print a Test Page?

 

To assist you better please let me know if you are using a Windows PC or Mac.

 

Have you tried printing from other devices?

 

Keep me posted

 

Thank you 😊

KrazyToad
I Am An HP Employee

HP Recommended

Hello KrazyToad, thanks for wanting to help me. I can make photocopies, no problem. I

 work on a Macbook and for the first year my printer didn't give me any problems. I order my printingcasettes at 123Inkt, a large online company. They advised me to use their housebrand casettes. I think the problems started then. I have now an HP black ink casette, but the coloured ones still the 123inkt brand. I wonder if this causes the problems. I can print al kind of things (diagnostic page and stuff like that) from the menu on the printer itself, the problem is just all the time with things I send from my macbook. 

Of course I tried switching of and on. And I tried the button 'service' and 'restore defaults'. When I do this, the printer prints ONE document perfectly. The second document... codes again...

Hope you can find out what the problem is.

greetings, Worry

HP Recommended

@worry

 

It looks like you were interacting with @KrazyToad, but he is out for the day & I'll be glad to help you out. 

Syntaxerror is a post script error typically seen while printing PDF files.

Are you printing a PDF file?

Which application are you using to print. Eg: Adobe, Preview?

 

 

Senan6806


I am an HP Employee

HP Recommended

Hi, thanks for wanting to help me.

I am using preview. And you seem to be right, I tried it out, the problem seems to occus when and after trying to print a PDF. What can I do?

HP Recommended

@worry

 

You are welcome! Let's try removing the existing printer driver and then setting up the printer with Apple AirPrint. Here is how to do it:

Please ensure that the printer is up to date with its firmware and Mac is up to date with it's software. If you are unsure you may use the links below to update the printer firmware and Mac software:

Update printer firmware

Update software on Mac 

 

1.) Click the Apple menu, click System Preferences, and then click Print & Scan or Printers & Scanners.
2.) 
Check if your printer name displays in the Printers list, If your printer is listed, click the printer name, click the minus sign to delete the printer.

3.) If you see multiple printer queues for the same printer, remove all extra printers by selecting them one at a time, and then clicking the minus button  at the bottom of the list.

4.) Click the plus sign , click Add Printer or Scanner, click the printer name.

5.) Click the Use or Print Using menu, select AirPrint or Secure AirPrint in the pop-up menu. Then click Add.

Select AirPrint from the Use menu

 

6.) Try to print.

Let me know how it goes!

 

If the information I've provided was helpful, give us some reinforcement by clicking the Accepted Solution and Kudos buttons, that'll help us and others see that we've got the answers!
Have a great day!

Senan6806


I am an HP Employee

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.