Hi. I am wondering what is the best way to create DEF file or something like that to use it for printer definitions.
I am using RawPrinterHelper with escape codes, Cutter, Double Font, Codepage...etc
For the moment i have all these definitions hardcoded for three different POS printers but I want another way of adding new definitions that won't be dependant on the exe file.
For example, Create new definition file, Copy in certain directory and exe will find all files in that directory, user will select the one that match her/his printer and then exe reads that definition file so that new printer can use all the options that needs.
I need some pointers, and I want to avoid INI or XML files. If I can compile that, but use it in my exe that would be great. I don't want to be able to read that file in Notepad.
Thank you for your hekp.