Contents

    Variables, commands, and formatting for internal receipts

    Stand: JTL-POS Version 0.9.6.4

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

    Variables for internal receipts

    Here is a list of all the variables that you can use in internal 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_total$

    Net sales price of the line item (total)

    $pos_gtin$

    GTIN of the line item

    $pos_quantity$

    Item quantity for the line item

    $pos_price$

    Sales price per piece

    $pos_comment$

    Comment on line item

    $pos_unit$

    Sales unit of line item

    $currency$

    Currency

    $currency_sym$

    Currency symbol (e.g. or $)

    $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

    $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

    $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

    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 internal receipt, for example, as a line item section.

    <position>xxx</position>

    Line item

    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.