From c89e123786877710fa718f989f2a36f8e2d484d1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Mon, 22 Apr 2013 15:38:09 +0200 Subject: [PATCH] =?utf8?q?Modus=20f=C3=BCr=20Druckbefehl=20bei=20wiederkeh?= =?utf8?q?renden=20Rechnungen=20richtig=20einstellen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Behebt #2246. --- SL/BackgroundJob/CreatePeriodicInvoices.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SL/BackgroundJob/CreatePeriodicInvoices.pm b/SL/BackgroundJob/CreatePeriodicInvoices.pm index 474762d86..aa58f0053 100644 --- a/SL/BackgroundJob/CreatePeriodicInvoices.pm +++ b/SL/BackgroundJob/CreatePeriodicInvoices.pm @@ -232,7 +232,8 @@ sub _print_invoice { $form->{formname} = $form->{type}; $form->{format} = 'pdf'; $form->{media} = 'printer'; - $form->{OUT} = "| " . $config->printer->printer_command; + $form->{OUT} = $config->printer->printer_command; + $form->{OUT_MODE} = '|-'; $form->prepare_for_printing; -- 2.20.1