PrinterToPDF
PrinterToPDF copied to clipboard
Support for ESC/P2 barcode?
Is there any plan to include the ESC/P2 barcode support in the near future? Wouldn't mind contributing some time to work on it if possible, but I'm not sure where to start.
I don't have any plans at the moment to add this (as of yet, none of my customers need it).
However, how it works is set out in the ESC/P2 programming reference guide (pages 315 to 329): https://files.support.epson.com/pdf/general/escp2ref.pdf
It would take quite a bit of figuring out how to work this, as it is not straightforward. A good starting point would be to base it on the ESC . command (graphics printing); but it will need quite a few read-throughs to work out what they do with the information.
The best way I have found for anything like this is to try and write a routine in BASIC which can emulate the printing - much easier to test and adjust as required, until you get a good understanding of how it works.