{"id":11648,"date":"2018-02-26T12:20:19","date_gmt":"2018-02-26T12:20:19","guid":{"rendered":"https:\/\/kb.sambapos.com\/?p=11648"},"modified":"2018-02-26T12:20:19","modified_gmt":"2018-02-26T12:20:19","slug":"2-4-8-a-what-you-need-to-print-barcode-and-qr-code-from-the-slip-printer","status":"publish","type":"post","link":"https:\/\/kb.sambapos.com\/en\/2-4-8-a-what-you-need-to-print-barcode-and-qr-code-from-the-slip-printer\/","title":{"rendered":"2.4.8.a. What You Need to Print Barcode and QR Code from the Slip Printer?"},"content":{"rendered":"<div class=\"level1\">\n<p><span style=\"font-size: 14pt;\">In SambaPOS, since the versionV3.027 it is possible to get Barcode and QR Code receipts from the kitchen and slip printers.<\/span><\/p>\n<\/div>\n<h2 id=\"d_barkodlar\" class=\"sectionedit2\">1D Barcodes<\/h2>\n<div class=\"level2\">\n<p>There is tag list below as sample.<\/p>\n<div class=\"table sectionedit3\">\n<table class=\"inline\">\n<thead>\n<tr class=\"row0\">\n<th class=\"col0\">Tag<\/th>\n<th class=\"col1\">Format<\/th>\n<th class=\"col2\">Check Digit<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"row1\">\n<td class=\"col0\">&lt;BAR&gt;<\/td>\n<td class=\"col1\">Code 128<\/td>\n<td class=\"col2\">Absent<\/td>\n<\/tr>\n<tr class=\"row2\">\n<td class=\"col0\">&lt;BAR39&gt;<\/td>\n<td class=\"col1\">Code 39<\/td>\n<td class=\"col2\">Absent<\/td>\n<\/tr>\n<tr class=\"row3\">\n<td class=\"col0\">&lt;BAR13&gt;<\/td>\n<td class=\"col1\">Ean 13<\/td>\n<td class=\"col2\">Present<\/td>\n<\/tr>\n<tr class=\"row4\">\n<td class=\"col0\">&lt;BAR08&gt;<\/td>\n<td class=\"col1\">Ean 8<\/td>\n<td class=\"col2\">Present<\/td>\n<\/tr>\n<tr class=\"row5\">\n<td class=\"col0\">&lt;BAR93&gt;<\/td>\n<td class=\"col1\">Code 93<\/td>\n<td class=\"col2\">Present<\/td>\n<\/tr>\n<tr class=\"row6\">\n<td class=\"col0\">&lt;BAR11&gt;<\/td>\n<td class=\"col1\">Code 11<\/td>\n<td class=\"col2\">Absent<\/td>\n<\/tr>\n<tr class=\"row7\">\n<td class=\"col0\">&lt;BAR25&gt;<\/td>\n<td class=\"col1\">Code 25<\/td>\n<td class=\"col2\">Absent<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>For example;<\/p>\n<p><code>With this value &lt;BAR&gt;123456789<\/code>\u00a0it is possible to create a barcode which including digits from 1 to 9.<\/p>\n<p><code>With this value &lt;BAR&gt;{ENTITY NAME}<\/code>\u00a0it is possible to print the entity name as barcode.<\/p>\n<hr \/>\n<h2>QR Code<\/h2>\n<\/div>\n<div class=\"level2\">\n<p><code>&lt;QR&gt;<\/code>\u00a0&lt;QR&gt; this is the tag for creating QR Code.<\/p>\n<p>Creating the tag\u00a0&lt;QR&gt; by adding two values to next to it, helps forming the desired QR code.<br \/>\n&lt;QRxy&gt;<br \/>\n<strong>x:<\/strong>\u00a0Value that whole QR code can get. It can get value from 1 to 9. Value 1 creates QR code in the smallest size, value 9 in the greatest size.<br \/>\n<strong>y:<\/strong>\u00a0Value that error protection of QR code. It can get value from 1 to 4. Value 1 creates the most plaine, the simplest QR code, value 4 creates the most complicated QR code.<\/p>\n<hr \/>\n<h3><strong>Samples:<\/strong><\/h3>\n<p><code>With the value of &lt;QR&gt;123456789<\/code>\u00a0it is possible to create a QR code that includes the digits from 1 to 9.<\/p>\n<p><code>With the value of &lt;QR41&gt;{ENTITY NAME}<\/code>\u00a0it is possible to create a QR code that entity name size is 4 units, error protection level is low.<\/p>\n<hr \/>\n<h3>Positioning<\/h3>\n<\/div>\n<div class=\"level4\">\n<p>Determine where to put the created barcodes and QR codes on the ticket. (Left aligned, centric, right aligned)<\/p>\n<p><strong>The tags that need to adjust these processes:<\/strong><\/p>\n<ul>\n<li class=\"level1\">\n<div class=\"li\">&lt;el&gt; : Executes the value of left aligned<\/div>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">&lt;ec&gt; : Executes the value of centered<\/div>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">&lt;er&gt; : Executes the value of right aligned<\/div>\n<\/li>\n<\/ul>\n<p><strong>Sample:<\/strong> &lt;codejava&gt; [ENTITY] &lt;C00&gt;SambaPOS &lt;F&gt;- &lt;T&gt;Free &lt;T&gt;Coffee Coupon &lt;R00&gt; &lt;EC&gt; &lt;QR80&gt;{ENTITY NAME} &lt;R00&gt; &lt;R00&gt;{ENTITY NAME} &lt;\/code&gt;<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In SambaPOS, since the versionV3.027 it is possible to get Barcode and QR Code receipts from the kitchen and slip printers. 1D Barcodes There is tag list below as sample. Tag Format Check Digit &lt;BAR&gt; Code 128 Absent &lt;BAR39&gt; Code 39 Absent &lt;BAR13&gt; Ean 13 Present &lt;BAR08&gt; Ean 8 Present &lt;BAR93&gt; Code 93 Present &lt;BAR11&gt; [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,16],"tags":[],"class_list":["post-11648","post","type-post","status-publish","format-standard","hentry","category-installation","category-2-4-sambapos-advanced-setup"],"_links":{"self":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/11648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/comments?post=11648"}],"version-history":[{"count":3,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/11648\/revisions"}],"predecessor-version":[{"id":11651,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/11648\/revisions\/11651"}],"wp:attachment":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/media?parent=11648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/categories?post=11648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/tags?post=11648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}