{"id":190216,"date":"2019-12-10T14:35:55","date_gmt":"2019-12-10T13:35:55","guid":{"rendered":"https:\/\/guide.jtl-software.com\/hardware\/variables-commands-and-formatting-for-cash-receipts\/"},"modified":"2023-07-19T13:44:24","modified_gmt":"2023-07-19T11:44:24","slug":"variables-commands-and-formatting-for-cash-receipts","status":"publish","type":"page","link":"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/variables-commands-and-formatting-for-cash-receipts\/","title":{"rendered":"Variables, commands and formatting for cash receipts"},"content":{"rendered":"<div class=\"wpb-content-wrapper\">[vc_row][vc_column width=&#8221;1\/3&#8243; responsive=&#8221;{&#8220;col&#8220;: &#8220;12&#8220;, &#8220;order-md&#8220;: &#8220;1&#8220;, &#8220;col-lg&#8220;: &#8220;4&#8220;, &#8220;order-lg&#8220;: &#8220;12&#8220;}&#8221; advanced=&#8221;{&#8220;class&#8220;: &#8220;&#8220;, &#8220;hash&#8220;: &#8220;&#8220;}&#8221;]<div id=\"toc\" class=\"d-print-none\">\n\t<div class=\"card border-0 bg-rysywhite mt-0 mt-lg-5 mb-5 w-100\" data-toc-element>\n\t\t<div class=\"d-none d-lg-flex flex-column\">\n\t\t\t<span class=\"fa-layers mx-auto mt--4 fa-fw fa-3x text-shaftblue\">\n\t\t\t\t<span class=\"fas fa-circle\"><\/span>\n\t\t\t\t<span class=\"fas fa-inverse fa-list-ul\" data-fa-transform=\"shrink-8\"><\/span>\n\t\t\t<\/span>\n\t\t\t<span class=\"font-weight-bold text-shaftblue text-center h5 mt-3 mb-0\">Contents<\/span>\n\t\t<\/div>\n\t\t<div class=\"d-block d-lg-none\">\n\t\t\t<a class=\"text-decoration-none card-header-link collapsed\" data-toggle=\"collapse\" href=\"#collapse-toc\" aria-expanded=\"false\" aria-controls=\"collapse-toc\">\n\t\t\t\t<div class=\"card-header d-flex bg-white align-items-center\" role=\"tab\" id=\"heading-toc\">\n\t\t\t\t\t<span class=\"h4 mb-0 d-flex align-items-center\">\n\t\t\t\t\t\t<span class=\"fa-layers fa-fw fa-2x mr-2 text-shaftblue\">\n\t\t\t\t\t\t\t<span class=\"fas fa-circle\"><\/span>\n\t\t\t\t\t\t\t<span class=\"fas fa-inverse fa-list-ul\" data-fa-transform=\"shrink-8\"><\/span>\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t<span>Contents<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<span class=\"flex-shrink-0 ml-auto fas fa-caret-down text-gray\"><\/span>\n\t\t\t\t<\/div>\n\t\t\t<\/a>\n\t\t<\/div>\n\t\t<div id=\"collapse-toc\" class=\"collapse show\" data-parent=\"#toc\" role=\"tabpanel\" aria-labelledby=\"heading-toc\">\n\t\t\t<div class=\"card-body p-4 table-of-content\">\n\t\t\t\t<ul data-toc-headings=\"h2,h3\" data-toc class=\"list-pos\"><\/ul>\n\t\t\t<\/div>\n\t    <\/div>\n\t<\/div>\n<\/div>[\/vc_column][vc_column responsive=&#8221;{&#8220;col&#8220;: &#8220;12&#8220;, &#8220;col-md&#8220;: &#8220;8&#8220;, &#8220;order-md&#8220;: &#8220;12&#8220;, &#8220;order-lg&#8220;: &#8220;1&#8220;}&#8221; width=&#8221;2\/3&#8243; advanced=&#8221;{&#8220;class&#8220;: &#8220;&#8220;, &#8220;hash&#8220;: &#8220;&#8220;}&#8221;]<h1 class=\"mb-0 d-flex align-items-center hl-pos\" id=\"variables-commands-and-formatting-for-cash-receipts\">Variables, commands and formatting for cash receipts <span id='anchor-variables-commands-and-formatting-for-cash-receipts' data-href='#variables-commands-and-formatting-for-cash-receipts' class='far fa-link' data-anchor><\/span><\/h1><div class=\"mt-1 mb-5 mt-1 mb-5 d-print-none\">\n\t\t\t<small>Stand: JTL-POS Version 0.9.7.2<\/small>\n\t<\/div>\n\t<p>On this page you will find an overview of all variables, commands and formatting options. You can use all of them in the print templates for receipts in the <span style=\"color: #336699;\"><a style=\"color: #336699;\" href=\"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/dialogue-box-manage-printers\/\">Printer settings<\/a><\/span>. Some commands do not work on certain printers.<\/p>\n<p>This list is constantly being expanded.<\/p>\n<h2 class=\"mb-0 d-flex align-items-center hl-pos\" id=\"variables-for-cash-receipts\">Variables for cash receipts <span id='anchor-variables-for-cash-receipts' data-href='#variables-for-cash-receipts' class='far fa-link' data-anchor><\/span><\/h2>\t<p>Here you will find a list of all variables that you can use in receipts.<\/p>\n<div class=\"mb--3\">\n\t<p><b>$logo$<\/b><\/p>\n<\/div>\n\t<p>The logo stored in <span class=\"highlight\">Settings &gt; Printing objects &gt; Logo<\/span><\/p>\n<div class=\"mb--3\">\n\t<p><strong>$header$ <\/strong><\/p>\n<\/div>\n\t<p>The header defined under <span class=\"highlight\">Settings &gt; Printing objects &gt; Header<\/span><\/p>\n<div class=\"mb--3\">\n\t<p><strong>$customer$ <\/strong><\/p>\n<\/div>\n\t<p>Prints the customer data stored as variables in the printer settings under <span class=\"highlight\">Menu &gt; Printer &gt; Tap on printer &gt; Edit customer data template<\/span>.<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$pos_name$ <\/strong><\/p>\n<\/div>\n\t<p>Name of the line item (item name, name of the favourite, name of the custom line item, etc.)<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$pos_no$ <\/strong><\/p>\n<\/div>\n\t<p>SKU of the line item<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$pos_gtin$ <\/strong><\/p>\n<\/div>\n\t<p>GTIN of the line item<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$pos_total$<\/strong><\/p>\n<\/div>\n\t<p>Net sales price of the line item (total)<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$pos_tax$<\/strong><\/p>\n<\/div>\n\t<p>Tax&nbsp;rate abbreviation (<span class=\"highlight\">A<\/span>or <span class=\"highlight\">B<\/span>; A = normal tax rate, B = reduced tax rate)<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$pos_quantity$<\/strong><\/p>\n<\/div>\n\t<p>Item quantity for the line item<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$pos_price$<\/strong><\/p>\n<\/div>\n\t<p>Sales price per piece<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$pos_comment$<\/strong><\/p>\n<\/div>\n\t<p>Comment on line item<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$pos_unit$<\/strong><\/p>\n<\/div>\n\t<p>Sales unit of line item<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$currency$<\/strong><\/p>\n<\/div>\n\t<p>Currency<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$currency_sym$<\/strong><\/p>\n<\/div>\n\t<p>Currency symbol (e.g. <span class=\"highlight\">\u20ac<\/span> or <span class=\"highlight\">$<\/span>)<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$given$<\/strong><\/p>\n<\/div>\n\t<p>Total amount received<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$return$<\/strong><\/p>\n<\/div>\n\t<p>Total change given<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$gratuity$<\/strong><\/p>\n<\/div>\n\t<p>Total tips received<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$total$<\/strong><\/p>\n<\/div>\n\t<p>Total gross amount for receipts<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$total_net$<\/strong><\/p>\n<\/div>\n\t<p>Total net amount for receipts (minus payments for returns)<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$total_net_all$<\/strong><\/p>\n<\/div>\n\t<p>Total net receipt amount (without deduction of payments for returns)<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$total_tax$<\/strong><\/p>\n<\/div>\n\t<p>Total tax<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$t1$<\/strong><\/p>\n<\/div>\n\t<p>Normal tax rate in percent<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$t2$<\/strong><\/p>\n<\/div>\n\t<p>Reduced tax rate in percent<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$t1net$<\/strong><\/p>\n<\/div>\n\t<p>Total net amount to which the normal tax rate applies<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$t2net$<\/strong><\/p>\n<\/div>\n\t<p>Total net amount to which the reduced tax rate applies<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$t1tax$<\/strong><\/p>\n<\/div>\n\t<p>The total amount of tax resulting from the normal tax rate<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$t2tax$<\/strong><\/p>\n<\/div>\n\t<p>Total amount of tax resulting from the reduced tax rate<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$t1total$<\/strong><\/p>\n<\/div>\n\t<p>Total gross amount for receipts to which the normal tax rate applies<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$t2total$<\/strong><\/p>\n<\/div>\n\t<p>Total gross amount for receipts to which the reduced tax rate applies<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$date$<\/strong><\/p>\n<\/div>\n\t<p>Date on which the receipt is issued<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$time$<\/strong><\/p>\n<\/div>\n\t<p>Time at which the receipt is issued, format: hh:mm (hours:minutes)<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$receipt_no$<\/strong><\/p>\n<\/div>\n\t<p>Receipt number<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$receipt_paid_no$<\/strong><\/p>\n<\/div>\n\t<p>Payment number<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$cashbox_name$<\/strong><\/p>\n<\/div>\n\t<p>Name of the cash register<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$cashbox_id$<\/strong><\/p>\n<\/div>\n\t<p>Cash register ID<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$user_id$<\/strong><\/p>\n<\/div>\n\t<p>User ID<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$footer$<\/strong><\/p>\n<\/div>\n\t<p>The footer defined under <span class=\"highlight\">Settings &gt; Printing objects &gt; Footer<\/span><\/p>\n<div class=\"mb--3\">\n\t<p><strong>$payment_method$<\/strong><\/p>\n<\/div>\n\t<p>Payment method<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$discount$<\/strong><\/p>\n<\/div>\n\t<p>Total discount<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$payment_info$<\/strong><\/p>\n<\/div>\n\t<p>Issues the transaction information of the card payment<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$customer_no$<\/strong><\/p>\n<\/div>\n\t<p>Customer ID<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$customer_name$<\/strong><\/p>\n<\/div>\n\t<p>First name and last name of customer, taken from customer master data<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$customer_address$<\/strong><\/p>\n<\/div>\n\t<p>Street and house number of the customer, taken from customer master data<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$customer_postcode$<\/strong><\/p>\n<\/div>\n\t<p>Postal code of the customer, taken from customer master data<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$customer_city$<\/strong><\/p>\n<\/div>\n\t<p>Place of residence of the customer, taken from customer master data<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$customer_country$<\/strong><\/p>\n<\/div>\n\t<p>Country of the customer, taken from customer master data<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$receipt_no_long$<\/strong><\/p>\n<\/div>\n\t<p>Receipt number is output in full<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$company_tax_no$<\/strong><\/p>\n<\/div>\n\t<p>Tax ID<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$company_vat_id$<\/strong><\/p>\n<\/div>\n\t<p>VAT identification number<\/p>\n<h2 class=\"mb-0 d-flex align-items-center hl-pos\" id=\"variables-for-tse\">Variables for TSE <span id='anchor-variables-for-tse' data-href='#variables-for-tse' class='far fa-link' data-anchor><\/span><\/h2><div class=\"mb--3\">\n\t<p><strong>$tse_sn$<\/strong><\/p>\n<\/div>\n\t<p>Serial number of the TSE. Can only be used after the TSE has been activated.<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$tse_footer$<\/strong><\/p>\n<\/div>\n\t<p>Issues the signature of the TSS. The information in the signature comes directly from Epson and cannot be edited. Can only be used after the TSE has been activated.<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$tse_qr$<\/strong><\/p>\n<\/div>\n\t<p>Issues the signature of the TSS as a QR code. The QR code can only be added to printed receipts. It is not displayed on receipts sent via email. Can only be used after the TSE has been activated.<\/p>\n<h2 class=\"mb-0 d-flex align-items-center hl-pos\" id=\"other-variables\">Other variables <span id='anchor-other-variables' data-href='#other-variables' class='far fa-link' data-anchor><\/span><\/h2><div class=\"mb--3\">\n\t<p><strong>$external_no$<\/strong><\/p>\n<\/div>\n\t<p>External transaction ID, e.g. JTL-Wawi sales order ID if the order has been transferred from JTL-Wawi.<\/p>\n<div class=\"mb--3\">\n\t<p><strong>$user_name$<\/strong><\/p>\n<\/div>\n\t<p>User name<\/p>\n<h2 class=\"mb-0 d-flex align-items-center hl-pos\" id=\"commands\">Commands <span id='anchor-commands' data-href='#commands' class='far fa-link' data-anchor><\/span><\/h2>\t<p>You can insert these commands on receipts to control the printer. Not all commands are supported by all printers.<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;CUT&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Cuts the paper at the tag position.<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;OPENCD&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Opens the cash drawer connected to the printer.<\/p>\n<div class=\"mb--3\">\n\t<p><strong>&lt;CUTSTAR&gt; <\/strong><\/p>\n<\/div>\n\t<p><span class=\"highlight\">Cut command<\/span> for STAR printer.<\/p>\n<div class=\"mb--3\">\n\t<p><strong>&lt;HEX&gt;x1b,x64,x00&lt;\/HEX&gt;<\/strong><\/p>\n<\/div>\n\t<p>With the <span class=\"highlight\">hex command<\/span>, bytes commands can be sent to the printer separately, e.g. for CUTSTAR.<\/p>\n<div class=\"mb--3\">\n\t<p><strong>&lt;OPENCDSUNMI&gt;<\/strong><\/p>\n<\/div>\n\t<p>Opens the Sunmi cash drawer connected to the printer.<\/p>\n<h2 class=\"mb-0 d-flex align-items-center hl-pos\" id=\"formatting-options\">Formatting options <span id='anchor-formatting-options' data-href='#formatting-options' class='far fa-link' data-anchor><\/span><\/h2>\t<p>You can use these options to format your text. <span style=\"color: #cf004f;\">xxx<\/span> can be replaced by plain text or one of the above variables. Not all formatting options are supported by all printer models.<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;BR&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Inserts a line break.<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;B&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/B&gt;<\/b> <\/strong><\/p>\n<\/div>\n\t<p>Formats the text within the tags in bold.<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;U&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/U&gt;<\/b><br \/>\n<\/strong><\/p>\n<\/div>\n\t<p>Underlines the text within the tags.<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;U2&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/U2&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Underlines the text within the tags and formats it in bold.<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;F1&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/F1&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Selects Font 1 for the text within the tags.<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;F2&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/F2&gt;<\/b> <\/strong><\/p>\n<\/div>\n\t<p>Selects Font 2 for the text within the tags.<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;H2&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/H2&gt;<\/b><br \/>\n<\/strong><\/p>\n<\/div>\n\t<p>Doubles the hight of text within the tags.<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;W2&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/W2&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Doubles the width of the text within the tags.<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;T2&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/T2&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Makes the text within the tags twice as large (height and width).<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;L&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/L&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Aligns the text within the tags to the left.<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;R&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/R&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Aligns the text within the tags to the right.<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;C&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/C&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Centres the text within the tags.<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;FS&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Resets the font size to default.<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;WIDTH&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Window width<\/p>\n<h2 class=\"mb-0 d-flex align-items-center hl-pos\" id=\"contents\">Contents <span id='anchor-contents' data-href='#contents' class='far fa-link' data-anchor><\/span><\/h2>\t<p>Use these variables to mark certain elements of your 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.<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;position&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/position&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Line item<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;gratuity&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/gratuity&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Tip<\/p>\n<div class=\"mb--3\">\n\t<p><strong>&nbsp;<b>&lt;change&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/change&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Change<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;discount&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/discount&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Discount<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;copy&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/copy&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Copy<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;cancellation&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/cancellation&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Cancellation reason<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;payment&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/payment&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Payment<\/p>\n<h2 class=\"mb-0 d-flex align-items-center hl-pos\" id=\"bar-codes\">Bar codes <span id='anchor-bar-codes' data-href='#bar-codes' class='far fa-link' data-anchor><\/span><\/h2>\t<p>You can have bar codes printed on your receipts. You can use the following variables to do this.<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;QRCODE&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/QRCODE&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Issues a QR code for the variable specified in <span style=\"color: #cf004f;\">xxx<\/span>. The size is approx. 3.5 cm x 3.5 cm.<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;QRCODE2&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/QRCODE2&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Issues a smaller QR code for the variable specified in <span style=\"color: #cf004f;\">xxx<\/span>. The size is approx. 1.5 cm x 1.5 cm.<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;CODE128&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/CODE128&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Issues a Code128 bar code (GS1-128) for the variable specified in <span style=\"color: #cf004f;\">xxx<\/span>.<\/p>\n<div class=\"mb--3\">\n\t<p><strong>&nbsp;<b>&lt;EAN8&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/EAN8&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Issues a GTIN-8 bar code for the variable specified in <span style=\"color: #cf004f;\">xxx<\/span>.<\/p>\n<div class=\"mb--3\">\n\t<p><strong>&nbsp;<b>&lt;EAN13&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/EAN13&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Issues a GTIN-13 bar code for the variable specified in <span style=\"color: #cf004f;\">xxx<\/span>.<\/p>\n<div class=\"mb--3\">\n\t<p><strong><b>&lt;UPC_A&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/UPC_A&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Issues a UPC-A bar code (GTIN-12) for the variable specified in <span style=\"color: #cf004f;\">xxx<\/span>.<\/p>\n<div class=\"mb--3\">\n\t<p><strong>&nbsp;<b>&lt;UPC_E&gt;<\/b><span style=\"color: #cf004f;\">xxx<\/span><b>&lt;\/UPC_E&gt;<\/b><\/strong><\/p>\n<\/div>\n\t<p>Issues a UPC-E bar code for the variable specified in <span style=\"color: #cf004f;\">xxx<\/span>.<\/p>\n<h2 class=\"mb-0 d-flex align-items-center hl-pos\" id=\"variable-length-limitations\">Variable length limitations <span id='anchor-variable-length-limitations' data-href='#variable-length-limitations' class='far fa-link' data-anchor><\/span><\/h2>\t<p>When printing, receipt variables have different lengths depending on the width of the paper used, so that the variables fit on the paper.<\/p>\n<p>For numbers, these variables are limited to X characters in length, including two decimal places.<\/p>\n<p>The designation LEN_X corresponds to the width of the paper in terms of number of characters. LEN_32 = 32 characters per line<br \/>\nLEN_48 = 48 characters per line, etc.<\/p>\n\t<p><strong>All prices, totals:<\/strong><br \/>\nPRICE_LEN_32 = 9;<br \/>\nPRICE_LEN_42 = 12;<br \/>\nPRICE_LEN_48 = 12;<\/p>\n<p><strong>All tax amounts:<\/strong><br \/>\nTAX_LEN_32 = 6;<br \/>\nTAX_LEN_42 = 8;<br \/>\nTAX_LEN_48 = 10;<\/p>\n<p><strong>Quantity in the line item:<\/strong><br \/>\nQUANTITY_LEN_32 = 4;<br \/>\nQUANTITY_LEN_42 = 5;<br \/>\nQUANTITY_LEN_48 = 5;<\/p>\n<p><strong>Payment methods:<\/strong><br \/>\nPAYMENT_METHOD_LEN_32 = 7;<br \/>\nPAYMENT_METHOD_LEN_42 = 11;<br \/>\nPAYMENT_METHOD_LEN_48 = 17;<\/p>\n<p><strong>Line item name:<\/strong><br \/>\nNAME_LEN_32 = 20;<br \/>\nNAME_LEN_42 = 27;<br \/>\nNAME_LEN_48 = 33;<\/p>\n<p><strong>Receipt number:<\/strong><br \/>\nRECEIPT_NO_LEN_32 = 7;<br \/>\nRECEIPT_NO_LEN_42 = 8;<br \/>\nRECEIPT_NO_LEN_48 = 10;<\/p>\n<div class=\"mt-5 d-print-none card\">\n\t\t\t<span class=\"fa-layers mx-auto mt--4 fa-fw fa-3x text-pos\">\n\t\t\t<span class=\"fas fa-circle\"><\/span>\n\t\t\t<span data-fa-transform=\"shrink-8\" class=\"fas fa-link fa-inverse\"><\/span>\n\t\t<\/span>\n\t\t\t<div class=\"card-body p-4\">\n\t\t<p class=\"d-flex align-items-center hl-wawi h4\">Related topics<\/p>\n<ul class=\"list-reset list-icons list-custom-square list-pos\">\n\t\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/connecting-a-printer-to-jtl-pos\/\" title=\"Connecting a printer to JTL-POS\">\n\t\t\t\t\t<span class=\"list-icon fas fa-square\"><\/span>\t\t\t\t\tConnecting a printer to JTL-POS\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/setting-up-print-templates-for-receipts\/\" title=\"Setting up print templates for receipts\">\n\t\t\t\t\t<span class=\"list-icon fas fa-square\"><\/span>\t\t\t\t\tSetting up print templates for receipts\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/dialogue-box-manage-printers\/\" title=\"Dialogue box: Manage printers\">\n\t\t\t\t\t<span class=\"list-icon fas fa-square\"><\/span>\t\t\t\t\tDialogue box: Manage printers\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/dialogue-box-manage-printing-objects\/\" title=\"Dialogue box: Manage printing objects\">\n\t\t\t\t\t<span class=\"list-icon fas fa-square\"><\/span>\t\t\t\t\tDialogue box: Manage printing objects\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/variables-commands-and-formatting-for-internal-receipts\/\" title=\"Variables, commands, and formatting for internal receipts\">\n\t\t\t\t\t<span class=\"list-icon fas fa-square\"><\/span>\t\t\t\t\tVariables, commands, and formatting for internal receipts\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/variables-commands-and-formatting-for-business-expenses-receipts\/\" title=\"Variables, commands, and formatting for business expenses receipts\">\n\t\t\t\t\t<span class=\"list-icon fas fa-square\"><\/span>\t\t\t\t\tVariables, commands, and formatting for business expenses receipts\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/variables-commands-and-formatting-for-reports\/\" title=\"Variables, commands, and formatting for reports\">\n\t\t\t\t\t<span class=\"list-icon fas fa-square\"><\/span>\t\t\t\t\tVariables, commands, and formatting for reports\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t\t<\/ul>\t<\/div>\n<\/div>[\/vc_column][\/vc_row]<\/div>","protected":false},"excerpt":{"rendered":"[vc_row][vc_column width=&#8221;1\/3&#8243; responsive=&#8221;{&#8220;col&#8220;: &#8220;12&#8220;, &#8220;order-md&#8220;: &#8220;1&#8220;, &#8220;col-lg&#8220;: &#8220;4&#8220;, &#8220;order-lg&#8220;: &#8220;12&#8220;}&#8221; advanced=&#8221;{&#8220;class&#8220;: &#8220;&#8220;, &#8220;hash&#8220;: &#8220;&#8220;}&#8221;][\/vc_column][vc_column responsive=&#8221;{&#8220;col&#8220;: &#8220;12&#8220;, &#8220;col-md&#8220;: &#8220;8&#8220;, &#8220;order-md&#8220;: &#8220;12&#8220;, <a href=\"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/variables-commands-and-formatting-for-reports\/\">[&#8230;]<\/a>","protected":false},"author":5,"featured_media":0,"parent":189718,"menu_order":216,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","footnotes":""},"tags":[],"class_list":["post-190216","page","type-page","status-publish","hentry","pages_category-drucker-pos-en","pages_category-jtl-pos-en","pages_category-dialogfenster-pos-en"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Variables, commands and formatting for cash receipts &#8211; JTL-Guide<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/variables-commands-and-formatting-for-cash-receipts\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Variables, commands and formatting for cash receipts &#8211; JTL-Guide\" \/>\n<meta property=\"og:description\" content=\"[vc_row][vc_column width=&#8221;1\/3&#8243; responsive=&#8221;{&#8220;col&#8220;: &#8220;12&#8220;, &#8220;order-md&#8220;: &#8220;1&#8220;, &#8220;col-lg&#8220;: &#8220;4&#8220;, &#8220;order-lg&#8220;: &#8220;12&#8220;}&#8221; advanced=&#8221;{&#8220;class&#8220;: &#8220;&#8220;, &#8220;hash&#8220;: &#8220;&#8220;}&#8221;][\/vc_column][vc_column responsive=&#8221;{&#8220;col&#8220;: &#8220;12&#8220;, &#8220;col-md&#8220;: &#8220;8&#8220;, &#8220;order-md&#8220;: &#8220;12&#8220;, [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/variables-commands-and-formatting-for-cash-receipts\/\" \/>\n<meta property=\"og:site_name\" content=\"JTL-Guide\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-19T11:44:24+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"23 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/variables-commands-and-formatting-for-cash-receipts\/\",\"url\":\"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/variables-commands-and-formatting-for-cash-receipts\/\",\"name\":\"Variables, commands and formatting for cash receipts &#8211; JTL-Guide\",\"isPartOf\":{\"@id\":\"https:\/\/guide.jtl-software.com\/en\/#website\"},\"datePublished\":\"2019-12-10T13:35:55+00:00\",\"dateModified\":\"2023-07-19T11:44:24+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/variables-commands-and-formatting-for-cash-receipts\/#breadcrumb\"},\"inLanguage\":\"en-en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/variables-commands-and-formatting-for-cash-receipts\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/variables-commands-and-formatting-for-cash-receipts\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"JTL-POS\",\"item\":\"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hardware\",\"item\":\"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Variables, commands and formatting for cash receipts\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/guide.jtl-software.com\/en\/#website\",\"url\":\"https:\/\/guide.jtl-software.com\/en\/\",\"name\":\"JTL-Guide\",\"description\":\"Dokumentation f\u00fcr die gesamte Produktfamilie von JTL\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/guide.jtl-software.com\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-en\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Variables, commands and formatting for cash receipts &#8211; JTL-Guide","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/variables-commands-and-formatting-for-cash-receipts\/","og_locale":"en_US","og_type":"article","og_title":"Variables, commands and formatting for cash receipts &#8211; JTL-Guide","og_description":"[vc_row][vc_column width=&#8221;1\/3&#8243; responsive=&#8221;{&#8220;col&#8220;: &#8220;12&#8220;, &#8220;order-md&#8220;: &#8220;1&#8220;, &#8220;col-lg&#8220;: &#8220;4&#8220;, &#8220;order-lg&#8220;: &#8220;12&#8220;}&#8221; advanced=&#8221;{&#8220;class&#8220;: &#8220;&#8220;, &#8220;hash&#8220;: &#8220;&#8220;}&#8221;][\/vc_column][vc_column responsive=&#8221;{&#8220;col&#8220;: &#8220;12&#8220;, &#8220;col-md&#8220;: &#8220;8&#8220;, &#8220;order-md&#8220;: &#8220;12&#8220;, [...]","og_url":"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/variables-commands-and-formatting-for-cash-receipts\/","og_site_name":"JTL-Guide","article_modified_time":"2023-07-19T11:44:24+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"23 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/variables-commands-and-formatting-for-cash-receipts\/","url":"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/variables-commands-and-formatting-for-cash-receipts\/","name":"Variables, commands and formatting for cash receipts &#8211; JTL-Guide","isPartOf":{"@id":"https:\/\/guide.jtl-software.com\/en\/#website"},"datePublished":"2019-12-10T13:35:55+00:00","dateModified":"2023-07-19T11:44:24+00:00","breadcrumb":{"@id":"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/variables-commands-and-formatting-for-cash-receipts\/#breadcrumb"},"inLanguage":"en-en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/variables-commands-and-formatting-for-cash-receipts\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/variables-commands-and-formatting-for-cash-receipts\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"JTL-POS","item":"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/"},{"@type":"ListItem","position":2,"name":"Hardware","item":"https:\/\/guide.jtl-software.com\/en\/jtl-pos\/hardware\/"},{"@type":"ListItem","position":3,"name":"Variables, commands and formatting for cash receipts"}]},{"@type":"WebSite","@id":"https:\/\/guide.jtl-software.com\/en\/#website","url":"https:\/\/guide.jtl-software.com\/en\/","name":"JTL-Guide","description":"Dokumentation f\u00fcr die gesamte Produktfamilie von JTL","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/guide.jtl-software.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-en"}]}},"_links":{"self":[{"href":"https:\/\/guide.jtl-software.com\/en\/wp-json\/wp\/v2\/pages\/190216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/guide.jtl-software.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/guide.jtl-software.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/guide.jtl-software.com\/en\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/guide.jtl-software.com\/en\/wp-json\/wp\/v2\/comments?post=190216"}],"version-history":[{"count":5,"href":"https:\/\/guide.jtl-software.com\/en\/wp-json\/wp\/v2\/pages\/190216\/revisions"}],"predecessor-version":[{"id":219091,"href":"https:\/\/guide.jtl-software.com\/en\/wp-json\/wp\/v2\/pages\/190216\/revisions\/219091"}],"up":[{"embeddable":true,"href":"https:\/\/guide.jtl-software.com\/en\/wp-json\/wp\/v2\/pages\/189718"}],"wp:attachment":[{"href":"https:\/\/guide.jtl-software.com\/en\/wp-json\/wp\/v2\/media?parent=190216"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/guide.jtl-software.com\/en\/wp-json\/wp\/v2\/tags?post=190216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}