General Question about Compatibility

RWAP
Site Admin
Posts: 512
Joined: Wed Sep 13, 2017 9:20 pm
Location: Oswestry, Shropshire
Contact:

Re: General Question about Compatibility

Post by RWAP »

The output does not seem to use characters > 127 as printable characters, therefore for all intents and purposes you can ignore the code pages (I don't believe there is an EPSON equivalent to their character sets).

You just need to ensure that characters > 127 are passed through without change!
Retro-Printer Specialists
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module

Also Involved in:
Icephorm
davlovsky
Posts: 7
Joined: Tue Jun 11, 2019 4:40 pm

Re: General Question about Compatibility

Post by davlovsky »

From what I've gleaned so far, in C# at least, ASCII only contains the 128 possible symbols, and will require a specific character set to send anything other than the 33 control chars and the 94 letters and symbols.

There are a couple sets that are used more than others: (1) Windows-1252 and (2) ISO 8859-1, the former being the more popular.

I'm going to retry capturing this data using both of these character sets, and try running it through the PrinterToPDF converter. (I was having troubles with the converter for some reason on my Linux Bash Subsystem on Windows, so I'm just going to do it on Ubuntu instead. Hopefully I don't run into any problems on Ubuntu...)
RWAP
Site Admin
Posts: 512
Joined: Wed Sep 13, 2017 9:20 pm
Location: Oswestry, Shropshire
Contact:

Re: General Question about Compatibility

Post by RWAP »

What is interesting about this thread, is not so much the capability of the ESC/P2 convertor provided as part of the Retro-Printer module (and the basis of which forms the PrinterToPDF routine); but just how difficult it can be to interpret data intended for Epson (or other) printers and in particular how to program routines which can handle all 256 potential values of one character byte.

Thankfully, no issues have been thrown up in the actual conversion routine, which is good news for me and users of the Retro-Printer module.
Retro-Printer Specialists
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module

Also Involved in:
Icephorm
Post Reply