hplip-0.8.4 on slackware

Valter Ballantini <[email protected]> Wed, 19 Jan 2005 20:02:04 +0100
Newsgroups gmane.linux.drivers.hpofficejet.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have installed hplip-0.8.4 on slackware 10.0 successfully, so I'm
going to explain how.
First of all we need just cups and python (no *-devel packages are
required) that are present on slackware CDs/DVD; then it's necessary
to download PyQt and net-snmp. I've found these packages on
http://www.linuxpackages.net.
Install everything with the usual installpkg packagename.tgz (or
upgradepkg --install-new packagesname.tgz).
Download the source code for hplio-0.8.4 at
http://hpinkjet.sourceforge.net/, and follow the instruction provided
in Step 2 at http://hpinkjet.sourceforge.net/install.php except for
point 10. Infact Slackware doesn't have the directory /etc/init.d so
the "make install" command is not able to put hplip there. But
/etc/init.d/hplip is a soft link to /usr/hplip/hplip.sh so you can
create it in the normal slackware "init" position: ln -sf
/usr/hplip/hplip.sh /etc/rc.d/rc.hplip.
So type "/usr/hplip/hplip.sh restart" or "/etc/rc.d/rc.hplip restart"
and than follow Step 3 to install the printer.

To make your system initialize the printer every time you power on,
you have to modify file /etc/rc.M.
Since hplip has to start before the spooling system start, it's
necessary to have something like this:

===================================
# Start the HP driver hplip.
if [ -x /etc/rc.d/rc.hplip ]; then
~   /etc/rc.d/rc.hplip restart
fi
===================================

before this
===================================
# Start the print spooling system.  This will usually be LPRng (lpd)
or CUPS.
if [ -x /etc/rc.d/rc.cups ]; then
~  # Start CUPS:
~  /etc/rc.d/rc.cups start
elif [ -x /etc/rc.d/rc.lprng ]; then
~  # Start LPRng (lpd):
~  . /etc/rc.d/rc.lprng start
fi
===================================

Hope everything is clear, and many thanks to Cory and the others for
this piece of software.

Ciao

- --
==================================================
~         dott. chim. Valter Ballantini
~             Studio di Consulenza
~ Igiene Industriale, Ambientale e degli Alimenti
==================================================
~         Linux Register User # 313413
~     at Linux Counter http://counter.li.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB7qsWUbiVIThfinURAkztAKCnbEgazj0+JczT5DNeGDMtZxCgbgCeOusw
sxnCJuS7kqu2ORcvTuqEwZI=
=JkW4
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl