web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

Duplicate Receipt in RMS 2.0

(0) ShareShare
ReportReport
Posted on by

Hi,

Using RMS Version 2.0.0116, is it possible to print the label "Duplicate Receipt" before the printing of items, instead of just at the top or below the receipt?

Thanks,

Tony

 

 

 

*This post is locked for comments

I have the same question (0)
  • Ryan Sakry Profile Picture
    3,425 on at

    Tony,

    This is certainly possible, you just have to change the receipt template xml file to add this functionality.

  • Pandayan IT Profile Picture
    330 on at

    Mabuhay Sir Ryan,

    I did, I changed the recipt template xml and put this code in between the header and the transaction details but everytime it will print  DUPLICAte will appear on receipt even if it is the first printout of the receipt.

    Thanks,

    Chris

  • Suggested answer
    Gerald Rothaus Profile Picture
    2,934 on at

    You are trying to stick it in before or as part of a table, and you will have to porbably piddle with it.

    The tag in the receipt is:

    <TABLE>

            <BORDER> tbNone   </BORDER>

            <FONT>   "Large"  </FONT>

            <COLUMNHEADER>

               <ALIGNMENT>    "^~"     </ALIGNMENT>

               <WIDTH>        PageWidth   </WIDTH>

               <TEXT>         "DUPLICATE RECEIPT" </TEXT>

            </COLUMNHEADER>

            <ROW></ROW>

         </TABLE>

    the procedure for the items is:

         <!--

      =============================

      Transaction Details

      =============================

    -->

         <IF> ...

    So maybe you can stick it in before the first if, like:

      =============================

      Transaction Details

      =============================

    -->

    <TABLE>

            <BORDER> tbNone   </BORDER>

            <FONT>   "Large"  </FONT>

            <COLUMNHEADER>

               <ALIGNMENT>    "^~"     </ALIGNMENT>

               <WIDTH>        PageWidth   </WIDTH>

               <TEXT>         "DUPLICATE RECEIPT" </TEXT>

            </COLUMNHEADER>

            <ROW></ROW>

         </TABLE>

         <IF>...

    or something like that.

    -Jerry

    jerry@jrdata.us

  • Pandayan IT Profile Picture
    330 on at

    Mabuhay Sir Jerry,

    Thanks for the help, I did also putting this code before the transaction details attaching also the if condition. But On usual print of the receipt the word "Duplicate Receipt" always appear on the receipt that should be appear only once. ANd will re appear only if the action will be reprint on the POS machine or even in the Store Manager..

    Thanks,

    Chris

    Pandayan Bookshop

  • Suggested answer
    Gerald Rothaus Profile Picture
    2,934 on at

    Oh. Right. Try calling it instead but putting this in:

    <IF>

            <CONDITION> ShowDuplicateBefore </CONDITION>

            <THEN>

               <CALL> "PrintDuplicate" </CALL>

            </THEN>

         </IF>

      </SUB>

  • Suggested answer
    Artur Hanusek Profile Picture
    200 on at

    Hi Tony,

    I had the same problem while ago. I couldn't get it working by just sticking code in the middle of receipt, didn't work at all ...

    The way around it ... finish document half way trough and start it again, that will couse 2 pages printed, but the duplicate will appear between them.

    In addition to that i reseted paper cut percent so its not cut half way trough but keep it as one strip.

    Downside: Extra white space in between "pages" which I couldn't get rid at all ... no mater what I done

    ---------------- code -----------------

      <OPOS>

         <PAPERCUTPERCENT>         0       </PAPERCUTPERCENT>

      </OPOS>

      <DOCUMENT>

         <CALL>   "PrintCreditCardSlip"      </CALL>

         <CALL>   "PrintHeader"              </CALL>

         <CALL>   "PrintTransactionType"     </CALL>

         <CALL>   "PrintCustomerData"        </CALL>

         <CALL>   "PrintTransactionComment"  </CALL>

         <CALL>   "PrintDropPayout"          </CALL>

         <CALL>   "PrintAccountPayment"      </CALL>

      </DOCUMENT>

      <OPOS>

         <PAPERCUTPERCENT>    PaperCutPercent </PAPERCUTPERCENT>

      </OPOS>

      <DOCUMENT>

         <CALL>   "PrintTransactionDetails"  </CALL>

         <CALL>   "PrintTransactionTotals"   </CALL>

         <CALL>   "PrintVATAnalysis"         </CALL>

         <CALL>   "PrintDiscounts"           </CALL>

         <CALL>   "PrintBarcode"             </CALL>

         <CALL>   "PrintFooter"              </CALL>

      </DOCUMENT>

  • Suggested answer
    Gerald Rothaus Profile Picture
    2,934 on at

    OK, ok.

    Here it is and I tested it and it works.

    Make sure 'ShowDuplicateAfter ' is set to true.

    Put this:

    <IF>

            <CONDITION> ShowDuplicateAfter </CONDITION>

            <THEN>

               <CALL> "PrintDuplicate" </CALL>

            </THEN>

         </IF>

    after this:

      =============================

      Transaction Details

      =============================

    -->

    like this:

         <!--

      =============================

      Transaction Details

      =============================

    -->

    <IF>

            <CONDITION> ShowDuplicateAfter </CONDITION>

            <THEN>

               <CALL> "PrintDuplicate" </CALL>

            </THEN>

         </IF>

    There.

    -Jerry

    jerry@jrdata.us

  • Pandayan IT Profile Picture
    330 on at

    Mabuhay Sir Jerry,

    This was also tested on our POS but everytime it will print the word DUPLICATE even if it was just the first printing of the receipt.

    Also the SHowDupliacteAfter was also set to true as you mention.

    Thanks,

    Chris

  • Community Member Profile Picture
    on at

    Hi All,

    Thanks for the response guys.  But  what we actually need is to be able to reprint the receipt with the work "DUPLICATE RECEIPT"  after the header and before the items, meaning in the middle of the receipt.  I was able to do that but it will affect also the first printed receipt for the customer just like what Sir Chris said.  Of course the customer doesn't want to have the word "Duplicate" on his/her receipt.  I was thinking maybe it's not really possible.

    Regards,

    Tony

  • Artur Hanusek Profile Picture
    200 on at

    Hi Tony,

    Its not possible to do it the way which you try, but we have it set up as on my answer above and its 100% working.

    Regards,

    Arthur

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics RMS (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans