summaryrefslogtreecommitdiff
path: root/bin/cp.pl
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-12-07 19:00:23 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-12-07 19:00:23 +0000
commit20e0d5dc6e0d1bc8c224593fd08141349acec727 (patch)
tree967eb98a44abed053f347fbc29de287fac865c57 /bin/cp.pl
parent28d7f77a764f54c962251ea690613ab1771b1ef7 (diff)
A step towards fixing printing with 3-arg open statements. Printing is not verified yet.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@740 4979c152-3d1c-0410-bac9-87ea11338e46
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 0facb738..95a19254 100755
--- a/bin/cp.pl
+++ b/bin/cp.pl
@@ -1273,7 +1273,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});