HP LaserJet P1005 / P1007 :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
P1005 on FreeBSD 8.2-R with CUPS: Doesn't print test page
Posted by: Oxyd ()
Date: August 08, 2011 08:44PM

Hi. As the title suggests, I can't get my HP LaserJet P1005 printer working on FreeBSD 8.2-RELEASE.

Here's what I did:

gmake
./getweb P1005
sudo gmake install
./freebsd-install

Then I edited my /etc/devd.conf, and appended to it:
attach 100 {
        match "vendor"          "0x03f0";
        match "product"         "0x3d17";
        action "cat /usr/local/share/foo2xqx/firmware/sihpP1005.dl > /dev/ulpt0";
};

Restarted devd, turned the printer on, the firmware got uploaded to the printer according to the sounds it made.

Then I restarted cups: /usr/local/etc/rc.d/cupsd restart. Navigated to http://localhost:631 , chose Add Printer, USB Printer #1, named it "P1005", selected "Share this printer". The page shows "Connection: usb:/dev/ulpt0". On the next page, I chose manufacturer HP, scrolled down the list of drivers and chose "HP LaserJet P1005 Foomatic/foo2xqx (en)". Added the printer, changed page size to A4.

Then I went to Maintenance for the printer, chose Print test page and .. nothing happened.

I have the following packages:
cups-1.4.6
cups-base-1.4.6_5
cups-client-1.4.6
cups-image-1.4.6
cups-pk-helper-0.0.4_2
cups-pstoraster-8.15.4_6
foomatic-filters-4.0.7
ghostscript9-9.02_4
gmake-3.82
gutenprint-cups-5.2.4_2
unzip-6.0_1
wget-1.12_4

I don't know what I did wrong. I know that this driver worked for me in the past, but I reinstalled the system and I can't get it working now.

Options: ReplyQuote
Re: P1005 on FreeBSD 8.2-R with CUPS: Doesn't print test page
Posted by: rickrich ()
Date: August 08, 2011 09:37PM

Do this:
$ cd foo2zjs
$ foo2xqx-wrapper testpage.ps > xxx.prn
# cat /usr/share/foo2xqx/firmware/sihpP1005.dl > /dev/ulpt0 
# cat xxx.prn >/dev/ulpt0
If that doesn't work:
# cat /usr/share/foo2xqx/firmware/sihpP1005.dl > /dev/unlpt0 
# cat xxx.prn >/dev/unlpt0 

Options: ReplyQuote
Re: P1005 on FreeBSD 8.2-R with CUPS: Doesn't print test page
Posted by: Oxyd ()
Date: August 09, 2011 03:24PM

cat xxx.prn > /dev/ulpt0 did produce the test page.

I suppose that means there's a problem with my CUPS setup?

Options: ReplyQuote
Re: P1005 on FreeBSD 8.2-R with CUPS: Doesn't print test page
Posted by: rickrich ()
Date: August 09, 2011 03:29PM

Yep.

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.