How does one enter a Carriage Return in the receipt Footer lines? I have a Wasp WRP8055 thermal printer.
*This post is locked for comments
How does one enter a Carriage Return in the receipt Footer lines? I have a Wasp WRP8055 thermal printer.
*This post is locked for comments
And I don't think it will autowrap, but try it and see what happens. You can test it in the SO Manager without having to roll it out.
-J
Well, it is xml (basically html), so it needs a closing tag (</row>). You can use a break (<br/>) but it might leave a space between rows. Don't forget that there is a limit to the receipt width - if it is a 40 column then 30 characters. You can however, add multiple rows to do what you need to. But do it like a programmer: do one step, test it, back it up, try the next! (if you ever see a programmer sitting in a corner crying you know why!).
-Jerry
jerry@jrdata.us
Thank you Jerry. And you are correct, I'm not a programmer. But I can follow your code very easily. Just a followup question. If I put my footer paragraph within a single <ROW> line, will it auto wrap? Or should I have multiple <ROW> statements to break up my lines?
Hi, Trent.
Sure there is a customization guide, but it is obtuse and often confusing, especially to a layman.
If you've written any POS integration I'm sure you would agree! People who come to this site usually aren't programmers and I just think they could use more focused help.
Thanks,
-Jerry
jerry@jrdata.us
Hello lotuswiz,
Thank you for your questions.
Thank you Gerald for your reply.
We have a customization guide available on Customer Source:
Sometimes you have to enter a character that is in the printer's language, like 'cr' or vbcrlf' or the ascii code Chr(13), or even <br/>.
BUT You may not be able to as these lines are specific in the receipt layout, 'C:\Program Files\Microsoft Retail Management System\Store Operations\ReceiptTemplates\receipt.xml'. You may have to add a line there manually, open it in notepad.
first create a text line at the top:
(<SET name="FooterLine6" custom="true" description="Footer Line 1" type="vbString"> "Thank you for shopping" </SET>)
and then go to 'SUB: PrintFooter' and add a new line like what is there,
'<IF>
<CONDITION> Len(FooterLine6) </CONDITION>
<THEN>
<ROW> FooterLine6 </ROW>
</THEN>
</IF>'
that should definitely do it. I think... Might take some piddling, though.
-Jerry
jerry@jrdata.us
André Arnaud de Cal... 291,711 Super User 2024 Season 2
Martin Dráb 230,458 Most Valuable Professional
nmaenpaa 101,156