How To Install foo2hp on Fedora 34

foo2hp is Linux printer driver for HP 1600, HP 2600n

Introduction

In this tutorial we learn how to install foo2hp on Fedora 34.

What is foo2hp

foo2hp is an open source printer driver for printers that use the Zenographics ZjStream wire protocol for their print data, such as the HP Color LaserJet 2600n and the HP Color LaserJet CP1215. These printers are often erroneously referred to as winprinters or GDI printers. However, Microsoft GDI only mandates the API between an application and the printer driver, not the protocol on the wire between the printer driver and the printer. In fact, ZjStream printers are raster printers which happen to use a very efficient wire protocol which was developed by Zenographics and licensed by most major printer manufacturers for at least some of their product lines. ZjStream is just one of many wire protocols that are in use today, such as Postscript, PCL, Epson, etc. Users of this package are requested to visit the author’s web page at http

We can use yum or dnf to install foo2hp on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install foo2hp.

Install foo2hp on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install foo2hp using dnf by running the following command:

sudo dnf -y install foo2hp

Install foo2hp on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install foo2hp using yum by running the following command:

sudo yum -y install foo2hp

How To Uninstall foo2hp on Fedora 34

To uninstall only the foo2hp package we can use the following command:

sudo dnf remove foo2hp

foo2hp Package Contents on Fedora 34

/usr/bin/arm2hpdl
/usr/bin/foo2hp
/usr/bin/foo2hp2600-wrapper
/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/6e4107916ee79146cb120478f0889080556d5f
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/7b098fb76dae46cd4667e6873cd7d0c1993d25
/usr/share/cups/model/HP-Color_LaserJet_1600.ppd.gz
/usr/share/cups/model/HP-Color_LaserJet_2600n.ppd.gz
/usr/share/cups/model/HP-Color_LaserJet_CP1215.ppd.gz
/usr/share/doc/foo2hp
/usr/share/doc/foo2hp/ChangeLog
/usr/share/doc/foo2hp/README
/usr/share/foomatic/db/source/driver/foo2hp.xml
/usr/share/foomatic/db/source/opt/foo2hp-AlignC.xml
/usr/share/foomatic/db/source/opt/foo2hp-AlignM.xml
/usr/share/foomatic/db/source/opt/foo2hp-AlignY.xml
/usr/share/foomatic/db/source/opt/foo2hp-BitsPerPlane.xml
/usr/share/foomatic/db/source/opt/foo2hp-ColorMode.xml
/usr/share/foomatic/db/source/opt/foo2hp-Duplex.xml
/usr/share/foomatic/db/source/opt/foo2hp-ICM.xml
/usr/share/foomatic/db/source/opt/foo2hp-InputSlot.xml
/usr/share/foomatic/db/source/opt/foo2hp-MediaType.xml
/usr/share/foomatic/db/source/opt/foo2hp-PrinterType.xml
/usr/share/foomatic/db/source/printer/HP-Color_LaserJet_1600.xml
/usr/share/foomatic/db/source/printer/HP-Color_LaserJet_2600n.xml
/usr/share/foomatic/db/source/printer/HP-Color_LaserJet_CP1215.xml
/usr/share/licenses/foo2hp
/usr/share/licenses/foo2hp/COPYING
/usr/share/man/man1/arm2hpdl.1.gz
/usr/share/man/man1/foo2hp.1.gz
/usr/share/man/man1/foo2hp2600-wrapper.1.gz

References

Summary

In this tutorial we learn how to install foo2hp on Fedora 34 using yum and dnf.