This article explains how you can customize the content of the sale detail on your receipt.
1/ How is printed the sale detail on my receipt?
You can find up to 2 different fonts (sometimes 3) into your printer. Each font is linked to a number of columns (different from a printer to another). It means that you can only print a maximum number of characters per line for each font.
Ex: the Epson T20II printer can print 64 characters per line for font A and 48 characters per line for font B.
By default in your Hiboutik account, we print for each product line: the quantity, the description, the unit price, and the total price. The font is the smaller one of your printer. Each line is printed on 56 columns:
[quantity – max 6 characters][description – max 34 char.][unit price – max 8 char.][total price – max 8 char.]
Finally, you can add any content to your receipt layout, if you just assign each component with a maximum number of characters.
2/ How to customize the sale detail of my receipt?
In Settings/Users/Access management, enable the right: Manage receipt advanced settings.
Then go to Settings/Printing/Receipt.
Here you can select the different components you want to be displayed on your ticket:
– Product (name of the product),
– Category (category of the product),
– Unit price incl.tax,
– Unit price incl.tax and without the discount,
– Discount (discount amount / selling price, “Discount ” is printed before),
– Unit price excl. tax,
– Points (points earned for all products of the line, the value is followed by “ points”),
– Total incl. tax (= unit price incl.tax x quantity),
– S/N (serial number),
– Supplier (name of the supplier),
– Supplier reference,
– Brand (name of the brand),
– Product ID,
– Tax rate (in %)
– Notes (of the product line).
For each component you must select the length (maximum number of characters), the round (for digital values), and the text alignment.
The font of the content is the last font setup in the header of your receipt (or font A by default). To change the font on your receipt, please read the following article: Receipt – header and footer.
To print only one line for each product of the sale, the total of component characters should not exceed your font number of columns.
If a product of the sale is not affected by a component (ex: no discount or no loyalty point), nothing is printed on the receipt.
If you delete all components in Settings/Printing/Receipt, you will go back to the default Hiboutik layout.
In our example we will use font B of the printer. We go to Settings/Printing/Receipt and we add the following code in the header of the receipt: <hibou_use_font_b>
Our printer has 42 columns for font B.
We want to display:
– on the first line: the quantity, the description, the size if there is one, and the total price.
– on the second line: the discount if there is one.
Here is the content fulfilled in Settings/Printing/Receipt and the sample ticket: