Comments (15)
@dannyto , @soldair,
GS1 QR codes are standard QR codes that contains text with GS1 formatted data.
The GS1 data is basically a set of GS1 Application Identifiers.
The Application Identifiers (AI) are numeric values defined in the GS1 catalog (http://www.gs1.org/barcodes-epcrfid-id-keys/gs1-general-specifications) followed by the value for that (AI).
The mandatory value is the (01) Global Trade Item Number (GTIN) that identifies the product/ data owner.
All this GS1 jargon is quite confusing, but basically this is a catalog of identifiers with predefined values. Somehow is a schema in flat format.
By itself the GS1 QR code defines how to structure the data contained, but not what data should be defined. (Sintaxis but not semantics).
There are some fields and business scenarios that have defined GS1 standards with flows and data defined to be followed (GS1 guides that define the AI sets).
The main example provided in the https://github.com/bwipp/postscriptbarcode that can be found http://www.gs1.org/docs/barcodes/GS1_Barcodes_Fact_Sheet-GS1_2D_symbols.pdf
Defines an example for the "extended packaging" scenario that in "Retail world" means additional online information for a product package.
It simply requires a global id (01) associated to the product and the Extended Packaging URL identifier (8200) .
In conclusion, almost any QR generator can work with GS1 QR codes, but it is too open.
For a mode detailed and constrained content, it has to be application specific.
So Yes, this can create a GS1 QR code.
About constraints about to the dimensions of the code, GS1 usually define recommendations, not restrictions because each case is different and at end it will depend on real world usage. It is not the same to print a barcode on a makeup eye pen (really tiny) than on big cereal box. :)
Do you have any specific usage in mind?
from node-qrcode.
I'm not sure.
It seems like qrcode became a "gs1 standard" so i bet that this library can. There are constraints as to the dimensions of the code and other things hinted in the text here:
if someone would do a little research it would be welcome.
from node-qrcode.
Thank you, I hope so!
Anyone can help please!
from node-qrcode.
looks like this project implements them and has info on what it means to be a gs1 qrcode
https://github.com/bwipp/postscriptbarcode/wiki/GS1-Application-Identifier-Standard-Format
from node-qrcode.
wow thanks @robotiko for such a detailed response!
i just wanted to learn a bit and make sure that this library is at least fulfilling the base needs of it's users respecting it's scope.
@dannyto i hope this helps. The answer seems like yes but you have to add the gs1 fields to the data you put in the qrcode.
from node-qrcode.
@soldair I hope it helps.
Any QR code will work with GS1 codes and the correctness is in the code info, not the barcode itself that is a mere container.
Deal with GS1 coding requires a lot of GS1 knowledge about the standards, guides, etc.
Even the basic & required GTIN requires to join GS1 to be a member and get the unique identifier, so go deeper into the standards is a must to be able use them.
from node-qrcode.
Thanks all you guys!
Those info are so useful.
from node-qrcode.
closing but ill link to this issue from the readme about GS1
from node-qrcode.
dear soldair, the "node-qrcode" is greate, but when can you support "i would like to switch to a js only image encoder to remove these deps", what i think will be greater, thank you!
from node-qrcode.
i think so too. feel free to dig around for a god one I'm always accepting pull requests.
from node-qrcode.
how to set canvas'size. such as width and height
from node-qrcode.
can add a logo in the middle
from node-qrcode.
can add a logo in the middle
from node-qrcode.
if create qrcode is a img,I want to set some attributes,eg: alt,title, can I do ?
from node-qrcode.
why same opts, but second setting toCanvas Api not show qrcode?anyone has this question?
from node-qrcode.
Related Issues (20)
- 1.5.3 still breaks by not shipping qrcode/build/qrcode.js to npm HOT 8
- Synk check failing for yargs v15.4.1
- Since version 1.5.2,`build` folder is missing in the NPM package HOT 1
- Redraw of QR code seems not to work out-of-the-box
- window.print() renders QR code svg as black square in print preview. firefox only HOT 1
- Support for `title` tag for SVG accessibility
- Use from within modules in the browser HOT 1
- Using it through module.js file in node.js
- Intermittent truncated response
- Text wrapping,文本换行
- QRCode.toDataUrl returns nothing
- Installation failure HOT 1
- install from npm does not build browser version HOT 7
- How make qr code larger? HOT 1
- 'Unexpected token' error - brackets needed in url
- "You need to specify a canvas element" error when using Cloudflare Workers with `qrcode` HOT 5
- callback function delays to execute HOT 1
- Extract the core into its own module
- install breaks with node v20.5.1 HOT 4
- No assets on CDNJS for versions 1.5.2 and 1.5.3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-qrcode.