Date: Sat, 29 Jan 2011 00:48:31 +0330 From: Bahman Kahinpour <bahman.linux@gmail.com> To: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Instructions on Installing HP LaserJet P1102 on FreeBSD 8 (solved) Message-ID: <AANLkTimNxC7L6kW7ro9R%2BLB2hyWDE5EcFnb-esB8ZQ%2B_@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
After going through a hard time on installing HP LaserJet P1102 on FreeBSD 8.1, I decided to write this. *** Installing HP LaserJet P1102 on FreeBSD 8.1 *** Note: HPLIP 3.10.9 doesn't work for this printer. ** PART ONE: Disable the fake CD-ROM feature ** The printer has a built-in fake CD-ROM feature which prevents it from working correctly on non-Windows PCs. Once it is connected to a Windows PC, a CD-ROM appears containing Windows drivers. In order for HP LaserJet P1102 to work correctly on a FreeBSD PC, you must disable this feature. 1.Connect the printer to a Windows PC. (Unfortunately you have to connect it to a Windows PC which is too bad.) 2.Insert the original driver CD. (The physical CD-ROM that ships with the product, NOT THIS FAKE CD-ROM). 3.Run SIUtility.exe or SIUtility64.exe from UTIL folder to disable this fake CD feature. (It's called =E2=80=9CHP Smart Install=E2=80=9D Now, life becomes easier. Connect your HP LaserJet P1102 to your FreeBSD PC. Printer should be recognized and /dev/ulpt0 appears. ** PART TWO: Install CUPS and FOOMATIC-FILTERS ** 1.Update your Ports Collection tree. 2.Install Common Unix Printing System (CUPS). # cd /usr/ports/print/cups # make install clean 3.Add cupsd_enable=3D=E2=80=9DYES=E2=80=9D to /etc/rc.conf # ee /etc/rc.conf 4.Start CUPS now. (You do not need to restart your FreeBSD) # /usr/local/etc/rc.d/cupsd start 4.Install Foomatic Filters. # cd /usr/ports/print/foomatic-filters # make install clean ** PART THREE: Install FOO2ZJS from FOO2ZJS.RKKDA.COM ** foo2zjs in the Ports Collection is a little old and it does not work with HP LaserJet P1102. (Checked Jan 29,2011) Go to foo2zjs.rkkda.com and download http://foo2zjs.rkkda.com/foo2zjs.tar.gz. # cd ~ # wget http://foo2zjs.rkkda.com/foo2zjs.tar.gz # gzip -dc foo2zjs.tar.gz | tar -xvf - # cd foo2zjs # gmake # gmake install # gmake install-hotplug # ./freebsd-install Please note that you do not need any firmware download for this printer. (Any of these ./getweb stuff) Now restart the CUPS. # gmake cups Now, make sure that your printer is recognized on your FreeBSD system. Check dmesg and verify that printer is recognized. Make sure that /dev/ulpt0 exists. Plug out your printer and plug it in again. (In order for the permission in the devfs to be correct. They should be writable for the printer nodes in the /dev) Now, open your browser and goto http://localhost:631. Click on the Administration and Add Printer. Your printer should be recognized and also there is a special filter (driver) for that in the next pages. Use /dev/ulpt0 as the URI. Good Luck Bahman Kahinpour
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimNxC7L6kW7ro9R%2BLB2hyWDE5EcFnb-esB8ZQ%2B_>