Skip to main content

PayComplete™™ Help Center

Editing a receipt header

The most common edits include modifying the header of a receipt. To do this, you edit the external header template file. Changes to the external header template file affect all receipts using the template.

Receipt Builder needs to know the root folder for all receipt files to locate project files, such as images, headers and footers. When you open a standard receipt project from its default location it recognizes the path and automatically selects a root folder. If you have saved the receipt files in a different folder, the Select root folder for receipt files browser is opened.

Important

Remember to save often to make sure you don't lose any changes.

Tip

When you drag an element from the navigation pane and hover over the receipt, an indicator shows you where the new element is going to be added.

  • A blue rectangle appears around an object when it's selected.

  • A black line at the top of an element indicates that the new element is going to be added above the existing element.

  • A black line at the bottom of an element indicates that the new element is going to be added below the existing element.

  • A gray row indicates that the new element is going to be added on the same row as the existing element.

It's not always possible to drop an element on the same row as another element.

Task. Edit a receipt header
  1. Start Receipt Builder.

  2. On the File menu, select Open.

  3. In the file browser, select the header project stored in [installation folder]\resources\configurable\receipts\header.rcp.

    The common header is shown in the Receipt Builder work area. By default, the data from the last printed receipt is shown.

  4. To show the header example data, select Data example, in the Data to use area.

    The header example data is shown in the work area.

  5. Select the Transaction row in the receipt.

  6. In the Properties pane, select the transaction data tag (with the value 'albaran') to delete the Transaction row.

  7. Select the Data tab.

  8. In the navigation pane, right-click the element for the transaction ID (called 'albaran' in the example) and select Add as barcode.

    The barcode is shown at the bottom of the receipt.

  9. In the Properties pane, select CODE39 from the list in the Format box.

  10. To position the barcode on the receipt:

    • Select the barcode in the receipt

    • In the Properties pane, add a margin by typing a number in the Left margin box.

    • Test how the alignment turns out.

    If you want to center the barcode in the receipt and are using a TPL-80 printer, a suitable margin for a barcode with 10 characters might be 110 dots.

  11. To move a column from one row to another:

    • In the receipt, select the row with the column you want to move.

    • In the Properties pane, locate the column you want to move.

    • Click inside the properties area for that column, but not on any of the components, and drag to new location in the receipt in the work area. The row becomes gray to indicate that this is where the element is going to be dropped.

    • In the Properties pane, adjust the column width if needed.

  12. To remove rows:

    • In the receipt, select the row you want to remove.

    • On the Edit menu, select Delete.

  13. Save the receipt.