When using the Generic / Text Only printer driver it is possible to have the print results imbalanced so white space is left at the right-side of the receipt.
To center the content of the print results like the example above on the right you can populate a different initializing code in the printer settings. Navigate to Printers and Local Settings. Populate the following string to into the ‘Initializing’ field:
1B 40 1D 4C 40 00
Make sure to click the Save button. Re-print a receipt assigned to this printer driver to test the print results.