Hp P1102

Christian Külker

0.1.1

2024-06-03

Introduction

The HP P1102 is a small and older desktop printer for office use. While the footprint is small, it was one of the first models that did not work out of the box when it was new. At least for me. When attached to a new Debian 8-11 system on MATE, Gnome or XFCE, a device discovery would automatically add the printer. On Debian 9, I noticed that if the device was turned on and off with the button, the automatic would add a second one. And when trying to use it, it would print to nirvana if a proprietary binary blob from HP was not installed. This could be mitigated by installing the proprietary blob from HP and the HP print library software, which gives additional information about the printer, but seems to be implemented rather poorly, as it has bugs and crashes. Originally I thought the HP P1102 was called a “winprinter” or “GDI printer” and would not print with proprietary blob.

Yesterday, out of frustration, I searched the Internet and found that there is indeed an open source driver for the P1102 called foo2zjs.

Installation

aptitude install printer-driver-foo2zjs printer-driver-foo2zjs-common psutils

The psutils is only needed for n-up printing.

Configuration

After installation, the configuration can be done using the Desktop Printer tool, which can be found in the “Settings” section.

This would be the values that the process gave and the serial will probably be different for other printers.

Device URI: usb://HP/LaserJet%20Professional%20P1102?serial=000000000Q90JHE1PQ1
Make and Model: HP LaserJet Pro P1102 Foomatic/foo2zjs-z2 (recommended)

Starting (Enable) Stopped Printer

lpstat -p
printer Hewlett-Packard-HP-LaserJet-Professional-P1102 is idle.  enabled since\
 Thu 21 Mar 2024 12:53:06 PM CET
printer HP-LaserJet-Professional-P1102 disabled since Thu 21 Mar 2024 12:52:57\
 PM CET -
        Unplugged or turned off
printer HP-Photosmart-C4100-series is idle.  enabled since Thu 14 Mar 2024\
 10:49:28 PM CET
printer HPC-C4810-USB is idle.  enabled since Thu 14 Mar 2024 10:54:43 PM CET

cupsenable HP-LaserJet-Professional-P1102

lpstat -p
printer Hewlett-Packard-HP-LaserJet-Professional-P1102 is idle.  enabled since\
 Thu 21 Mar 2024 01:03:25 PM CET
printer HP-LaserJet-Professional-P1102 is idle.  enabled since Thu 21 Mar 2024\
 01:02:50 PM CET
printer HP-Photosmart-C4100-series is idle.  enabled since Thu 14 Mar 2024\
 10:49:28 PM CET
printer HPC-C4810-USB is idle.  enabled since Thu 14 Mar 2024 10:54:43 PM CET

History

Version Date Notes
0.1.1 2024-06-03 Add Starting (Enable) Stopped Printer, Introduction
0.1.0 2023-04-25 Initial release

  • Hp P1102