Skip to main content

Notifications

Microsoft Dynamics RMS (Archived)

X and Z Reports cause Run time error: 11 Division by zero

Posted on by Microsoft Employee

Store Operations POS generates and prints regular sales receipts just fine. The X and Z reports generate okay, but when request to print them, we get a Run-time Error: '11' Division by Zero....

The printers are Epson TM-T20 with the newest OPOS drivers. OS is Windows 10 Pro. RMS version 2.0.2022. SQL Server Express 2014 R2.

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: X and Z Reports cause Run time error: 11 Division by zero

    Hello Tom,

    Thank you for your question.

    This is an issue we have seen when running version 2.70e of the Epson OPOS drivers.

    If you use version 2.68e, which you can download from Epson, this issue is not present.

    Thank you,

    Scott Wardzinski

    Microsoft Dynamics RMS & POS Support Engineer

  • NickZnavor Profile Picture
    NickZnavor 715 on at
    RE: X and Z Reports cause Run time error: 11 Division by zero

    Simply change this:

    <!--
       ===========================
       Logo
       ===========================
    -->
        
      <PICTURE>     
       <FILENAME>  LogoFilename         </FILENAME>     
       <WIDTH>     PageWidth            </WIDTH>     
       <LEFT>      MarginLeft           </LEFT>     
       <HEIGHT>    0                    </HEIGHT>  
      </PICTURE>
      <!--

    To this:

      <!--
       ===========================
       Logo
       ===========================
    -->
     <!--    
      <PICTURE>     
       <FILENAME>  LogoFilename         </FILENAME>     
       <WIDTH>     PageWidth            </WIDTH>     
       <LEFT>      MarginLeft           </LEFT>     
       <HEIGHT>    0                    </HEIGHT>  
      </PICTURE> -->
      <!--

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: X and Z Reports cause Run time error: 11 Division by zero

    Excellent. However, the xreport.xml file needs to be modified in notepad very carefully.

  • Verified answer
    NickZnavor Profile Picture
    NickZnavor 715 on at
    RE: X and Z Reports cause Run time error: 11 Division by zero

    Is there a logo on the x z report?  If so, remove it from showing fixes this i believe

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans