Darrin Chandler's Retrograde Wheelbarrow Weblog
Printing on OpenBSD II by Darrin Chandler [16 May 2007 22:00 MST]
A while back I wrote about how I got my HPDeskJet printing well under OpenBSD. Since then I've blown away the setup on the computer that had the printer, and moved everything around, and basically forgotten all about it. Lately I've had a desire to be able to print again, so I dusted off the printer, plugged it into the USB port on my laptop, and tried again.
This time, if anything, was even easier than before, and I'll do the steps...
$ sudo pkg_add -i hpijs
$ sudo pkg_add -i a2ps
$ sudo vim /etc/printcap
# hpdeskjet 5550
lp|DeskJet:\
:lp=/dev/ulpt0:\
:af=/etc/foomatic/HP-DeskJet_5550-hpijs.ppd:\
:if=/usr/local/bin/foomatic-rip:\
:sd=/var/spool/output:\
:lf=/var/log/lpd-errs:\
:sh:
:wq
$ sudo mkdir /etc/foomatic
$ sudo cp /usr/local/share/ppd/HP/HP-DeskJet_5550-hpijs.ppd.gz /etc/foomatic
$ sudo /usr/sbin/lpd # add lpd_flags="" to /etc/rc.conf.local
$ lpr /etc/printcap # print a test page
That's all there was to it. Bop over to firefox and color printing works there, too. I haven't been able to print a PDF document without pulling it up in xpdf and printing from there, which is pretty workable anyway.
Previous Entries
- Printing on OpenBSD by Darrin Chandler [27 October 2006 12:18 MST]
- The OTHER Slashdot Effect by Darrin Chandler [25 October 2005 13:10 MST]
- OpenBSD 3.8 by Darrin Chandler [21 October 2005 10:11 MST]
- Dogfood: Linux & OpenBSD by Darrin Chandler [5 September 2005 15:01 MST]
- “Hodori” by Darrin Chandler [8 July 2005 14:44 MST]
- Definition of “Stilyagin” by Darrin Chandler [11 May 2005 08:08 MST]
- Qwest DSL & DNS by Darrin Chandler [16 April 2005 12:29 MST]
- Darrin's Dance Grooves by Darrin Chandler [12 April 2005 14:32 MST]
- Mortgage Refinancing & Debt Consolidation by Darrin Chandler [5 April 2005 13:00 MST]
- Fender Rhodes Mark I by Darrin Chandler [3 April 2005 9:22 MST]
- AZ Robotics Winners by Darrin Chandler [30 March 2005 8:12 MST]
- Cable Modems by Darrin Chandler [30 March 2005 7:47 MST]
- Search Traffic by Darrin Chandler [1 March 2005 14:21 MST]
- FireFox & IE by Darrin Chandler [24 January 2005 13:15 MST]
- Thank You Blue by Darrin Chandler [24 January 2005 12:55 MST]
- Television by Darrin Chandler [6 January 2005 08:24 MST]
Tidbits from the past…
- Open Source in the Real World by Darrin Chandler [21 August 2003]
- Paris by Darrin Chandler [18 August 2003]
- Spam Profits by Darrin Chandler [12 August 2003]
- Sluggish Companies by Darrin Chandler [2 July 2003]
- Immaculate Conception by Darrin Chandler [29 May 2003]
- Religion by Darrin Chandler [28 May 2003]
- Squaw Peak by Darrin Chandler [24 April 2003]
- Ted Warring & AI by Darrin Chandler [21 March 2003]
Hosting by Intrepid