I wanted to make a blog post, but couldn’t think of a good title, because I have no clue what to write…I still don’t.
Let’s start with the weather; It has been beautiful spring weather. For the past 2 weeks, it has been ~13°C (55°F), the sun has been out, no rain–just beautiful. This is following about 4 weeks of very heavy rain, so I may be slightly biased, but it is nice. Not that I don’t like the rain, I do! Changes are nice every now and then, though.
Anyway, what have I been doing? Not outside in the sun, no–inside, with the blinds down, in my nice dark hole (aka, the kitchen table). We bought an HP OfficeJet Pro K550 because a) our old HP Deskjet 932C was dieing, and b) the Deskjet didn’t “print pictures too pretty.” We have the K550 dtwn–not sure what the dt stands for, but wn stans for “Wireless/Wifi network”. Yes, we have a wireless printer, it’s very sweet. We could have gotten a wired one and saved about $20, or we could have gotten one with no networking and used our Netport (a device from Intel that has a 10Mbit ethernet port and a parallel (LPT) port) and saved about $60. But wireless was a good deal, given that we currently have one free port on our wireless router. Yeah, we have a crappy IPv4 router with 4 LAN ports and 1 WAN port, plus an antenna. Whatever.
This printer is sold as being Linux compatible (yes, I check, I’ve been burned before). Not trusting the people who want my money to always tell the whole truth, I checked LinuxPrinting.org (an awesome site, by the way), and the printer is reported as “Working Perfectly”. Great, I say–piece of cake! The first sign of trouble was that there was no mention of this printer on the CUPS drivers list where you select the driver for your printer. “No problem,” I thought, “Just download the PPD from LinuxPrinting.org and copy it into /usr/share/ppd. I did that, restarted CUPS, and the driver appeared–yay! So, I printed a test page, network activity occurred, the printer picked up a piece of paper and printed:
* Unable to open the initial device, quitting
*sigh* A few more pieces of paper, a little digging through the CUPS debug log, and a little Googling gave me a few hints. GhostScript didn’t like the OfficeJet K550, and was giving that cheery little message. I headed on over to the hpijs project page (HP’s drivers page for their inkjet printers). After reading some obscure ChangeLog, I found that support for my printer was only available in hpijs-2.1.8 and above–Slackware ships with version 1.7 (yes, even slackware-current). Heading on over to the SF download page, I discovered that hpijs is no longer distributed (last available version is 2.1.6), and is instead contained in hplip package, which is used for HPs Mopiers, or whatever they’re called–a printer, scanner, copier, fax machine, whatever all in one box. Turned out that LinuxPackages.net had a hplip package of “sufficiant versionage” (is that even close to a real word?). I used the one for Slackware 10.2, version 0.97p2, I beleive. I downloaded it, uninstalled the hpijs package, installed hplip and its dependecy net-snmp, re-downloaded the PPD from LinuxPrinting.org, restarted cups, readded my printer, and I was good to go! Yay!
EDIT :: You need to install the netsnmp package too.
Boy, I bet that was an exciting read. I really just posted it so that people who have the same problem might get an idea about what to try.
Back to the weather. I was outside a few minutes ago, it was warm! (Getting tired of those <em> tags yet? So am I.) Amazingly warm for the 2nd week of February. It actually felt a little bit like August. Or maybe it didn’t, but it reminded me of August, which means it reminded me of all sorts of great things–Booher Camp, Willamette Valley Fiddle Contest, harvesting seed (oh yeah, that was reeally great, *sigh*). The Gaston fiddle contest has worn off me and I am missing my fiddle friends again.
Oh well, the first fiddle camp isn’t until July, I guess I’ve got to wait a while…
On the QuickI front, it looks like I’m back to manually drawing on canvas again for printing. QTextDocument just doesn’t give me enough control. For example, I cannot set the border of a table (cell) to be exactly what I want. It’s like <table border=”1″> vs <table style=”border: .5em;”>. QTextDocument uses the HTML table border approach, using some sort of set widths that TrollTech came up with. 1 just is too big to make stuff pretty. Maybe I’ll try a simple sketch/mockup if I’m not too tired after I post this.
No, I did not “fix” the timestamp to say exactly 11:30 last night–it just happened.