Barcode Generator!!!

Use:

The interface is self explanatory, what is not self explanatory is the resulting barcode page. The barcode page is the same page no matter what code just some URL parameters to tell it what to display. The varied parameters in the URL means the page will have a varied URL string and therefore the barcodes can be bookmarked. As well, because the page uses URL parameters to know what to generate, it is not necessary to use the barcode-generator page but rather input the parameters directly.

For Example:
abstractentities.com/barcode?code=850009942456&type=upc


A barcode generator was needed for another project currently called Smart Tags built with shortcuts in the shortcuts app on iOS and Apple devices. The idea was to scan an items UPC barcode, and have it in a list, and when needed that list could be pulled up and re-represent the barcode. Shortcuts in built functionality only allows QR codes to be produced by default, so therefore another solution had to be made.

This is it. The barcode page is the solution that allows Siri to ask a page for a barcode and get that barcode that she asked for.
Also, these are the shortcuts that explain to Siri how to do that.

iOS Shortcuts:

New Ticket

ver.1.1.1

This first shortcut just creates a text file (CurrentList.txt) in a user chosen folder. This text is the name of the Current ticket. Will look something like this: timestamp_devicename_list.txt

Everytime you tap this button it will get a new timestamp and save the NEW ticket name in the CurrentList(.txt), thereby creating a new ticket (or list).

Scan Code

ver.1.1.4

This shortcut if given a UPC(or UPCe) it will add that item to the current ticket with it's name and optionally price. If the shortcut scanned a code that isn't UPC the text output will display but will not save to the current ticket.

UPC Database

ver.1.3

Each NEW UPC is stored in the upc_database.txt file with a name tag.

Give it a code, this shortcut will find it or add it into the UPC Database (.txt) and give you some options: Make a barcode, Add it to the current ticket, or if needed edit the Label for that code.

Smart Tags

ver.1.3.1

This shortcut is to interface the current ticket, select a previous ticket, or look at whatever else the scan code scanned.

More:

Barcode-Generator uses JsBarcode, a javascript library by Johan lindell to generate barcodes. JsBarcode is licensed under MIT license.