Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 2006 18:55:12 -0400
From:      Anish Mistry <mistry.7@osu.edu>
To:        freebsd-ports@freebsd.org
Subject:   Preliminary HPLIP port (HP Printers)
Message-ID:  <200604041855.26719.mistry.7@osu.edu>
In-Reply-To: <200604031621.54761.amistry@am-productions.biz>
References:  <200603311221.26099.duncan.fbsd@gmail.com> <20060403.132711.21331470.imp@bsdimp.com> <200604031621.54761.amistry@am-productions.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1199470.2e0SP2z5K0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I've got a preliminary version of hplip ported. You can download the=20
port skeleton:
http://am-productions.biz/docs/hplip.tgz

MD5 (hplip.tgz) =3D ff1d670605cfcd4f519e9239fd08db3d
SHA256 (hplip.tgz) =3D=20
61c29b302d58feeba496173e95e258bd66c811fae2a15530103df3469a899080

I've updated the port skeleton to include the dependency to py-qt so=20
that hp-toolbox works.  Note, the posted skeleton does not work with=20
my Officejet, but it DOES work reading and writing with my Deskjet=20
5550.  That means hp-toolbox shows ink levels, status messages, the=20
works.  If you have a Deskjet this should unlock all the=20
functionality that HP has provided with the hplip software.

I'm working on getting some feedback from the hplip folks about
why, GetInEP is returning a bogus endpoint in the Device::Read
method.  This seems Officejet specific and I'm still waiting on a=20
reply from the HP engineers on the HPLIP list.

The side-effect of this is not being able to read from Officejet=20
devices means that scanning, and status information is not provided. =20
Device::Write works, so I'm able to at least print to my Officejet=20
5510v.  The key right now for hplip, you have to run the printer as a=20
ugen device not ulpt.

If you'd like to try to get it setup, you need to:
1) make sure your printer is attaching as a ugen device.
2) install the port using the linked skeleton above
3) Add the following to you rc.conf:
hpiod_enable=3D"YES"
hpssd_enable=3D"YES"
Note:  right now those daemons run as root, I'm going to change
that once everything is working, but for right now that was
easiest. 4) Stop cups
5) You MUST start the services in the following order
/usr/local/etc/rc.d/hpiod start && /usr/local/etc/rc.d/hpssd start=20
&& /usr/local/etc/rc.d/cupsd start
5) Run hp-setup and follow the prompts.
6) You should have been able to print out the test page in step 5.=20
If not, send the relevant parts of your syslog output.
7) Run hp-toolbox for all of that fun printer information

=2D-=20
Anish Mistry

--nextPart1199470.2e0SP2z5K0
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQBEMvlexqA5ziudZT0RAgttAJ91m6IUAlxMfelwV9lW2JDLtqphAgCeLl5b
Wpu6m9GEX3KYrNQuFT0ikDY=
=rcum
-----END PGP SIGNATURE-----

--nextPart1199470.2e0SP2z5K0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604041855.26719.mistry.7>