Skip to main content
Matthew Wright
Participating Frequently
May 5, 2025 10:07 PM UTC

Printing spools but no output after RHEL 8 upgrade

We're trying to upgrade from RHEL 7 to 8 (and upgrading UniVerse to the supported versions from 12.1 to 12.2.1)

Upgrading our test system to RHEL 8 (using the LEAPP in-place upgrade method) and then updating UniVerse to 12.2.1 worked as expected, and critically printing continued to work as normal.

However performing this on our production system, results in printing not functioning after the RHEL upgrade. I posted about this issue when we attempted this initially last year and as suggested we've taken a clone of the production system so we can experiment with it freely.

So far we've tried:

RHEL Upgrade only > printing fails > then Universe update > printing still fails

Universe update > printing ok > then RHEL > printing fails

Printing direct from the OS level e.g. # cat testfile.txt | lpr -P PRINTERNAME - this results in printer output.

So it seems performing the upgrade to RHEL 8 changes "something" in UniVerse which prevents UniVerse from spooling to the printer itself. 

Can anyone suggest some troubleshooting steps we could try? Red Hat support attempted some analysis their findings just pointed the finger back at UniVerse predictably.

Thanks.



------------------------------
Matthew Wright
Analyst
Tomago Aluminium Co PTY Ltd.
Tomago NSW AU
------------------------------

    13 replies

    Matthew Wright
    Participating Frequently
    May 15, 2025 3:08 AM UTC

    We're trying to upgrade from RHEL 7 to 8 (and upgrading UniVerse to the supported versions from 12.1 to 12.2.1)

    Upgrading our test system to RHEL 8 (using the LEAPP in-place upgrade method) and then updating UniVerse to 12.2.1 worked as expected, and critically printing continued to work as normal.

    However performing this on our production system, results in printing not functioning after the RHEL upgrade. I posted about this issue when we attempted this initially last year and as suggested we've taken a clone of the production system so we can experiment with it freely.

    So far we've tried:

    RHEL Upgrade only > printing fails > then Universe update > printing still fails

    Universe update > printing ok > then RHEL > printing fails

    Printing direct from the OS level e.g. # cat testfile.txt | lpr -P PRINTERNAME - this results in printer output.

    So it seems performing the upgrade to RHEL 8 changes "something" in UniVerse which prevents UniVerse from spooling to the printer itself. 

    Can anyone suggest some troubleshooting steps we could try? Red Hat support attempted some analysis their findings just pointed the finger back at UniVerse predictably.

    Thanks.



    ------------------------------
    Matthew Wright
    Analyst
    Tomago Aluminium Co PTY Ltd.
    Tomago NSW AU
    ------------------------------

    Ok I've got a solution for this - it seems that after the upgrade our /usr/ptr .drv files required an extra options flag.

    previous: cat - | lpr -P PRINTER -h

    new: cat - | lpr -P PRINTER -h -o page-ranges=1-

    Thanks for everyones responses, the relief is real! :D



    ------------------------------
    Matthew Wright
    Analyst
    Tomago Aluminium Co PTY Ltd.
    Tomago NSW AU
    ------------------------------
    Neil Morris
    Rocketeer
    May 15, 2025 7:18 AM UTC

    Ok I've got a solution for this - it seems that after the upgrade our /usr/ptr .drv files required an extra options flag.

    previous: cat - | lpr -P PRINTER -h

    new: cat - | lpr -P PRINTER -h -o page-ranges=1-

    Thanks for everyones responses, the relief is real! :D



    ------------------------------
    Matthew Wright
    Analyst
    Tomago Aluminium Co PTY Ltd.
    Tomago NSW AU
    ------------------------------

    That is very interesting. 

    Do you know why the simple tests at the OS prompt worked without that option? Size of the print jobs? 



    ------------------------------
    Neil Morris
    Universe Advanced Technical Support
    Rocket Software
    ------------------------------
    Matthew Wright
    Participating Frequently
    May 15, 2025 6:29 PM UTC

    That is very interesting. 

    Do you know why the simple tests at the OS prompt worked without that option? Size of the print jobs? 



    ------------------------------
    Neil Morris
    Universe Advanced Technical Support
    Rocket Software
    ------------------------------

    Yes the lpr version worked at the command line ok, but when trying it with the lp version as the uvdb user - it throws the error which is what tipped me off to try it

    # sudo su - uvdb -c "echo "test" | lpr -P PRINTER1"
    # (printed)

    # sudo su - uvdb -c "echo "test" | lp -P PRINTER1"
    lp: Bad page-ranges values 0-0.



    ------------------------------
    Matthew Wright
    Analyst
    Tomago Aluminium Co PTY Ltd.
    Tomago NSW AU
    ------------------------------