Pasang hplip dan hplip-plugin di IGOS Nusantara

Dari IGNwiki
Langsung ke: navigasi, cari

Pasang hplip dan hplip-plugin di IGOS Nusantara

Persiapan

1. Pasang IGN D9

2. Buat direktori dan unduh berkas

#
mkdir /home/igos/hp
cd /home/igos/hp
wget http://repo.informatika.lipi.go.id/driver/printer/hp/hplip/hplip-3.14.3.tar.gz
wget http://repo.informatika.lipi.go.id/driver/printer/hp/hp-plugin/hplip-3.14.3-plugin.run


Instalasi

1. Install paket yang diperlukan:

# 
yum -y -d 10 -e 1 install avahi-tools cups cups-devel \
dbus-devel audit gcc-c++ ghostscript openssl-devel \
libjpeg-devel net-snmp-devel glibc-headers libtool libusb1-devel \
make wget python-imaging polkit polkit-gnome PyQt4 dbus-python \
pygobject2 python-devel notify-python python python-reportlab \
sane-backends sane-backends-devel sane-frontends xsane

2. Hapus beberapa paket:

# 
rpm -ev --nodeps libsane-hpaio
rpm -ev hplip-gui
rpm -ev hplip
rpm -ev hpijs

3. Ekstrak berkas

# 
tar xvfz hplip-3.14.3.tar.gz

4. Masuk ke direktori installer dan lakukan instalasi

# 
cd hplip-3.14.3/

5. Lakukan build dari source

Untuk IGN D9 32 bit

#
./configure --with-hpppddir=/usr/share/cups/model/HP --prefix=/usr \
--enable-qt4 --disable-libusb01_build --enable-doc-build \
--disable-cups-ppd-install --disable-foomatic-drv-install \
--disable-foomatic-ppd-install --disable-hpijs-install \
--disable-udev_sysfs_rules --disable-policykit \
--enable-cups-drv-install --enable-hpcups-install \
--enable-network-build --enable-dbus-build \
--enable-scan-build --enable-fax-build


Untuk IGN D9 64 bit

#
./configure --with-hpppddir=/usr/share/cups/model/HP \
--libdir=/usr/lib64 --prefix=/usr --enable-qt4 \
--disable-libusb01_build --enable-doc-build \
--disable-cups-ppd-install --disable-foomatic-drv-install \
--disable-foomatic-ppd-install --disable-hpijs-install \
--disable-udev_sysfs_rules --disable-policykit \
--enable-cups-drv-install --enable-hpcups-install \
--enable-network-build --enable-dbus-build \
--enable-scan-build --enable-fax-build

Lakukan make dan make install

# make
# make install

6. Matikan SELinux

#
setenforce 0

7. Tambahkan pengguna ke grup lp dan sys

# 
/usr/sbin/usermod -a -G lp,sys igos


Tambah printer

1. Akses menu:

Sistem -> Administrasi -> Print Settings

2. Klik Tambah

Tambah plugin

Jalankan:

# hp-plugin

Klik "Select and install an existing ...", lalu masukkan alamat:

/home/igos/hp/hplip-3.14.3-plugin.run

Lanjut klik "Next"

Muncul "The download of the digital signature file failed.", klik "Yes"

Muncul License Aggrement, klik "[x] I agree to term ...", lalu "Next"

Tes melakukan scan

Gunakan Simple Scan, ada di menu:

Aplikasi -> Grafik -> Simple Scan

Referensi