Combined 1D and 2D Barcodes

Brajeshwar1 pts0 comments

Combined 1D and 2D Barcodes – Terence Eden’s Blog

Theme Switcher:

🌒 Dark

🌞 Light

📰 eInk

💻 xterm

🥴 Drunk

👻 Nude

♻️ Reset

This was a little idea gnawing at the back of my brain. The humble barcode has been in use since the 1970s. In the next few years it will likely be replaced with a 2D QR Code.

I couldn't find anyone who'd made a QR code with an embedded UPC - so I decided to make one.

If you move your phone close to the code (so it can't see the squares in the corners) it should read the number in the 1D barcode. Zoom out and it'll read the URl in the QR code.

The QR code has a high level of error correction - which allows graphics to be placed within it, as I discussed in 2010.

The UPC has some whitespace padding around its edges - which makes it easier for some scanners to find, although not all scanners seem to accept it.

Is this in any way useful or desirable? I doubt it! I guess most point-of-sale barcode scanners are somewhat regularly updated - so they should all have the ability to scan newer codes. The embedded code destroys some of the error correction, thus making the QR code more fragile. It isn't a good idea.

Still, nice to fiddle about with something, eh?

You may also enjoy:

A Recursive QR Code.

Why are QR Codes with capital letters smaller than QR codes with lower-case letters?

Or see<br>all my posts about QR Codes since 2007!

Share this post on…

try {<br>await navigator.share({url:u});<br>} catch {<br>// Show an alert if the share failed. Likely means no share support.<br>alert('Copied URl to clipboard');<br>})()" style=cursor:pointer;>

Voluntary Paywall

Enjoyed this post? Show your support and pay the author.

One thought on “Combined 1D and 2D Barcodes”

Max Glenister

@Edent from my experience self-scanning those 500ml Coke bottles that have their QR code too close to the barcode, this would probably just end up confusing barcode scanners that support either. #PuttingYourIndexFingerOverTheQRCodeForAHassleFreeMealDealGang

puttingyourindexfingerovertheqrcodeforahasslefreemealdealgang

Reply | Reply to original comment on indieweb.social 2026-07-04 13:42

More comments on Mastodon.

What are your reckons?

Cancel reply

All comments are moderated and may not be published immediately. Your email address will not be published.

Comment:

See allowed HTML elements:

Your Name (required):

Your Email (required):

Your Website (optional):

To respond on your own website, write a post which contains a link to this post - then enter the URl of your page here. Learn more about WebMentions.

URL/Permalink of your article

🔎 Search

Search for:

🗓️ Explore The Archives

2026

January<br>27 posts<br>February<br>28 posts<br>March<br>23 posts<br>April<br>24 posts<br>May<br>19 posts<br>June<br>17 posts<br>July<br>1 post<br>August

September

October

November

December

2025

January<br>17 posts<br>February<br>20 posts<br>March<br>23 posts<br>April<br>22 posts<br>May<br>16 posts<br>June<br>28 posts<br>July<br>24 posts<br>August<br>20 posts<br>September<br>15 posts<br>October<br>16 posts<br>November<br>17 posts<br>December<br>15 posts

2024

January<br>31 posts<br>February<br>29 posts<br>March<br>31 posts<br>April<br>30 posts<br>May<br>31 posts<br>June<br>30 posts<br>July<br>19 posts<br>August<br>18 posts<br>September<br>18 posts<br>October<br>29 posts<br>November<br>31 posts<br>December<br>30 posts

2023

January<br>31 posts<br>February<br>28 posts<br>March<br>31 posts<br>April<br>30 posts<br>May<br>31 posts<br>June<br>30 posts<br>July<br>31 posts<br>August<br>31 posts<br>September<br>30 posts<br>October<br>31 posts<br>November<br>30 posts<br>December<br>31 posts

2022

January<br>30 posts<br>February<br>23 posts<br>March<br>15 posts<br>April<br>19 posts<br>May<br>19 posts<br>June<br>19 posts<br>July<br>19 posts<br>August<br>18 posts<br>September<br>12 posts<br>October<br>8 posts<br>November<br>30 posts<br>December<br>31 posts

2021

January<br>31 posts<br>February<br>28 posts<br>March<br>31 posts<br>April<br>30 posts<br>May<br>31 posts<br>June<br>30 posts<br>July<br>31 posts<br>August<br>31 posts<br>September<br>30 posts<br>October<br>31 posts<br>November<br>30 posts<br>December<br>31 posts

2020

January<br>31 posts<br>February<br>29 posts<br>March<br>31 posts<br>April<br>30 posts<br>May<br>31 posts<br>June<br>30 posts<br>July<br>31 posts<br>August<br>31 posts<br>September<br>30 posts<br>October<br>31 posts<br>November<br>30 posts<br>December<br>31 posts

2019

January<br>31 posts<br>February<br>12 posts<br>March<br>17 posts<br>April<br>12 posts<br>May<br>12 posts<br>June<br>10 posts<br>July<br>7 posts<br>August<br>5 posts<br>September<br>6 posts<br>October<br>14 posts<br>November<br>30 posts<br>December<br>17 posts

2018

January<br>8 posts<br>February<br>4 posts<br>March<br>6 posts<br>April<br>14 posts<br>May<br>5 posts<br>June<br>6 posts<br>July<br>6 posts<br>August<br>13 posts<br>September<br>14 posts<br>October<br>8 posts<br>November<br>30 posts<br>December<br>4 posts

2017

January<br>12 posts<br>February<br>9 posts<br>March<br>9 posts<br>April<br>4 posts<br>May<br>10 posts<br>June<br>5 posts<br>July<br>5 posts<br>August<br>6 posts<br>September<br>3 posts<br>October<br>4 posts<br>November<br>30 posts<br>December

2016

January<br>10 posts<br>February<br>10 posts<br>March<br>11 posts<br>April<br>9 posts<br>May<br>8 posts<br>June<br>9 posts<br>July<br>6 posts<br>August<br>9 posts<br>September<br>4 posts<br>October<br>2 posts<br>November<br>30 posts<br>December<br>14 posts

2015

January<br>8 posts<br>February<br>11 posts<br>March<br>10 posts<br>April<br>4 posts<br>May<br>9 posts<br>June<br>3 posts<br>July<br>7 posts<br>August<br>9 posts<br>September<br>10 posts<br>October<br>2 posts<br>November<br>30 posts<br>December<br>4 posts

2014

January<br>13 posts<br>February<br>13...

posts january february march april june

Related Articles