If you would like multiple datafields in a text field on a custom receipt you will need to do the following.
1) Add a composite field to your layout by selecting composite and dragging to your layout editor.
2) Select the new composite field on the layout editor and edit "CompositeFields" under misc.
3) Click Add and then edit the value on the right hand side selecting the datafield you would like to use.
4) Repeat this step until you are happy with the datafields you want to have inserted into the composite field then click ok.
5) Under format layout for the composite enter the text you would like to appear.
To insert the datafield from the compositefields list enter them as the numbered items surrounded by braces. An example would be "Customer Name: {0} Transaction ID: {1} Account Number: {2}".
Attached is an example of this feature. This can be found in the footer for your reference.