• Kenneth Himschoot
  • personal blog
  • vCard & contact details
  • drop me a note

My own microprinter

on Mar.02, 2009

epson microprinterInspired by Jeremy Keith’s post about PaperCamp, I though I’d build my own little microprinter.
Easy enough: my girlfriend owns a shop that has a lot of old junk in the attic. So do I. These are times where that comes in handy. Her old Epson TM 88 receipt printer was only a phone call away. She’s switched to a more modern USB-based printer and this serial port one is of no use to her.

My attic sports a whole selection of boxes with random cables, adapters and gadgets. A targus serial-to-usb convertor was in one of them.
I connected both on my macbook pro and sure enough, the printer was immediately recognised and some legacy Epson 9-pin printer drivers (roughly) do the job. This wasn’t good enough though. Since working at XS4ALL in the mid-90s, I learned to ban any printer directly connected to a computer. 5 minutes later, I couldn’t help but smiling when the second test print rolled out the Epson, which was now connected to my Airport Extreme / Time Capsule base station (still through the serial-to-usb convertor, which was now connected to a – i again refer to my attic – usb hub, to still allow an extra external harddrive to be connected).
Some 20 minutes later, I had a rough “good morning” generator, including the weather (through the weather.com API) and the latest tweets (through the twitter API).

The code is quick and dirty, I’ll have to clean it up one day (the same day I’ll clear out the attic), but it works:
function get_forecasts($location) {
$url = "http://xoap.weather.com/weather/local/".$location."?cc=*&dayf=5&link=xoap&prod=xoap&par=1100278982&key=[mykey]";
$xml = simplexml_load_file($url);
$forecasts = $xml->dayf[0];
$firstday = $forecasts->day[0];
echo $firstday->attributes()->t;;
echo $firstday->part[0]->t[0];
echo round(f2c($firstday->hi[0]));
echo round(f2c($firstday->low[0]));
echo "  sun: ".$firstday->sunr[0];
echo $firstday->suns[0];
}
get_forecasts("BEXX0008");//ghent, Belgium

All that’s left for me to do is to set up the new fileserver (I’ve been preparing one for the last month or so, to replace the 4-year old “riogrande” server, also in the attic) to print this “good morning” greeting every day at – say – 7am. I’d like to combine it with my daily schedule (iCal) and todo list (through TaskPaper, easily done).
Thanks for the tip, Jeremy!  I haven’t spent a dime and I’m one great gadget richer!

geeking out

1 Trackback or Pingback for this entry

  • New Gadgets | My own microprinter
    March 2nd, 2009 on 3:18 pm

    [...] Original post by Kenneth’s Blog [...]

Leave a Reply

Click here to cancel reply.

RSS feed for this post (comments) · TrackBack URI

    get my vCard

    follow me on twitter

    my photos on flickr

    her photos on flickr

    my company

    her company

    Hectic doesn't begin to describe it!

  • What tickles your fancy?

    conferences and festivals geeking out golf politics Producer's Utopia the web travels
  • recent tweets

    • Washed the car. No traces of the trip to Brighton left, except for one. Must have been in the underground carpark. Quick respray tomorrow.
    • @Sietoebie ik heb 'n formac studio op de kop getikt hiervoor, superhandig. Analoog in, FireWire uit.
    • @VincentVQ maar zelfde verhaal, zo te zien. Diep ontgoocheld in onze "leiders".
    • Slowing down today after an inspiring #dconstruct. Maybe a quick 9 holes and a good book. Paradise, as it were.
    • Pure iPhone 4 lust — at Apple Store, Churchill Square http://gowal.la/c/2qVWk?137
    • @tmaes we've left already, too loud. But catch you tomorrow for a shopping spree!
    • Wagaaaaamamaaaaa! http://yfrog.com/mxjveoj
    • Hungry Hans http://yfrog.com/861rkj
    • I'm at Apple Store, Churchill Square http://gowal.la/c/2qC3b?137
    • @lanyrd attending dconstruct

    Be sure to follow me!

  • Not so long ago

    • Dus toch naar SXSW
    • Disappointed in our government
    • One good feature in the upcoming Windows 7
    • Birthday present for Lynsey
    • Professional satisfaction vs. golf
    • My Flip Mino HD comes in handy rightaway!
    • Boys were boys – once more
    • We did it!
    • Recommended: Objectified
    • I’ve come to change!
    • Cheerful morning!
    • Elections are coming!
    • My own microprinter
    • for the record: golf practice
    • These people rule the world!
    • Ahhhh the weekend
    • Mantra of the year
    • Soon, in a theater near you
    • Another SXSW
    • for the record: golfscore
    • How should companies face facebook?
    • How lenses are made
    • I got a bonus: a Macbook Air!
    • 59th Berlinale
    • The passing of an era
    • Failing my New Year’s resolution no 1
    • The new blog

Anything else?

Or drop me a note at [kenneth] -AT- [himschoot] -DOT- [com].

Mesa like this (*)!

  • French town changing name to improve ranking on Google
  • Gmail gets multi-attachment uploading
  • Happy Webbies shirts! Great stuff!
  • Hard Drive plays Imperial March
  • Twitter’s growth on TED
  • Youtube: how lenses are made

Archives

All entries, by date...

  • March 2010
  • October 2009
  • September 2009
  • August 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009