This script generates labels for resistor zip bags.
It is meant for AVERY 5260 or AVERY L7157 labels and 7x10cm (3"x4") zip bags.
The generated labels include:
- Resistor value
- 4- and 5-band color codes
- 3- and 4-digit smd codes
- EIA-96 smd code
- Install python3
- Install the python3 library
reportlab
. This library is used to do the actual PDF generation. - Add your own required resistor values in
main()
ofLabelGenerator.py
. - If using Avery L7157, change the
layout
value inmain()
toAVERY_L7157
. - Run the script
LabelGenerator.py
!
It will now generate a ResistorLabels.pdf
that can be used to print onto AVERY 5260/L7157.
For all the non-programmers, there are also pre-generated versions with all common resistor values for Avery 5260 and Avery L7157.
This is based on an idea from Zach Poff.
For more details on how to use these labels, visit his website:
https://www.zachpoff.com/resources/quick-easy-and-cheap-resistor-storage/