PostScript Punchcards

a punchcard

punch.ps reads a file from stdin and produces the IBM punchcards representing the lines (which should be shorter than 80 chars). Invoke with

gs punch.ps < yourfile
for flip-book mode, or
gs -sDEVICE=pdfwrite -sOutputFile=cardstack punch.ps < yourfile
for a stack of all the cards.
This program combines well with a computer-driven laser cutter...

Fri, 15 Apr 2011
[/projects] permanent link