Difference between revisions of "HP LaserJet 1020"
(→Instructions pour CUPS 1.4) |
(→Installer CUPS-1.4) |
||
Line 3: | Line 3: | ||
== Installer 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 |
||
+ | --libdir=/usr/lib --enable-pdftops |
||
== Installer foomatic-filters == |
== Installer foomatic-filters == |
Revision as of 23:15, 4 January 2015
Contents
[hide]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