web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)
  • Pir_Rana Profile Picture
    836 on at
    RE: problem with margin Left for Retail Receipt

    Is it work for OPOS type printer?

  • Suggested answer
    Ansar Basha Profile Picture
    1,582 on at
    RE: problem with margin Left for Retail Receipt

    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

  • DMW Profile Picture
    on at
    RE: problem with margin Left for Retail Receipt

    can any one help me for first post

  • DMW Profile Picture
    on at
    RE: problem with margin Left for Retail Receipt

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Mea_ Profile Picture

Mea_ 4

#3
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans