Skip to main content

Notifications

Microsoft Dynamics RMS (Archived)

Duplicate Receipt in RMS 2.0

Posted on by Microsoft Employee

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

  • Artur Hanusek Profile Picture
    Artur Hanusek 200 on at
    Re: Duplicate Receipt in RMS 2.0

    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

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Duplicate Receipt in RMS 2.0

    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

  • Pandayan IT Profile Picture
    Pandayan IT 330 on at
    Re: Duplicate Receipt in RMS 2.0

    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

  • Suggested answer
    Gerald Rothaus Profile Picture
    Gerald Rothaus 2,930 on at
    Re: Duplicate Receipt in RMS 2.0

    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

  • Suggested answer
    Artur Hanusek Profile Picture
    Artur Hanusek 200 on at
    Re: Duplicate Receipt in RMS 2.0

    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
    Gerald Rothaus 2,930 on at
    Re: Duplicate Receipt in RMS 2.0

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

    <IF>

            <CONDITION> ShowDuplicateBefore </CONDITION>

            <THEN>

               <CALL> "PrintDuplicate" </CALL>

            </THEN>

         </IF>

      </SUB>

  • Pandayan IT Profile Picture
    Pandayan IT 330 on at
    Re: Duplicate Receipt in RMS 2.0

    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
    Gerald Rothaus 2,930 on at
    Re: Duplicate Receipt in RMS 2.0

    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
    Pandayan IT 330 on at
    Re: Duplicate Receipt in RMS 2.0

    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

  • Ryan Sakry Profile Picture
    Ryan Sakry 3,425 on at
    Re: Duplicate Receipt in RMS 2.0

    Tony,

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

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,902 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,297 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans