diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-24 02:38:49 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-24 02:38:49 +0000 |
commit | b193f4e3c1c2b4e826ed1004b8c64d5e6e991ba8 (patch) | |
tree | 79152cd1bc3296d7783ab0b060e10c127c02cdd6 /bin/arapprn.pl | |
parent | 1b13895ec6bd39568353c1a4d66d55f733f56734 (diff) |
Moved %printer from ledger-smb.conf to Ledger::Sysconfig
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@281 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin/arapprn.pl')
-rwxr-xr-x | bin/arapprn.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/arapprn.pl b/bin/arapprn.pl index f5d120f5..0bada33c 100755 --- a/bin/arapprn.pl +++ b/bin/arapprn.pl @@ -226,7 +226,7 @@ sub print_check { %queued = split / /, $form->{queued}; - $form->{OUT} = "| $printer{$form->{media}}"; + $form->{OUT} = "| ${LedgerSMB::Sysconfig::printer}{$form->{media}}"; if ($form->{printed} !~ /$form->{formname}/) { @@ -443,7 +443,7 @@ sub print_transaction { } if ($form->{media} !~ /(queue|screen)/) { - $form->{OUT} = "| $printer{$form->{media}}"; + $form->{OUT} = "| ${LedgerSMB::Sysconfig::printer}{$form->{media}}"; if ($form->{printed} !~ /$form->{formname}/) { @@ -625,8 +625,8 @@ sub print_options { $form->{selectformat} = qq|<option value="html">html\n|; - if (%printer && ${LedgerSMB::Sysconfig::latex}) { - for (sort keys %printer) { $media .= qq| + if (%{LedgerSMB::Sysconfig::printer} && ${LedgerSMB::Sysconfig::latex}) { + for (sort keys %{LedgerSMB::Sysconfig::printer}) { $media .= qq| <option value="$_">$_| } } |