NAME
PostScript::MailLabels::BasicData - Basic data that is used by the MailLabels module.
SYNOPSIS
Loads up a few basic data items :
Font metrics
PS code for generating a calibration page
PS code for generating a test page
PS code for PostNET font
Standard paper sizes
Specs for Avery (tm) forms (incomplete)
DESCRIPTION
All this does is initialize a bunch of data items. Not intended to be
used by normal people. It just makes the MailLabel.pm code more
compact. The documentation is probably not too complete.
Note that the font metrics camne from PostScript::Metrics by Shawn Wallace.
The PostNET barcode font came from James H. Cloos, Jr.
EXAMPLE
require PostScript::MailLabels::BasicData;
$data = new PostScript::MailLabels::BasicData;
$code = '8460';
@layout = @{$data{AVERY}{$code}};
# layout=>[paper-size,[list of product codes], description,
# number per sheet, left-offset, top-offset, width, height]
# distances measured in points
$testpage = $data{TESTPAGE};
REVISION HISTORY
Version 1.01 - December 2000
Added pagesize parameter to handle paper other than Letter.
Added more axis labels so that A4 calibration plot would work.
AUTHOR
Alan Jackson
October 1999
alan@ajackson.org