Skip to content

This script generates Labels for Resistor zip bags with tolerance values included.

License

Notifications You must be signed in to change notification settings

jx2014/ResistorLabels

 
 

Repository files navigation

ResistorLabels

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

Usage

  • 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() of LabelGenerator.py.
  • If using Avery L7157, change the layout value in main() to AVERY_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.

Troubleshoot

  • if label comes out misagliend like this: , follow below steps to troubleshoot

More Details

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/

About

This script generates Labels for Resistor zip bags with tolerance values included.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%