web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

MPOS Receipt Margins

(0) ShareShare
ReportReport
Posted on by

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)
  • Verified answer
    Community Member Profile Picture
    on at

    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.

    MPOS_5F00_margin.PNG

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans