Receipt: header and footer

receipt-header-footer

In “Settings/Printing/Receipts”, you can set up the header and footer of your receipts.
With Hiboutik POS software, you can print your receipts on thermal paper rolls of 3-1/8” (default size) or 2-1/4” (right to enable in Settings/Access management).

If you want to format your text or add variables (customer name, loyalty points…), you can use the codes described bellow.
Some codes must be type alone on one line (with no text or variable before and after the code on the same line).
You can also add conditional codes, to print the variable only if the condition meets the requirement.

For an advanced setup of your receipt layout (sale detail), please read the following article: customize your sale detail on receipts.

 

1/ Codes to customize your receipt

Beginning code End code
Description
These codes must be alone on one line (with no text added on the same line)
 <hibou_bold>  </hibou_bold> Bold the text
 <hibou_double_height>  </hibou_double_height> Double the text height
 <hibou_double_width>  </hibou_double_width> Double the text width
 <hibou_underline>  </hibou_underline> Underline the text with a thin line
 <hibou_underline_2dots>  </hibou_underline> Underline the text with a thick line
<hibou_emphasized>  </hibou_emphasized> Enphasize the text
 <hibou_align_left>   Align left the text
 <hibou_align_center>   Center the text
 <hibou_align_right>   Align right the text
<hibou_use_font_a>   Use the A font of your printer
<hibou_use_font_b>   Use the B font of your printer
<hibou_use_font_c>   Use the C font of your printer
<hibou_font_size>width|height   Change the font size with an integer between 1 and 8 for the width and the height (1|1 default size)
<hibou_switch_colors>  </hibou_switch_colors> Print in white on black background
<hibou_print_barcode>   Print the sale ID barcode
<hibou_print_barcode_client_id>   Print the customer ID barcode
<hibou_print_barcode_client_id_ean>   Print the customer ID barcode with a 245 prefix in order to scan it directly in the “Add product” field of a sale
<hibou_print_barcode_client_ean>   Print the customer EAN barcode
<hibou_activate_buzzer>   Launch the buzzer (restaurant)
<hibou_set_print_width_57>   Fix the printing width to 2-1/4”
<hibou_open_drawer>   Open the cash drawer
<hibou_cut_paper_full>   Cut the paper on its full width
<hibou_cut_paper_partial>   Cut the paper partially
These codes can be added wherever you want
<hibou_print_date>   Print the date (format : AAAA-MM-DD)
<hibou_print_date_time>   Print the date and time (format AAA-MM-DD HH:MM:SS)
<hibou_print_year>   Print the year
<hibou_print_month_letters>   Print the month in letters (ex : july)
<hibou_print_month>   Print the month number
<hibou_print_day>   Print the day number
<hibou_print_room>   Print the room name
<hibou_print_table>   Print the table name
<hibou_print_couverts>   Print the number of place settings
<hibou_print_payment>   Print the payment method(s) used
<hibou_print_logo>   Print the logo saved in the printer. Must be followed by two codes separated by a pipe (codes available in your printer utility). Ex: <hibou_print_logo>32|32
<hibou_print_logo_deprecated>   Print the logo saved in the printer. Must be followed by your logo code (code available in your printer utility). Only for old hardware.
<hibou_print_num_order>   Print the sale number
<hibou_print_num_order_unique>   Print the close sale number based on a continuous chronological sequence (only when the sale is closed)
<hibou_print_client_first_name>   Print the customer first name
<hibou_print_client_last_name>   Print the customer last name
<hibou_print_client_email>   Print the customer email
<hibou_print_client_telephone>   Print the customer phone number
<hibou_print_client_tax_number>   Print the customer tax number (ex: intra-community VAT number)
<hibou_print_client_account_balance>   Print the balance of the prepaid purchase account
<hibou_print_client_credit_balance>   Print the balance of the store credit account
<hibou_print_vendor_last_name>   Print the last name of the seller/waiter
<hibou_print_vendor_first_name>   Print the first name of the seller/waiter
<hibou_print_client_points>   Print the balance of the loyalty account
<hibou_print_order_points>   Print loyalty points gained on the sale
<hibou_print_comments>   Print the sale notes
<hibou_print_qrcode>   Print a QR code. Ex: <hibou_print_qrcode>http://www.hiboutik.com
<hibou_print_this_barcode>   Print a specific barcode. Ex: <hibou_print_this_barcode>1234567891011
<hibou_print_service_charge>   Print the service charge amount
Conditional codes to add at the beginning of the line (if…then print)
<hibou_print_if_client>   Print the line IF a customer is linked to the sale
<hibou_print_if_vendor>   Print the line IF a seller is linked to the sale
<hibou_print_if_happy_hour>   Print the line IF it is happy hour time
<hibou_print_if_couverts>   Print the line IF a number of place settings is assigned to the sale
<hibou_print_if_num_order_unique>   Print the line IF the sale is closed and has a continuous chronological ID number
<hibou_print_if_client_points>   Print the line IF the customer has 1 point at least in his loyalty account
<hibou_print_if_order_points>   Print the line IF at least one product of the sale gives loyalty points
<hibou_print_if_client_tax_number>   Print the line IF the customer has a tax number

<hibou_print_if_client_account
_balance_positive>

  Print the line IF the balance of the prepaid purchase account is positive

<hibou_print_if_client_credit_balance>

  Print the line IF the balance of the store credit account is different than 0

<hibou_print_if_takeaway_sale>

  Print the line IF it is a takeaway sale

<hibou_print_if_eatin_sale>

  Print the line IF it is a eat-in sale

 

2/ Example of a custom receipt

To help you understand how you can customize your receipt, please find bellow an example:

In the header, we are going:
– to print our logo (we used the printer utility to save our logo into the printer),
– to double the height and width of our address,
– to add the barcode of the sale (in order to scan it for a return),
– to print the first name, last name and email of the customer if we assign one to the sale,
– and finally to add the first name of the cashier.

In the footer, we want:
– to add the message “THANK YOU. See you soon!” on two lines,
– to print a promotional ad and a QR code (like a website address, a discount…)

Here is the result:

customize-receipt-header-footer 

 

Here is the code used :

<hibou_print_logo>32|32

<hibou_double_height>
<hibou_double_width>

Oxford street 71
London W1D 2EW
</hibou_double_height>
</hibou_double_width>

<hibou_print_barcode>

<hibou_print_if_client>Customer: <hibou_print_client_first_name> <hibou_print_client_last_name> (<hibou_print_client_email>)

Cashier: <hibou_print_vendor_first_name>

THANK YOU
See you soon!

Discover you special gift with this QR code
<hibou_print_qrcode>https://shop.hiboutik.com/?id_offer=<hibou_print_num_order>

 

the owl has written 47 articles