summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pos.conf.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/pos.conf.pl b/pos.conf.pl
index f6190adb..64827f6f 100644
--- a/pos.conf.pl
+++ b/pos.conf.pl
@@ -1,4 +1,4 @@
-
+use LedgerSMB::Sysconfig;
# This sets up the settings for the POS hardware. You can use it to override
# printing commands etc. as well.
@@ -93,7 +93,6 @@ $form->{pos_sources} = \%pos_sources;
# Due to the architecture of SL, we need to use netcat to print.
# Otherwise the document gets spooled twice and this interferes with timeliness.
-%{LedgerSMB::Sysconfig::printer}{'Printer'} = "utils/pos/directnet.pl $pos_config{rp_host} $pos_config{rp_proto} $pos_config{rp_port}"
-);
+${LedgerSMB::Sysconfig::printer}{'Printer'} = "utils/pos/directnet.pl $pos_config{rp_host} $pos_config{rp_proto} $pos_config{rp_port}";
1;