Configuring HP D1668 Deskjet in CentOS

From Notes_Wiki
Revision as of 18:30, 17 August 2018 by Saurabh (talk | contribs)

<yambe:breadcrumb>Printer drivers|Printer drivers</yambe:breadcrumb>

Configuring HP D1668 Deskjet in CentOS 5.4

(Required SELinux to be disabled, at least during installation)

  • Run 'yum -y -d 10 -e 1 install cups cups-devel gcc-c++ ghostscript libjpeg-devel glibc-headers libtool libusb-devel make python python-devel PyXML openssl-devel net-snmp-devel policycoreutils-gui PyQt PyQt-devel dbus-python notify-python sane-backends sane-backends-devel sane-frontends xsane python-imaging python-imaging-devel --skip-broken' as root.
  • Run 'ln -s /lib/libcrypto.so.0.9.8e /lib/libcrypto.so'. Make Sure file 'libcrypto.so.0.9.8e' exists. The newer version of library could be in place of 'libcrypto.so.0.9.8e'. Create symbolic link for whatever latest version of libcrypto is already installed.
  • Download latest version of hplip from http://prdownloads.sourceforge.net/hplip/ Extract the .tar.gz file and go to hplip directory
  • Run command './configure --prefix=/usr --with-hpppddir=/usr/share/cups/model/HP --libdir=/usr/lib64 --enable-qt3 --disable-qt4 --enable-hpijs-install --disable-hpcups-install --enable-foomatic-ppd-install --enable-foomatic-drv-install --disable-cups-drv-install --enable-foomatic-rip-hplip-install --disable-fax-build --disable-dbus-build' on 64-bit distributions.
  • Run 'make' and 'make install'
  • Go to System -> Administration -> Printing and add printer connected using USB.


Instructions are also given at http://hplipopensource.com/hplip-web/install/manual/distros/centos.html and the page gets updated regularly.