Contents

    Variables, commands, and formatting for business expenses receipts

    Stand: JTL-POS Version 0.9.7.2

    On this page you will find an overview of all variables, commands and formatting options for business expenses receipts You can use all of them in the print templates for business expenses receipts in the printer settings. Some commands do not work on certain printers.

    Variables for business expenses receipts

    Here is a list of all the variables that you can use in business expenses receipts.

    $logo$

    The logo stored in Settings > Printing objects > Logo

    $header$

    The header defined under Settings > Printing objects > Header

    $customer$

    Prints the customer data stored as variables in the printer settings under Menu > Printer > Tap on printer > Edit customer data template.

    $pos_name$

    Name of the line item (item name, name of the favourite, name of the custom line item, etc.)

    $pos_no$

    SKU of the line item

    $pos_gtin$

    GTIN of the line item

    $pos_total$

    Net sales price of the line item (total)

    $pos_tax$

    Tax rate abbreviation (Aor B; A = normal tax rate, B = reduced tax rate)

    $currency$

    Currency

    $currency_sym$

    Currency symbol (e.g. or $)

    $given$

    Total amount received

    $return$

    Total change given

    $gratuity$

    Total tips received

    $total$

    Total gross amount for receipts

    $total_net$

    Total net amount for receipts (minus payments for returns)

    $total_tax$

    Total tax

    $t1$

    Normal tax rate in percent

    $t2$

    Reduced tax rate in percent

    $t1net$

    Total net amount to which the normal tax rate applies

    $t2net$

    Total net amount to which the reduced tax rate applies

    $t1tax$

    The total amount of tax resulting from the normal tax rate

    $t2tax$

    Total amount of tax resulting from the reduced tax rate

    $t1total$

    Total gross amount for receipts to which the normal tax rate applies

    $t2total$

    Total gross amount for receipts to which the reduced tax rate applies

    $date$

    Date on which the receipt is issued

    $time$

    Time at which the receipt is issued, format: hh:mm (hours:minutes)

    $receipt_no$

    Receipt number

    $receipt_paid_no$

    Payment number

    $cashbox_name$

    Name of the cash register

    $cashbox_id$

    Cash register ID

    $user_id$

    User ID

    $footer$

    The footer defined under Settings > Printing objects > Footer

    $payment_method$

    Payment method

    $discount$

    Total discount

    $payment_info$

    Issues the transaction information of the card payment

    $customer_no$

    Customer ID

    $customer_name$

    First name and last name of customer, taken from customer master data

    $customer_address$

    Street and house number of the customer, taken from customer master data

    $customer_postcode$

    Postal code of the customer, taken from customer master data

    $customer_city$

    Place of residence of the customer, taken from customer master data

    $customer_country$

    Country of the customer, taken from customer master data

    $tse_sn$

    Serial number of the TSE. Can only be used after the TSE has been activated.

    Commands

    You can insert these commands on receipts to control the printer. Not all commands are supported by all printers.

    <CUT>

    Cuts the paper at the tag position.

    <OPENCD>

    Opens the cash drawer connected to the printer.

    Formatting options

    You can use these options to format your text. xxx can be replaced by plain text or one of the above variables. Not all formatting options are supported by all printer models.

    <BR>

    Inserts a line break.

    <B>xxx</B>

    Formats the text within the tags in bold.

    <U>xxx</U>

    Underlines the text within the tags.

    <U2>xxx</U2>

    Underlines the text within the tags and formats it in bold.

    <F1>xxx</F1>

    Selects Font 1 for the text within the tags.

    <F2>xxx</F2>

    Selects Font 2 for the text within the tags.

    <H2>xxx</H2>

    Doubles the hight of text within the tags.

    <W2>xxx</W2>

    Doubles the width of the text within the tags.

    <T2>xxx</T2>

    Makes the text within the tags twice as large (height and width).

    <L>xxx</L>

    Aligns the text within the tags to the left.

    <R>xxx</R>

    Aligns the text within the tags to the right.

    <C>xxx</C>

    Centres the text within the tags.

    <FS>

    Resets the font size to default.

    <WIDTH>

    Window width

    Contents

    Use these variables to mark certain elements of your business expenses receipt, for example, as a tip section. These are only printed if the corresponding content is required. In the case of a tip section, for example, when you are tipped.

    <position>xxx</position>

    Line item

    <gratuity>xxx</gratuity>

    Tip

     <change>xxx</change>

    Change

    <discount>xxx</discount>

    Discount

    <copy>xxx</copy>

    Copy

    Bar codes

    You can have bar codes printed on your receipts. You can use the following variables to do this.

    <QRCODE>xxx</QRCODE>

    Issues a QR code for the variable specified in xxx. The size is approx. 3.5 cm x 3.5 cm.

    <QRCODE2>xxx</QRCODE2>

    Issues a smaller QR code for the variable specified in xxx. The size is approx. 1.5 cm x 1.5 cm.

    <CODE128>xxx</CODE128>

    Issues a Code128 bar code (GS1-128) for the variable specified in xxx.

     <EAN8>xxx</EAN8>

    Issues a GTIN-8 bar code for the variable specified in xxx.

     <EAN13>xxx</EAN13>

    Issues a GTIN-13 bar code for the variable specified in xxx.

    <UPC_A>xxx</UPC_A>

    Issues a UPC-A bar code (GTIN-12) for the variable specified in xxx.

     <UPC_E>xxx</UPC_E>

    Issues a UPC-E bar code for the variable specified in xxx.