See http://www.utopiamechanicus.com/article/low-memory-serial-print/ for an example on how to do this.