Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

problem with margin Left for Retail Receipt

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

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

    Is it work for OPOS type printer?

  • Suggested answer
    Ansar Basha Profile Picture
    Ansar Basha 1,545 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
    DMW on at
    RE: problem with margin Left for Retail Receipt

    can any one help me for first post

  • DMW Profile Picture
    DMW 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans