Preliminary HPLIP port (HP Printers)

Anish Mistry mistry.7 at osu.edu
Tue Apr 4 22:55:59 UTC 2006


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

MD5 (hplip.tgz) = ff1d670605cfcd4f519e9239fd08db3d
SHA256 (hplip.tgz) = 
61c29b302d58feeba496173e95e258bd66c811fae2a15530103df3469a899080

I've updated the port skeleton to include the dependency to py-qt so 
that hp-toolbox works.  Note, the posted skeleton does not work with 
my Officejet, but it DOES work reading and writing with my Deskjet 
5550.  That means hp-toolbox shows ink levels, status messages, the 
works.  If you have a Deskjet this should unlock all the 
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 
reply from the HP engineers on the HPLIP list.

The side-effect of this is not being able to read from Officejet 
devices means that scanning, and status information is not provided.  
Device::Write works, so I'm able to at least print to my Officejet 
5510v.  The key right now for hplip, you have to run the printer as a 
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="YES"
hpssd_enable="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 
&& /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. 
If not, send the relevant parts of your syslog output.
7) Run hp-toolbox for all of that fun printer information

-- 
Anish Mistry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060404/d4f322b4/attachment.pgp


More information about the freebsd-ports mailing list