Difference between revisions of "HP LaserJet 1020"

From Hugo Villeneuve
Jump to: navigation, search
(Installation)
(Instructions pour CUPS 1.4)
Line 1: Line 1:
 
= Instructions pour CUPS 1.4 =
 
= Instructions pour CUPS 1.4 =
   
1. Installer CUPS
+
== Installer CUPS-1.4 ==
  +
 
Tout d'abord, appliquer cette patch:
 
Tout d'abord, appliquer cette patch:
   
Line 10: Line 11:
 
--libdir=/usr/lib --enable-pdftops
 
--libdir=/usr/lib --enable-pdftops
   
  +
2. Installer foomatic-filters:
 
  +
== Installer foomatic-filters ==
   
 
$> wget http://www.openprinting.org/download/foomatic/foomatic-filters-4.0.17.tar.gz
 
$> wget http://www.openprinting.org/download/foomatic/foomatic-filters-4.0.17.tar.gz
Line 19: Line 21:
 
$> make install
 
$> make install
 
 
3. Installer foo2zjs:
+
== Installer foo2zjs ==
   
 
$> wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
 
$> wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
Line 37: Line 39:
 
L'imprimante devrait être détectée par CUPS
 
L'imprimante devrait être détectée par CUPS
   
4. Configurer LPR
+
== Configurer LPR ==
   
 
Pour voir les imprimantes disponibles:
 
Pour voir les imprimantes disponibles:

Revision as of 23:15, 4 January 2015

Instructions pour CUPS 1.4

Installer CUPS-1.4

 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


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
 

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

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

Instructions pour CUPS-2

La procédure est identique à celle pour CUPS-1.4. Cependant, il y a un problème lorsqu'on imprime un document PDF (postcript est correct).

le filtre de cups-filters-1.0.61 e

lpadmin -p lj1020 -o pdftops-renderer-default=gs