A few years ago I did some work to print to ESC-capable printer (eg. Epson dot-matrix) because I need to print to label of 1" height.
Your work could be used when there are no fixed paper heights, e.g., receipt printing. A quick question, can I use it to print formatted text or even image?