labels

command
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2018 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

Labels converts comma-separated-value records to PostScript mailing labels. The output is formatted for 8½"×11" sheets containing thirty 2⅝"x1" labels each, such as the Avery 5160.

usage: labels [options] [file...]

Converts CSV records to PostScript mailing labels, using the first three fields of each input record as the address.

The options are:

-f font
	Use the named PostScript font (default Times-Roman)
-m regexp
	Only use input records matching regexp.
	The text being matched is the record with commas separating fields,
	with no quotation marks added.
-o outfile
	Write labels to outfile (default standard output)
-p size
	Use text with the given point size (default 12)
-v vsize
	Use lines of text vsize points apart (default 1.2 * text size)
-x regexp
	Exclude input records matching regexp.

If the first line of the CSV contains the text "address" (case insensitive), it is assumed to be a header for the spreadsheet and is skipped.

Example

Used with googlecsv, labels can take Google spreadsheets as input:

googlecsv 'Mailing List' | labels -f FournierMT-RegularSC > labels.ps

Jump to

Keyboard shortcuts

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