X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDN.pm;h=cef36383dc457f5ef8202225320e4f922016f1d9;hb=89c9ff022d3f13e27ba6bda085df15707fcfb0eb;hp=e9a7e81331e3472ce9096ed679c87021ffc4deb2;hpb=8cd05ad64866ce200f888a35723ae4b7e24a2012;p=kivitendo-erp.git diff --git a/SL/DN.pm b/SL/DN.pm index e9a7e8133..cef36383d 100644 --- a/SL/DN.pm +++ b/SL/DN.pm @@ -667,7 +667,7 @@ sub melt_pdfs { $dunning_id =~ s|[^\d]||g; - my $in = IO::File->new("gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=- $inputfiles |"); + my $in = IO::File->new($::lx_office_conf{applications}->{ghostscript} . " -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=- $inputfiles |"); $form->error($main::locale->text('Could not spawn ghostscript.')) unless $in; if ($form->{media} eq 'printer') {