Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Example: Adding New Text to the Receipt

New Text

Pickup Hours are from 2pm until 6pm

...

New XML

<receipt>
<
string id=”txtPickupHours en=”Store Pickup Hours are from 2pm until 6pm.”>Store Pickup Hours are from 2pm until 6pm.</string>
</
receipt>

19. Save the apmlang_custom.xml file and close.
20. Open apmconfig_receipt.xml in Notepad.
21. Locate the section of the file where the new customized text will appear on the receipt.
22. Hit enter to create a new line
23. Use the following sample as a guideline
<item name=”footer type=”text pts=”10 face=”times new roman bold=”false italic=”true align=”center”>txtThankYouFooter</item>
24. Create an empty template using the following items:
<item name=”” type=”” pts=”” face=”” bold=”” italic=”” align=” “></item>
25. In the name= enter a new name for the text.
26. In the type= enter text.
27. In the pts= enter the size of the font.
28. In the face= enter the font to be used.
**Note: The font name has to match the font name in Windows and also has to be properly loaded into the machine.
29. In the bold= enter true or false depending on whether boldface will be used or not.
30. In the italic= enter true or false depending on whether italics will be used or not.
31. For alignment of the text enter left, center, or* right* in align=.
32. Between the > < enter the name of the txt created for the text as it was in the apmlang_custom.xml file
Example: <item name=”footer type=”text pts=”10 face=”times new roman bold=”false italic=”true align=”center”>txtThankYouFooter</item>
33. Repeat steps 22-31 for each line of new text created in the apmlang_custom.xml file.
34. Save the file and then open it in Internet Explorer to check for errors.