summaryrefslogtreecommitdiff
path: root/bin/cp.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cp.pl')
-rwxr-xr-xbin/cp.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/cp.pl b/bin/cp.pl
index 0e8a4255..c4474e38 100755
--- a/bin/cp.pl
+++ b/bin/cp.pl
@@ -1279,7 +1279,8 @@ sub print_form {
$form->{IN} = "$form->{formname}.tex";
if ($form->{media} ne 'screen') {
- $form->{OUT} = "| ${LedgerSMB::Sysconfig::printer}{$form->{media}}";
+ $form->{OUT} = "${LedgerSMB::Sysconfig::printer}{$form->{media}}";
+ $form->{printmode} = '|-';
}
$form->parse_template(\%myconfig, ${LedgerSMB::Sysconfig::userspath});