X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FTemplate%2FHTML.pm;h=0ff939fd872ca5072817dc7b1b0908975f42a883;hb=2b3391521b469f9f7b2928d104a9f620dddb25d2;hp=abca75c07e8b51455cbb6a7ddaddb358d17c6c83;hpb=439e45e4d2ae4d410a4d6b27371b34ff0af5baa9;p=kivitendo-erp.git diff --git a/SL/Template/HTML.pm b/SL/Template/HTML.pm index abca75c07..0ff939fd8 100644 --- a/SL/Template/HTML.pm +++ b/SL/Template/HTML.pm @@ -70,7 +70,7 @@ sub convert_to_postscript { $psfile .= ".ps"; } - system("html2ps -f html2ps-config < $form->{tmpfile} > $psfile"); + system($::lx_office_conf{applications}->{html2ps} . " -f html2ps-config < $form->{tmpfile} > $psfile"); if ($?) { $self->{"error"} = $form->cleanup(); $self->cleanup(); @@ -103,7 +103,7 @@ sub convert_to_pdf { $pdffile .= ".pdf"; } - system("html2ps -f html2ps-config < $form->{tmpfile} | ps2pdf - $pdffile"); + system($::lx_office_conf{applications}->{html2ps} . " -f html2ps-config < $form->{tmpfile} | ps2pdf - $pdffile"); if ($?) { $self->{"error"} = $form->cleanup(); $self->cleanup();