Receipts

TouchTil will almost always be used to generate a bill or receipt. The template for these may be edited by pushing the Receipt design button in the Setup & Maintenance screen.

Apart from standard text blocks and images that you wish to include on every bill/receipt, these prinouts will generally need to contain a list of the items sold and (for a receipt) the method of payment. Adding a Table element (from the Edit … Add Element menu) creates an empty block that will automatically be filled with this data on printing. The table appears in the design as a rectangle outline with a dotted line – as shown below.

 

 

 

 

Generally when a receipt printer is to be used the Table element should cover the full width of the paper. When the element is placed on the paper in the designer the height of the element is not adjustable – because this value is not known at design time, as it depends on the number of items being sold. However, additional elements that need to follow the Table may be place anywhere below the Table’s outline and their absolute position will be adjusted at print time.

Each sale is identified with a Sale Reference Code which is stored in the Sales table and which may be included on the receipt by specifying the fixed source of a barcode or a text element to be %code% as shown on the sample above.

 

The layout of the receipt table (number of lines allowed for the item name, and number of columns printed, etc) may be adjusted by selecting the Table element, right-clicking on it and choosing Properties from the pop-up menu. The Table Properties dialog is displayed.

 

tt3

 

This allows you to select the details that will be printed on the receipt and to set the column width allowed for those properties.

The Receipt template is save in the TouchTil directory in the file dReceipt.dat.

A copy of the Receipt template is also made as a Bill template; the template layouts will be identical, although it may be desirable to have slightly different printer settings for Bill and Receipt printing (eg. Bill printing may not be required to trigger the opening of a cash drawer).