From 9c6db56a3f807c819be5e724f423a212fa4b362c Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Fri, 12 Nov 2010 10:38:42 +1300 Subject: [PATCH] Bug 5385 - Fixing an error that crept in with the POD cleanup --- C4/Barcodes/PrinterConfig.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/C4/Barcodes/PrinterConfig.pm b/C4/Barcodes/PrinterConfig.pm index 28854df357..af6a92e6c3 100644 --- a/C4/Barcodes/PrinterConfig.pm +++ b/C4/Barcodes/PrinterConfig.pm @@ -73,6 +73,11 @@ C<$pageType> Page type to print (eg: a4, legal, etc). =cut +# Globals used by the functions +my @positionsForX; +my @positionsForY; +my $firstLabel = 1; + sub setPositionsForX { my ($marginLeft, $labelWidth, $columns, $pageType) = @_; my $defaultDpi = 72/25.4; # By default we know 25.4 mm -> 1 inch -> 72 dots per inch -- 2.39.5