Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

How to print a blank line in footer lines on receipt

(0) ShareShare
ReportReport
Posted on by 1,565

Hi guys, I am trying to print a blank line between two footerlines to get some seperations in our liability release at the bottom of our receipt. I can't find the proper code for this, I've tried two " " with a blank space in between them as well as \n and  neither have worked.

Thanks in advance!
Devon

*This post is locked for comments

  • Verified answer
    Jeff @ Check Point Software Profile Picture
    Jeff @ Check Point ... 13,382 on at
    Re: How to print a blank line in footer lines on receipt

    Devon.

    Jast add a <ROW></ROW>

    So your;

    <IF>

               <CONDITION> Len(FooterLine1) </CONDITION>

               <THEN>

                  <ROW> FooterLine1 </ROW>

               </THEN>

            </IF>

    Would become ;

    <IF>

               <CONDITION> Len(FooterLine1) </CONDITION>

               <THEN>

                  <ROW> FooterLine1 </ROW>

                  <ROW></ROW>

               </THEN>

            </IF>

  • DEVON LEROUX Profile Picture
    DEVON LEROUX 1,565 on at
    Re: How to print a blank line in footer lines on receipt

    Hi Ryan, these are footerlines so I have created additional footer lines in the Attributes section like this:

           <SET name="FooterLine1" custom="true" description="Footer Line 1" type="vbString">"x ___________________________________________ "  </SET>

           <SET name="FooterLine2" custom="true" description="Footer Line 2" type="vbString"> "NO RETURN, EXCHANGE OR REFUND ON LIFT TICKETS" </SET>

    <SET name="FooterLine3" custom="true" description="Footer Line 3" type="vbString">"ALL SALES ARE FINAL."</SET>

    <SET name="FooterLine4" custom="true" description="Footer Line 4" type="vbString">"RETURNS OR EXCHANGES WITHIN 7 DAYS IF THE"</SET>

    <SET name="FooterLine5" custom="true" description="Footer Line 5" type="vbString">"PRODUCT HAS NOT BEEN USED OR INSTALLED ARE"</SET>

    <SET name="FooterLine6" custom="true" description="Footer Line 6" type="vbString">"SUBJECT TO A 15% RESTOCKING FEE. NO REFUND "</SET>

    <SET name="FooterLine7" custom="true" description="Footer Line 7" type="vbString">"OR EXCHANGE ON SPECIAL ORDERED ITEMS. ALL"</SET>

    <SET name="FooterLine8" custom="true" description="Footer Line 8" type="vbString">"WARRANTIES ON PRODUCTS ARE BY MANUFACTURERS"</SET>

    <SET name="FooterLine9" custom="true" description="Footer Line 9" type="vbString">"ONLY. WE MAKE NO REPRESENTATION OF SPECIFIC"</SET>

    <SET name="FooterLine10" custom="true" description="Footer Line 10" type="vbString">"SUITABILITY OF PURPOSE. PLEASE NOTE THAT CAR"</SET>

    <SET name="FooterLine11" custom="true" description="Footer Line 11" type="vbString">"RACK/HITCH INSTALLATIONS ARE DONE AS A"</SET>

    <SET name="FooterLine12" custom="true" description="Footer Line 12" type="vbString">"COURTESY ONLY. WE ARE NOT RESPONSIBLE FOR "</SET>

    <SET name="FooterLine13" custom="true" description="Footer Line 13" type="vbString">"DAMAGES. RACKS/HITCHES CAN AND WILL DAMAGE"</SET>

    <SET name="FooterLine14" custom="true" description="Footer Line 14" type="vbString">"YOUR VEHICLE. PLEASE CHECK YOUR RACK/HITCH "</SET>

    <SET name="FooterLine15" custom="true" description="Footer Line 15" type="vbString">"AT REGULAR INTERVALS AND ENSURE THAT YOUR "</SET>

    <SET name="FooterLine16" custom="true" description="Footer Line 16" type="vbString">""</SET>

    <SET name="FooterLine17" custom="true" description="Footer Line 17" type="vbString">"RACK/HITCH AND LOAD ARE PROPERLY SECURED."</SET>

    <SET name="FooterLine18" custom="true" description="Footer Line 18" type="vbString">"ON ACCOUNT TERMS NET 30 DAYS"</SET>

    I made Footer Line 16 blank for this example.

    Then there is the second place on the receipt they are referenced (under the SUB: PrintFooter section) here's a snippet from that section:

      <SUB name="PrintFooter">

         <!-- Print Footer Lines -->

         <TABLE>

            <FONT>      "Small"     </FONT>

            <BORDER> tbNone   </BORDER>

            <COLUMNHEADER>

               <ALIGNMENT>    "^~"        </ALIGNMENT>

               <WIDTH>        PageWidth   </WIDTH>

            </COLUMNHEADER>

            <IF>

               <CONDITION> Len(FooterLine1) </CONDITION>

               <THEN>

                  <ROW> FooterLine1 </ROW>

               </THEN>

            </IF>

            <IF>

               <CONDITION> Len(FooterLine2) </CONDITION>

               <THEN>

                  <ROW> FooterLine2 </ROW>

               </THEN>

            </IF>

            <IF>

               <CONDITION> Len(FooterLine3) </CONDITION>

               <THEN>

                  <ROW> FooterLine3 </ROW>

               </THEN>

            </IF>

            <IF>

               <CONDITION> Len(FooterLine4) </CONDITION>

               <THEN>

                  <ROW> FooterLine4 </ROW>

               </THEN>

            </IF>

            <IF>

               <CONDITION> Len(FooterLine5) </CONDITION>

               <THEN>

                  <ROW> FooterLine5 </ROW>

               </THEN>

            </IF>

            <IF>

               <CONDITION> Len(FooterLine6) </CONDITION>

               <THEN>

                  <ROW> FooterLine6 </ROW>

               </THEN>

            </IF>

            <IF>

               <CONDITION> Len(FooterLine7) </CONDITION>

               <THEN>

                  <ROW> FooterLine7 </ROW>

               </THEN>

            </IF>

            <IF>

               <CONDITION> Len(FooterLine8) </CONDITION>

               <THEN>

                  <ROW> FooterLine8 </ROW>

               </THEN>

            </IF>

            <IF>

               <CONDITION> Len(FooterLine9) </CONDITION>

               <THEN>

                  <ROW> FooterLine9 </ROW>

               </THEN>

            </IF>

            <IF>

               <CONDITION> Len(FooterLine10) </CONDITION>

               <THEN>

                  <ROW> FooterLine10 </ROW>

               </THEN>

    and this goes on until footer line 18

    Please note that footerline 16 does not print a space on this receipt it is simply skipped over, I would imagine it has something to do with the formatting in the SUB: Footerline section

    Thanks again,

    Devon

  • Ryan Sakry Profile Picture
    Ryan Sakry 3,425 on at
    Re: How to print a blank line in footer lines on receipt

    Devon,

    When using the <ROW> tag of the <TABLE> element, you should just be able to stick in an empty <ROW> element (<ROW></ROW>) and this should add a blank line.  Though this can sometimes work in unexpected ways with certain printer/driver combinations.  If just an empty <ROW> tag is not getting the trick done it could end up being a bit more complex.  I'd have to see a copy of the XML to know the proper course of action.

  • DEVON LEROUX Profile Picture
    DEVON LEROUX 1,565 on at
    Re: How to print a blank line in footer lines on receipt

    we are using the <ROW> Tag

    Thanks,

    Devon

  • Ryan Sakry Profile Picture
    Ryan Sakry 3,425 on at
    Re: How to print a blank line in footer lines on receipt

    What type of tag are you working with? <ROW> or <TEXT>?

  • DEVON LEROUX Profile Picture
    DEVON LEROUX 1,565 on at
    Re: How to print a blank line in footer lines on receipt

    Hi Jeff, thanks for the reply!

    I tried as you suggested and it does look odd, do you have any other suggestions to get a blank line in between two footer lines?

    Thanks again,

    Devon

  • Jeff @ Check Point Software Profile Picture
    Jeff @ Check Point ... 13,382 on at
    Re: How to print a blank line in footer lines on receipt

    Devon,

    Try  " . "  That's a space before and after a period surrounded by quotes.  While not completely blank, its close enough without having to change the receipt's XML code.

    If you want that, post back.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,436 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans