{"id":564,"date":"2012-11-26T09:56:43","date_gmt":"2012-11-26T09:56:43","guid":{"rendered":"http:\/\/www.bardecode.com\/en1\/?p=564"},"modified":"2013-03-01T15:34:17","modified_gmt":"2013-03-01T15:34:17","slug":"understanding-how-the-readupca-property-works","status":"publish","type":"post","link":"https:\/\/www.bardecode.com\/en1\/understanding-how-the-readupca-property-works\/","title":{"rendered":"Understanding how the ReadUPCA property works"},"content":{"rendered":"<p>UPC-A barcodes are a subset of EAN-13. For example, the UPC-A barcode &#8220;016000336100&#8221; is the same as the EAN-13 barcode &#8220;0016000336100&#8221;. In fact, UPC-A barcodes are the sub-set of EAN-13 barcodes that start with a 0. The ReadEAN13 property controls whether any barcodes of type EAN-13 are recognized &#8211; and this includes UPC-A, whether or not ReadUPCA is set to true. The effect of the ReadUPCA flag is to control whether an EAN-13 barcode that starts with a 0 is returned as a 12 digit UPC-A or as a 13 digit EAN-13 barcode.<\/p>\n<p>In summary,<\/p>\n<p>Settings: ReadEAN13 = false, ReadUPCA= any value<br \/>\nInput: UPC-A 016000336100<br \/>\nOutput: nothing<\/p>\n<p>Settings: ReadEAN13 = true, ReadUPCA= false<br \/>\nInput: UPC-A 016000336100<br \/>\nOutput: type = EAN-13, value = 0016000336100<\/p>\n<p>Settings: ReadEAN13 = true, ReadUPCA= true<br \/>\nInput: UPC-A 016000336100<br \/>\nOutput: type = UPC-A, value =\u00a0016000336100<\/p>\n","protected":false},"excerpt":{"rendered":"<p>UPC-A barcodes are a subset of EAN-13. For example, the UPC-A barcode &#8220;016000336100&#8221; is the same as the EAN-13 barcode &#8220;0016000336100&#8221;. In fact, UPC-A barcodes are the sub-set of EAN-13 barcodes that start with a 0. The ReadEAN13 property controls whether any barcodes of type EAN-13 are recognized &#8211; and this includes UPC-A, whether or<\/p>\n<p><a href=\"https:\/\/www.bardecode.com\/en1\/understanding-how-the-readupca-property-works\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":326,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[76,31],"tags":[19,56,102,65,48,101],"class_list":["post-564","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-settings","category-software-development-kits","tag-barcode","tag-barcode-reader","tag-ean-13","tag-sdk-2","tag-toolkit","tag-upc-a"],"_links":{"self":[{"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/posts\/564"}],"collection":[{"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/comments?post=564"}],"version-history":[{"count":4,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/posts\/564\/revisions"}],"predecessor-version":[{"id":1652,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/posts\/564\/revisions\/1652"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/media\/326"}],"wp:attachment":[{"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/media?parent=564"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/categories?post=564"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/tags?post=564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}