dPos print receipts using AnyLabels and a special template. This allows all the elements of AnyLabels to available for receipt printing, so that graphics and fancy fonts, lines, shapes, etc may be included on receipts. The special template may be edited by pushing the Receipt Design button in the Setup & Maintenance screen.
Text blocks, dates, pictures, lines, shapes and barcodes may be added to the template by choosing Add Element from the Edit menu – or using one of the toolbar buttons. Any element may be edited by right-clicking on the element and selecting one of the options from the pop-up menu displayed. See the AnyLabels Help system for details.
The text element containing Dunbeath Stores in the screen shot below contains one of the tags mentioned earlier. Right click on the element and choose Properties and you will see that instead of the words “Dunbeath Stores” the element actually contain %myname%.


The text %myname% will be replaced by whatever you entered in the company name tag when you first started dPos. If you wish to change this tag you can do so from the Setup & Maintenance screen by pushing the Default Texts button. If you don’t wish to use the tags you can simply change %myname% to the text you require.
Similarly the address & phone number under Dunbeath Stores is actually the contents of the %myaddr% tag entered on the Default Texts screen.
The only other element of the receipt’s template that differs from standard AnyLabels templates is the section that contains the list of items and prices with the totals and tax analysis underneath. This element is added to the template as a “Table” element from AnyLabels Add Element menu.
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 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.
Placing a barcode containing the Sale Code on the receipt is useful in that it allows the details of a sale to be found in the Sales table by scanning the barcode into the Sales form.
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.

This allows you to select the categories that will be printed on the receipt and to set the column width allowed for those properties. You can also select whether the payment type is recorded (Cash, Card or Invoice) and whether a tax analysis is included. Note that if a tax analysis is not included then a legend similar to “This is not a VAT receipt” will be placed at then end of the table as required by law in some countries.
If you are providing a tax analysis then you may also be required to include your company address, registration number and/or tax registration number on the receipt.