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)

POS Receipt aligned to right

(0) ShareShare
ReportReport
Posted on by 1,582

Hi All,

POS Receipt is printing towards right side,i had checked printer settings and in the POS receipt format design too everything is on Left side, even the alignment is on Left side for all the fields, but still receipt is getting printed with margins on top and left, i'm using windows driver and Thermal printer, could any one help me to fix it.

Thanks & Regards,
Ansar Basha.S

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Neeraj Chawla Profile Picture
    1,147 on at
    RE: POS Receipt aligned to right

    Hi,

    By default all the margins for the windows printer is set to 100.

    Therefore, it is leaving the margin 100 on the left side and getting right aligned.

    This can be done by overriding the margins in the source code to 0.

    Please let me know if this can help you out.

    Regards,

    Neeraj Chawla

  • Ansar Basha Profile Picture
    1,582 on at
    RE: POS Receipt aligned to right

    Hi Neeraj,

    Thanks for the prompt response, where could i modify the source code to set margin as 0

    Regards,

    Ansar Basha.S

  • Verified answer
    Neeraj Chawla Profile Picture
    1,147 on at
    RE: POS Receipt aligned to right

    You will find the source code in the Retail SDK-> services -> Peripherals

    Regards,

    Neeraj

  • Community Member Profile Picture
    on at
    RE: POS Receipt aligned to right

    Mr. Ansar Basha, thanks for your question.

     

    Dear Neeraj Chawla,

    The information you mentioned here are very precious, but please try to post more details about the exact file that should be modified.

    And please note that the Retail SDK folder are located in the Documents folder.

  • Suggested answer
    Ansar Basha Profile Picture
    1,582 on at
    RE: POS Receipt aligned to right

    Dear Sherif,

    You are required to modify Documents\Retail SDK\POS Plug-ins\Services\Peripherals\Peripherals C# project, you need to make changes in Printer.dll

    With windows you may need to add a piece of code making top, bottom,left & right aligned to '0' .

    If you are Printing with OPOS, i believe alignment would be fine,

    Regards,

    Ansar Basha.S

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#2
NNaumenko Profile Picture

NNaumenko 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans