Ask Your Question

printer trouble

asked 2013-07-21 02:16:09 -0600

hoodoo gravatar image

New to Fedora - just installed Fedora 19.
HP Laserjet 1020 shows up in Printer settings local host (its plugged in via usb). When I try to print a test page (or anything else) the job gets rendered sent through / reported complete but the printer does nothing. It's turned on, plugged in. Any help appreciated.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-07-21 09:48:20 -0600

cleitonlima gravatar image

At the printer page on Hplip site it's wrote that printer need a "downloadable driver plugin". So, you need to configure the printer with hp-setup.

In terminal: su -c "hp-setup"

the printer page on hplip:

edit flag offensive delete link more


Thanks. I looked at this - seems to require a fairly complicated installation for fedora 19; requires either diabling SELinux or setting to promiscuous mode; not sure if I want to to that without knowing a little more about it, esp. as Fedora 19 is not supported hence not clear if the installation will actually run. I'm currently looking at at alternative work around - setting up a cups print server on an old pc. Still interested in other advice e.g. has anyone installed the hp drivers on fedora 19? did they work? what are the implications of changing SELinux as required? Thanks

hoodoo gravatar imagehoodoo ( 2013-07-21 19:13:45 -0600 )edit

answered 2014-04-01 15:38:53 -0600

passthejoe gravatar image

updated 2015-04-07 12:52:19 -0600

Update on April 7, 2015:

I have printing working again with Fedora 21 and the HP LaserJet 1020.

I was able to get it working by following the instructions at

Basically, I had to remove the foo2zjs driver from the RPM Fusion repository, remove all HPLIP packages, remove the system-config-printer-udev package, download the foo2zjs driver from and follow the instructions. Then I started the system-config-printer utility in Fedora, and my printer was there and operational.

At one point during all of this, I got an SELinux warning about the USB printer, and I had to create an exception for it.

Here are the instructions from with my additions for my particular Fedora installation:

Click the link, or cut and paste the whole command line below to download the driver.

    $ wget -O foo2zjs.tar.gz

Now unpack it:

    $ tar zxf foo2zjs.tar.gz
    $ cd foo2zjs

Now compile and install it. The INSTALL file contains more detailed instructions; please read it now.

    $ make

Get extra files from the web, such as .ICM profiles for color correction,
and firmware.  Select the model number for your printer:
    $ ./getweb cpwl # Get Minolta Color PageWorks/Pro L .ICM files
    $ ./getweb 2200 # Get Minolta 2200 DL .ICM files
    $ ./getweb 2300 # Get Minolta 2300 DL .ICM files
    $ ./getweb 2430 # Get Minolta 2430 DL .ICM files

    $ ./getweb 1000 # Get HP LaserJet 1000 firmware file
    $ ./getweb 1005 # Get HP LaserJet 1005 firmware file
    $ ./getweb 1018 # Get HP LaserJet 1018 firmware file
    $ ./getweb 1020 # Get HP LaserJet 1020 firmware file

    $ ./getweb 1025 # Get HP LaserJet Pro CP1025nw .ICM files

Install driver, foomatic XML files, and extra files:
    $ su            OR  $ sudo make install
    # make install

At this point (or ANY point in this process), if SELinux throws an error on the USB printer, follow the utility's instructions to take care of it.

I did this as root. The SELinux utility prompted me to enter these lines, and on your system hopefully the same thing will happen. I'm not sure if this command is the same for everybody, but, as I say, the SELinux utility told me exactly what to do:

  # grep udev-add-printe /var/log/audit/audit.log | audit2allow -M mypol
  # semodule -i mypol.pp

This is also a good time to remove system-config-printer-udev:

   $ sudo yum remove system-config-printer-udev

Then add hotplug (this worked for me):

(Optional) Configure hotplug (USB; HP LJ 1000/1005/1018/1020):
    # make install-hotplug   OR $ sudo make install-hotplug

(Optional) If you use CUPS, restart the spooler:
    # make cups         OR  $ sudo make cups

For Fedora 6/7/.../20, and Ubuntu 7.10/8.x/.../14.x users:

    $ system-config-printer

As of April 2015, my printer is working with Fedora.

edit flag offensive delete link more


As of April 21, 2015 I can confirm that this fix for printing with the HP LaserJet 1020 still works!

passthejoe gravatar imagepassthejoe ( 2014-05-29 00:09:24 -0600 )edit

Question Tools

1 follower


Asked: 2013-07-21 02:16:09 -0600

Seen: 1,616 times

Last updated: Apr 07 '15