Public Release of Routines for ESC/P2 Printer Data
When creating the software for the Retro-Printer Module; we found that there already existed several routines to convert Epson ESC/P printer data. Unfortunately, those routines ignored the improvements in the Epson printer control language over the past 30 years, and so we decided to write our own bespoke routine for converting ESC/P2 printer data captured by the Retro-Printer Module.
We wanted to create the best linux based ESC/P2 conversion software and decided to release the actual conversion routines under the GPL public license, as we feel that this conversion software could be useful in many different projects.
These routines form the heart of the software which creates a file from the printer data captured by the Retro-Printer module. The software can therefore be used to create a new software based solution for converting raw Epson dot matrix and inkjet printer data and converting it into Adobe PDF format.
Of course, changes made (or suggested) to the conversion software by others may be incorporated into the routines used by the Retro-Printer module and other projects which need to convert Epson printer codes to the benefit of all.
The initial release of the conversion routines supports ESC/P commands and a wide subset of ESC/P2 routines. It is free to use in your own projects and can be found at: https://github.com/RWAP/PrinterToPDF/
We welcome contributions and comments on this project and would love to see others extend it to support additional fonts and features. Feel free to discuss it either on the Github itself, or through our Retro-Printer forums.
