Skip to content

barcode-utils/glabels-3-templates

Repository files navigation

glabels-3 templates

TL;DR-

Generate barcode labels comfortably with provided here Makefile build script and set of glabels templates!

To see examples just type : $ make

Even automatically from Google spreadsheets!

Scipts allow generating of labels as trivial as prefix your csv with TempalteNameMyCSV.csv and then run make TemplateNameMyCSV.pdf to make pdf out of it.

Requirements

glabels to be compiled with

  • for [code 128] templates require glabels-3 to be compiled with Zint library (if one in your default distribution package is not compiled with it, don't worry, installing libzint and compiling glabels-3 goes smoothly)

Make is default on unix platforms. It may require install on other's like systems. On non-rooted Android, I have most successes with Termux. For Windows there are also packages with make.

About templates

  • use code column for barcode,
  • and title column for description of label.
  • filenames are tend to be self descriptive
  • and measurement unit if millimeter if omitted.

Example usage

Makefile is constructed in a way to match your filename with desired template. For example, in order to print:

  • [code 128] 57x32 mm label
  • with enough place for two lines of "title" description text

Do following:

  • locate template, that looks desirable : here it will be code128title2L57x32.glabels - following parts of filename mean:
    • code128title stands for barcode with "code" encoded as barcode 128 with title description
    • 2L with enough place to fit two lines of text of description
    • 57x32 - 57mm width, 32mm height
  • Name code and title appropriate columns in your csv file
  • prefix your csv file with basename of template : $ mv t.csv code128title2L57x32-MyCSV.csv
  • execute to make pdf out of it: $ make code128title2L57x32-MyCSV.pdf

How to fetch from your Google Spredsheet to csv?

Select

  • File->Publish to The Web
  • Use "Link" tab
  • Change "Entire Document" to desired sheet
  • Change "Web page" to "CSV"
  • grab url link to your export
  • use command: $ curl -o MyCSV.csv http://your_url_link

Please note that after this operation sheet will be publicly available under specified link.

To preserve limited access controls, make it more manually

  • File-> Download As -> Comma, separated values (.csv)

You can similarily download .csv data from many other places , like your Airtable tables !

Templates (and previews)

Currently I publish here Airtable base consisting glabels-3-templates table - here is Gallery view of glabels-3-templates table with previews.

Less updates copy (thanks csv2md online converter !):

glabels template width height type of stickers originally used lines of title orientation prefix for csv filenames using this template barcode_type Rendered Example
code128title57x32.glabels 57mm 32mm Dymo_S0722540_11354 1L Portrait code128title57x32 Code128 rendering preview
code128title2L57x32.glabels 57mm 32mm Dymo_S0722540_11354 2L Portrait code128title2L57x32 Code128 rendering preview
I2of5title57x32CablesL.glabels 57mm 32mm Dymo_S0722540_11354 1L Landscape I2of5title57x32Cables Interleaved 2 of 5 rendering preview
I2of5title57x32CablesP.glabels 57mm 32mm Dymo_S0722540_11354 1L Portrait I2of5title57x32Cables Interleaved 2 of 5 rendering preview
code128title57x32CablesL.glabels 57mm 32mm Dymo_S0722540_11354 1L Landscape code128title57x32Cables Code128 rendering preview
code128title57x32CablesP.glabels 57mm 32mm Dymo_S0722540_11354 1L Portrait code128title57x32Cables Code128 rendering preview

About

make LabelType_MyLabels.pdf # from LabelType_MyLabels.csv to generate labels!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published