Tag Archives: PDF

Fix limitcheck error when trying to print a PDF

17 Mar

I use an old salvaged office printer (Kyocera Ecosys FS-1118MFP) which might not be able to handle some fancy things with recent PDFs – or, who knows, the PDF was a very crappy one?

When trying to print the PDF in questions, I got an empty page and another one with the following error message:

ERROR:
limitcheck
OFFENDING COMMAND:
filter
STACK:
--nostringval--
--nostringval--
--nostringval--
--nostringval--
/DataSource
--nostringval--
--nostringval--
false
-mark-
-mark-
-mark-

A limitcheck error happens when a request “Exceeds printer’s memory or PostScript language limit.” The “offending command here” is “filter”, which probably has to do with decompressing an image.

On the second attempt at printing, the printer was stuck with the “receiving” led blinking for ages.

What helped me to print that PDF: I opened it with LibreOffice Draw (currently using version 6.1.5.2), which now does a great job at handling PDFs. I then exported it as a new PDF, which interestingly changed the size from 626.4 kB to 125.5 kB. I was then able to print the PDF without any error, and without having the printer think about it for an hour.

There will be other ways to fix that. You can try different way to reduce the complexity of the document (including converting it to an image before sending it to the printer). People often have success with reinstalling their printer for some reason.

Some links that might be of interest if you have that kind of error:

That was tested on an Ubuntu 18.04-derivative, with LibreOffice Draw version 6.1.5.2, Gnome Document Viewer 3.28.4 and CUPS 2.2.7.

Advertisements