CableLable

command module
v0.0.0-...-31c8df8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2026 License: GPL-3.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

CableLable

create PDF from ASCII File for Cable labels

file format is one label per line, a line containing up to 3 words, each word is a line on the label. Words separated by spaces (line can therefor not contain spaces).

labels of type HellermanTyton TAG132LA4

usage: CableLable

generates a PDF <filename.pdf>

Filename is printed on top of sheet.

Formating

At any point in the file can be lines of the form

# font <Fontname>
# face <face>
# size <size>
# align <align>

which change the default of font, face and size. Font can be one of "Times", "Ariel", "Helvetica", "Courier", Face can be "b" for bold or "i" for italic, "u" for underlined, or 3rd field empty for standard, size can be a size in pt, like 10,11,12. align can be "L", "C", or "R".

Each word can contain \u for underline, \b for bold, \T for Times, \H for Helvetica, \l for large and \L for larger, as well as \s for small and \S for smaller. For alignement use \l for left (default), \c for center or \r for right. This affects only that line.

Build instructions

use build.sh or build_win.sh to do a native build or a (cross) build for windows.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址