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)

problem with margin Left for Retail Receipt

(0) ShareShare
ReportReport
Posted on by

can any one help me on Retail Receipt
I faced problem about alignment look here always my Receipt go to right side and missing data cuz alignment or margin Left any idea to helping me?

3005.1.jpg

I do customization to fix that from Retail SDK cu8-> services -> Peripherals>Printer.cs

Capture3.JPG

I change the value then deploy that after that I copied Peripherals.dll from

C:\Users\[username]\Documents\Retail SDK CU8\POS Plug-ins\POS\bin\Debug\Services

to tow those place

C:\Program Files (x86)\Microsoft Dynamics AX\60\Retail POS\Services

and to

C:\Program Files (x86)\Microsoft Dynamics AX\60\Retail POS\Services\Extensions

 but noting change the problem of margin Left still

note: I used windows driver for printing and Arabic language

*This post is locked for comments

I have the same question (0)
  • DMW Profile Picture
    on at

  • DMW Profile Picture
    on at

    can any one help me for first post

  • Suggested answer
    Ansar Basha Profile Picture
    1,584 on at

    Dear Mohammed,

    Copy and Paste the following code in the WIndowsPrinting function.

    printDoc.DefaultPageSettings.Margins.Left = 0;

    printDoc.DefaultPageSettings.Margins.Right = 0;

    printDoc.DefaultPageSettings.Margins.Top = 0;

    printDoc.DefaultPageSettings.Margins.Bottom = 0;

    Regards,

    Ansar Basha.S

  • Pir_Rana Profile Picture
    836 on at

    Is it work for OPOS type printer?

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