Difference between revisions of "HP LaserJet 1020"
(→Installation) |
(→CUPS 1.4) |
||
Line 1: | Line 1: | ||
= Installation = |
= Installation = |
||
− | == CUPS 1.4 == |
+ | == Instructions pour CUPS 1.4 == |
1. Installer CUPS |
1. Installer CUPS |
||
Line 49: | Line 49: | ||
$> lpoptions -d HP_LaserJet_1020 |
$> lpoptions -d HP_LaserJet_1020 |
||
− | |||
== CUPS-2 == |
== CUPS-2 == |
Revision as of 23:14, 4 January 2015
Installation
Instructions pour 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
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