Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting HP Office Jet with USB into Gentoo ...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
ledents
n00b
n00b


Joined: 15 Jul 2002
Posts: 7

PostPosted: Tue Jul 23, 2002 6:48 am    Post subject: Getting HP Office Jet with USB into Gentoo ... Reply with quote

I know some of you would say it's not a big deal, every thing is documented already! Yes I admint but to find the right information you have to read at more than one place. So here is how I did it:


  1. Download the patched USB printer driver for alowing the printer to
    work using USB:
    http://hpoj.sourceforge.net/download/experimental/linux-usb/
    (I download printer-2.4.c for a 2.4 linux kernel!)
    and replace 'printer.c' from the kernel source with the downloaded one.

  2. Recompile the kernel with support for USB and usb printer andusbdevfs !!!

  3. install the new kernel (if needed) and modules and reboot (if needed!)
    and make sure to load the nessecary modules:
    modprobe printer (usb printer driver)

  4. poweron your printer and check that the printer is seen by the system
    using usbview or just looking in /proc/usb ...

  5. download the CVS version of the 'hpoj' driver (ref to http://hpoj.sourceforge.net/download.shtml for more info)
    cvs -d:pserver:anonymous@cvs.hpoj.sourceforge.net:/cvsroot/hpoj login (just press ENTER for a password)
    cvs -d:pserver:anonymous@cvs.hpoj.sourceforge.net:/cvsroot/hpoj co hpoj

  6. Compile the hpoj driver:
    make && make install

  7. Setup the printer driver:
    /etc/init.d/ptal* setup (follow the printed guidelines!)

  8. check that the communication is working:
    /usr/local/bin/ptal-devid [devname]


This is it for the driver setup now rest only to configure the printer spooler.
For cups it is simply needed to use the URI using format:
"ptal:/dev/ptal-printd/<check the name yourself>".
As backend driver it is best to use hpijs which has e proper ebuild:
emerge hpijs.
Back to top
View user's profile Send private message
needlern1
Guru
Guru


Joined: 16 Jul 2002
Posts: 376
Location: Marietta, Ga 30068

PostPosted: Fri Jul 26, 2002 11:42 pm    Post subject: Reply with quote

It actually WAS(day and a half) a big fscking ordeal. Thanks for your consolidation post. I'm going to reference/link your post when I write on my own mobo/usb/print setup. Bill (ps - if this doesn't look too good, it's because this is my first post).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum