by Joel Aufrecht 04:06 PM, 04 Jun 2005
After many mistakes and dead ends, I have finally completed the newest version of the baseball scorecard. I made a serious error in my approach which led to many problems: I mistook a high-quality picture on screen for my end product, which was actually a high-quality printout. I had a nice SVG file to look at six weeks ago, but getting it on paper was a great trial. First I tried using the Adobe SVG plug-in in Windows, but that produced a cut-off, distorted page. Then I tried converting it to a bitmap using the batik java tools, but Kinko's choked on the large 600dpi .tif files.

Next I bought a new Samsung Scx-4100 laser printer, which is pleasingly less-than-catastrophic linux support. However, linux printing remains nightmarish to the point where I consider any successful print job, even of a spreadsheet or web page, a blessed event, and the idea (or reality) of printing high-resolution bitmap graphics from linux would require entirely too many dark rituals.

So, I rebooted my laptop to Windows and plugged in the printer. First I tried printing the SVG directly, but the Adobe plugin and two other SVG tools each producing charmingly different, charmingly wrong output. One changed the fonts, one ignored the circles and diamonds, one just shrunk everything. Next, I tried printing the high-quality, 10mb bitmap from Paint, to no avail. Finally I found a free graphics viewer/printer called Brava! which could load and print 600dpi pages acceptably well.

So the process to create my scorecard is:

  1. Edit the source SVG files in emacs and preview with batik squiggle.
  2. Run this batch script to change them to tif files:
    #!/bin/sh
    for file in baseball_scorecard baseball_scorecard_back
      do
      java -Xmx800m -jar /usr/local/batik-1.6/batik-rasterizer.jar -dpi 600 -m image
    /tiff $file.svg
      convert -compress rle $file.tif $file.tif
    done
    
  3. Transfer files to windows
  4. Load files in Brava!
  5. Print one side
  6. Reload the paper upside-down and backwards
  7. Print the other side

As a result of this, I had to use the mark 2 scorecard to record Rickey Henderson's debut with the independent Class A San Diego Surf Dawgs (sic). At age 46, Ricky didn't get invited to any major-league training camps this spring, probably because of a batting average barely above the Mendoza line. Thanks to his ability to walk, his on-base percentage is still a perfectly competitive .320 to .360, so I think he's not as washed up as traditional stats make him appear, but he's certainly not a player for the future. Still, he sold out the (San Diego State University) ballpark, drew a walk, hit a towering double to deep center, and stole a base, so no complaints from me.

Now that I have the new model, I'm eager to get to another game and try it out. But probably not a Dawgs' game.

Categories: Baseball Comments (1)
XML

Archive

June 2005
S M T W T F S
      4 
10  11 
12  13  14  15  16  17  18 
19  20  21  22  23  24  25 
26  27  28  29  30     
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
April 2001

Notifications

You may request notification for Joel's Blog.

Syndication Feed

XML

Recent Comments

  1. Victor Koledoye: A Religion ticket
  2. Joel Aufrecht: from a senior roboticist
  3. Jeff Davis: Source?
  4. Kathryn Schild: quick question
  5. Tai Yan Lim: Trip Back Home - Joel
  6. José Rodrigues: Hello
  7. Guan Yang:
  8. Erika Graffunder: Canada
  9. Erika Graffunder: Per capita emissions
  10. Erika Graffunder: Policy - should you keep evaluating or focus on solutions