Receipt template

The receipt template can contain either static text, or any of the directives documented in this section.

Although the receipt template is a text box that allows any number to characters per line, it is worth noting while designing the layout, that a printer can only print a fixed number of characters per line. If one line contain more characters that the printer can handle, then the next printed line will become disoriented.

Below is an example of a receipt template:

</CENTER></BITMAP>
</CENTER></BOLD></DBLWIDE></REPEATPRNCOUNT>
</CENTER> 
</CENTER></RCPTTOP>
Transaction: </STORE_ID>.</TRANSNUM>
Date/time  : </TRANSDATETIME>
Cashier    : </OPERNAME>
</CENTER> 
</TRANSACTION_INFOCODES>
</LINE> 
Description        Qty.   Price    Amount
                              $         $
-----------------------------------------
</BODY>
</CENTER>
</STORE_ID>.</TRANSNUM,BC[Type=108][Height=50][Width=150][Alignment=-2][TextPosition=-11]>
</CENTER> 
</CENTER>
</RCPTBOTT>

Last updated

Was this helpful?