RWAP / PrinterToPDF

Project for converting captured printer data files to PDF format
GNU General Public License v3.0
85 stars 19 forks source link

Allow option to select ESC/P vs ESC/P2 line spacing units? #35

Open afarlie opened 1 year ago

afarlie commented 1 year ago

One of the known issues is that different spacing units are used ESC/P and ESC/P2. Would it be possible to have a configuration option to use the earlier standard?

The thinking here is that ESC/P2 only started to appear on printers of Early 1990's(?), and thus most output for the 8bit era, would be written for printers using the earlier standard. ( I will also note here that 1/72 is a measure widely used in printing as a 'point', including in Postscript)

RWAP commented 1 year ago

This should already be implemented. The line spacing units changed in the switch between 9 pin dot matrix (ESC/P) and 24 pin (ESC/P2).

Change the setting for needles from 24 to 9.

Unless I am missing something?

RWAP commented 1 year ago

Someone has also created a new fork, which I have now merged into the main repository, which includes a switch -9 to enable 9 pin (ESC/P) printing