From c0158b6b111fa98fbde66a300237133c999bfb9f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Mon, 25 Jan 2016 12:00:56 +0100 Subject: [PATCH] =?utf8?q?Letter:=20Nur=20Druckoptionen=20anzeigen,=20die?= =?utf8?q?=20momentan=20unterst=C3=BCtzt=20werden.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Drucken geht nur mit PDF und Bildschirm. --- SL/Controller/Letter.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/SL/Controller/Letter.pm b/SL/Controller/Letter.pm index c8a8ff60e..8e588d9f8 100644 --- a/SL/Controller/Letter.pm +++ b/SL/Controller/Letter.pm @@ -319,7 +319,12 @@ sub _display { PCF => [ map { key => $_, value => t8(ucfirst $_) }, PAGE_CREATED_FOR_VALUES() ], letter => $letter, employees => $self->all_employees, - print_options => SL::Helper::PrintOptions->get_print_options, + print_options => SL::Helper::PrintOptions->get_print_options ( + options => { no_postscript => 1, + no_opendocument => 1, + no_html => 1, + no_queue => 1 }), + ); } -- 2.20.1