I'm experiencing issues with text alignment in tables and codepage settings not being respected when generating a receipt using the latest version of the library. The table layout does not align correctly, and the specified codepage appears to be ignored.
The table should align text as specified (left for the first column, right for the second).
The windows1252 codepage should be applied for proper character encoding.
Actual Behavior:
The text in the second column of the table is not correctly aligned (should be right-aligned).
The codepage setting does not seem to take effect, leading to incorrect character encoding.
I'm experiencing issues with text alignment in tables and codepage settings not being respected when generating a receipt using the latest version of the library. The table layout does not align correctly, and the specified codepage appears to be ignored.
Code Example:
Expected Behavior:
The table should align text as specified (left for the first column, right for the second). The windows1252 codepage should be applied for proper character encoding.
Actual Behavior:
The text in the second column of the table is not correctly aligned (should be right-aligned). The codepage setting does not seem to take effect, leading to incorrect character encoding.
Here is a screenshot of the incorrect output: