summaryrefslogtreecommitdiff
path: root/bin/rc.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rc.pl')
-rwxr-xr-xbin/rc.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rc.pl b/bin/rc.pl
index 498a2ea0..b3a4f5ba 100755
--- a/bin/rc.pl
+++ b/bin/rc.pl
@@ -402,7 +402,7 @@ sub close_till {
$cash = join ("\n", @cashlines);
$foot = $locale->text("Cumulative Error: ")."$difference\n";
$foot .= $locale->text('Reset Till By ')."$amount\n\n\n\n\n\n\n\n\n\n";
- open (PRN, "|-", $printer{Printer});
+ open (PRN, "|-", ${LedgerSMB::Sysconfig::printer}{Printer});
print PRN $head;
print PRN $lines;
print PRN $cash;