Subject: | Add specs for Avery 8923; document "encoding" in example setup |
I've attached a patch for the Avery 8923 labels, and a doc adjustment to show the 'encoding'
option.
Subject: | 0001-Document-the-encoding-option-in-the-example.patch |
From 629f110ff1f6e25b772eee3251ca03ba5006839b Mon Sep 17 00:00:00 2001
From: brian d foy <brian@stonehenge.com>
Date: Sun, 19 Oct 2008 15:21:54 -0500
Subject: [PATCH] * Document the "encoding" option in the example
* Add Avery 8923 shipping label specification
---
lib/PostScript/MailLabels.pm | 4 +++-
lib/PostScript/MailLabels/BasicData.pm | 3 +++
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/lib/PostScript/MailLabels.pm b/lib/PostScript/MailLabels.pm
index 2668eb6..352d129 100644
--- a/lib/PostScript/MailLabels.pm
+++ b/lib/PostScript/MailLabels.pm
@@ -1162,7 +1162,9 @@ A hash of the label definition will be returned.
orientation => 'portrait',
the other possibility is 'landscape'
-
+
+ encoding => 'StandardEncoding', # or ISOLatin1Encoding
+
# printable area on physical page - these numbers represent border widths
# typical values might be 0.25 inches
diff --git a/lib/PostScript/MailLabels/BasicData.pm b/lib/PostScript/MailLabels/BasicData.pm
index 57ff791..61a2999 100644
--- a/lib/PostScript/MailLabels/BasicData.pm
+++ b/lib/PostScript/MailLabels/BasicData.pm
@@ -268,6 +268,9 @@ sub initialize {
'8463' => ['Letter',[qw/8463/], 'shipping', 10,
13.5, 36, 288, 144, 9, 0,
],
+ '8923' => ['Letter', [ 8923 ], 'shipping', 10,
+ 13.5, 36, 288, 144, 0, 0,
+ ]
);
=head1
old definitions replaced by more complete ones. Overlapping defs are sometimes
--
1.5.4