
Hello Community,
Recently we;ve been testing some MPOS machines, we've been trying to print some receipts on various printers, however the receipt always prints out with Left and Top margins (Aprox 5cm each).
I've read in some POS related posts you can modify POS Printers.cs Class to modify the margins, however I would like to know where do I need to make the same modification for MPOS, and if possible an example, or how to print without margins.
Version being used is MPOS for Microsoft Dynamics AX 2012 R3 and CU12, everything patched with the same CU.
The MPOS is installed on a Windows 10 OS machine.
Thanks in advance.
*This post is locked for comments
I have the same question (0)So, after debugging, googling and searching a little more I found out you have to modify Printer.ts from the POS app, then on the call to the Printer GUI you can pass the margin parameters to the GUI before the printer windows is called, this is done in the MSApp call to the Printer Document Source.
Here's the modification I made.