So, over the weekend, we had an adventure. It all started like this.
Janette: “Is there some way to get jpilot to print out address lables? I want to get the Christmas cards out this weekend.”
Me: “Maybe. If not, we can dump them as text, and I can write some scripts to do it.”
First problem: Due to hardware crashes and whatnot, we haven’t had network printing working for a while. Well, no problem, we’ll hook up Janette’s laptop directly to the USB printer, and print that way. Seemed to work fine, more on this later.
Second problem: Jpilot doesn’t (as far as we can tell) print lables, and we wanted to print directly on the envelopes anyway. Okay, dump the database and start googling. Yay! I found an enscript script to print labels! Play around a bunch, get something that looks like it should work, re-plug Janette’s laptop into the printer to try it.
Third problem: Cannot print anymore. <sigh> No matter what, the printer just sits there. No error messages I can find anywhere. Okay, I’ll just copy the files over to the Windows box and print from there.
Fourth problem: The Samba part of the fileserver isn’t working yet, can’t copy files over. No problem, I’ll use a USB thumb drive.
Fifth problem: Windows can’t print postscript files. This has always boggled me, but I’d forgotten it. <sigh> Okay, download gsview and ghostscript, and it prints now (after nagging). Do some test runs. Tweek. Test. Tweek. Finally, it’s printing fine. Oh, wait, it’s printing upside down. Okay, flip the envelope, and try a real run.
Sixth problem: In that orientation, the envelope always jams in the printer, with the open flap edge (either tucked or not) catching on the side of the printer. <sigh> Back to the drawing board. Okay, google mentioned that OpenOffice can print envelopes. Play with that a bit. Hey! It can import from evolution’s address book!
Seventh problem: Janette doesn’t use evo, and I can’t print (64-bit, and printer drivers are binary only). Okay, we’ll import into evo from jpilot (yay for vcards!). Didn’t quite work, but some script foo later, and evo has the full set of addresses, all nicely formatted. Janette plays with the layout, goes to test print.
Eighth problem: We can’t print from her laptop, remember? USB doesn’t work anymore for some reason, and no network printing. We can’t just load up oo.o on the windows box, because no evo there to get the addresses from. <sigh> Okay, go and configure samba on the server, play around again with various cups configuration methods, and finally I get her laptop to netprint.
Ninth problem: All we’re getting is the field names (<name> <address> <city>, etc.) rather than the database entries. Google to the rescue, apparently you have to say “yes” when it asks you if you want to print a form letter (WTF?).
Tenth problem: Janette had checked “Don’t ask me again” and we couldn’t find where to get them to ask it again. Also, I tried clicking that and saying Yes, and it still never worked. So, nuke .ooo-2.0, and we’re back in business, minus any settings we’d done. <sigh>
Finally, we have printed envelopes. I know, it was a ton of work just to get printed envelopes. We could have easily addressed them all by hand in the same amount of time, and probably with less frustration. But, keep in mind, there are three big positives out of the whole experience. First, Samba is back running, so the windows box is back on the network. Second, we have netprinting working again, so both of Janette’s laptops can print, and even from the living room. And third, we know how to print envelopes. Next time, it should be quick, easy, and painless.
Tags: Uncategorized by Daniel
1 Comment »