HP LaserJet 1020

From Hugo Villeneuve
Revision as of 17:31, 4 January 2015 by Hugo (talk | contribs) (Installation)
Jump to: navigation, search

Installation

Instructions d'installation avec CUPS 1.4

1. Installer CUPS

 Tout d'abord, appliquer cette patch:
   http://www.hugovil.com/repository/hvlinux/patches/cups-1.4.8-php54.patch
 Ensuite, configurer CUPS avec:
     --libdir=/usr/lib --enable-pdftops

2. Installer foomatic-filters:

 $> wget http://www.openprinting.org/download/foomatic/foomatic-filters-4.0.17.tar.gz
 $> tar -xf foomatic-filters-4.0.17.tar.gz
 $> cd foomatic-filters-4.0.17
 $> ./configure --prefix=/usr
 $> make
 $> make install
 

3. Installer foo2zjs:

 $> wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
 $> tar -xf foo2zjs.tar.gz
 Appliquer ma patch (HP1020)
 $> wget http://www.hugovil.com/repository/hvlinux/patches/foo2zjs-hvlinux-hp1020.patch
 $> cd foo2zjs
 $> patch -Np1 -i ../foo2zjs-hvlinux-hp1020.patch
 $> make
 $> ./getweb 1020
 $> make install
 $> make install-hotplug

Ma patch est nécessaire pour enlever la dépendance à l'utilitaire ex, et pour enlever automatiquement le module usblp lorsque le firmware de l'imprimante est téléchargé.

L'imprimante devrait être détectée par CUPS

4. Configurer LPR

Pour voir les imprimantes disponibles:

 $> lpstat -a
 HP_LaserJet_1020 accepting requests since Sat 28 Dec 2013 04:29:51 PM EST

Pour configurer l'imprimante par défaut:

 $> lpoptions -d HP_LaserJet_1020