Barcodes
Snipe-IT supports both QR codes and 1D barcode formats.

QR Codes
QR codes, when scanned on a mobile device using a QR scanner app, will open the asset details page of the asset whose QR code was scanned.
1D Barcodes
You can select between a few different 1D barcode formats, however barcode generation will fail if your asset tags do not conform to the requirements of the 1D barcode type.
Confirm that the barcode type you've selected is compatible with your asset tags. For example, if you have selected EAN5, your asset tags need to be 5 characters, numbers only. If your asset tags are a combination of numbers and letters, that won't be compatible. That's just a limitation on the barcode specifications, not something specific to Snipe-IT.
For more information on generating labels for your assets, check out the Asset Labels documentation.
Changing your URL
If you end up changing your Snipe-IT URL and you need to generate new QR codes so that the URLs resolve to your new address, you'll need to do the following:
- Update your
APP_URL
in your.env
- Clear your config cache:
php artisan config:clear
- Remove all of the barcodes in your
public/uploads/barcodes
directory. They will be re-generated the next time you pull them up, this time with the newly updated Snipe-IT URL. - Clear your browser cache
If some or all of your barcodes are still pointing to the same old URL when you refresh the barcode generator page, make sure all of the images within the public/uploads/barcodes
directory have been deleted, and make sure you've cleared your browser cache.
Updated about 4 years ago