X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fio.pl;h=d5209cf0808b6f48510311192c2d80f4e0b25e27;hb=232a9153b591c815dacc4b41c15135166be550f0;hp=7b5d3fe0b29345e9b8a4984ca0161acfda55da60;hpb=250a086bfcb9cb51fce6f347b295b3de6166ad83;p=kivitendo-erp.git diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 7b5d3fe0b..d5209cf08 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1380,7 +1380,7 @@ sub print_options { push @FORMAT, grep $_, ($opendocument_templates && $openofficeorg_writer_bin && $xvfb_bin && (-x $openofficeorg_writer_bin) && (-x $xvfb_bin) - && !$options->{no_opendocument}) ? + && !$options->{no_opendocument_pdf}) ? opthash("opendocument_pdf", $form->{DF}{"opendocument_pdf"}, $locale->text("PDF (OpenDocument/OASIS)")) : undef, ($latex_templates) ? opthash("pdf", $form->{DF}{pdf}, $locale->text('PDF')) : undef, @@ -1425,6 +1425,12 @@ sub print_options { sub print { $lxdebug->enter_sub(); + if ($form->{print_nextsub}) { + call_sub($form->{print_nextsub}); + $lxdebug->leave_sub(); + return; + } + # if this goes to the printer pass through if ($form->{media} eq 'printer' || $form->{media} eq 'queue') { $form->error($locale->text('Select postscript or PDF!'))