Printing fails with foomatic-rip failure and "Unable to determine number of pages, page count: -1" message after upgrade to ghostscript in RHEL 7

Solution Verified - Updated -

Issue

Printing fails. The CUPS error_log reports "Process is dying with "Unable to determine number of pages, page count: -1". Occurred after upgrade to ghostscript package.

Environment

  • Red Hat Enterprise Linux (RHEL) 7.6
  • ghostscript-cups-9.07-31.el7_6.11 or ghostscript-9.25-2.el7_7.3
  • foomatic-4.0.9-8.el7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content