PrintAddressLabels.ps
Most recent release 2007-Jan-15
PrintAddressLabels is a short PostScript program for taking a set of
addresses given as simple text, and formatting them for printing on label
stationery.
Input format
Each address can be given as a group of several lines, with
each group separated in input by a blank line.
Alternatively, an address can be represented as ';' delimited fields all on a
single line.
The program will accommodate any number of lines per address,
and (almost) any length of line in an address field.
It does this by setting the overall font size to handle the number of lines,
and by horizontally scaling (squashing) the font if the text will not fit
within the horizontal margins of the label.
Stationery format
The specific details of the label stationery must be dealt with by editing the
lines at the head of the program. The page dimensions, the distance from the page edge to edge of
the label, the number of columns of labels and the number of labels per page
need to be tailored in this program to the stationery you are using.
Usage
To use the program, it is necessary to place the names/addresses at the end of
the program and send the combined file to a PostScript printer, or through a
PostScript interpreter to your printer.
This program will work with CUPS, which has the unfortunate practice of
appending %%EndDocument to the end of the input stream, which would corrupt
the last address unless it was explicitly dealt with.
Availability
The program is copyright Graham Freeman. However,
it may be freely used and modified, provided that the authorship and copyright
notice within the program remain intact. No payment is expected for its use, and
no responsibility is accepted for any damage or loss that may be incurred from
its use.
You can
download
the 4K program from our FTP site. If you have trouble downloading, you should
contact the author, Graham
Freeman.
< < Back