Hello,
I use pdflib for generating a pdf-File inside a embperl-page.
After the file is created I want to send it to the browser.
Setting the content-type with $http_headers_out{'Content-Type'}
works fine.
But Embperl breaks the binary content of the pdf-file.
$escmode = 0;
isn't enough I guess.
$optRedirectStdout = 16384;
doesn't work.
Embperl just stops sending the content after reaching some zero bytes.
Is there any way to send a binary file 'asis' using Embperl?
TIA,
Martin
I use pdflib for generating a pdf-File inside a embperl-page.
After the file is created I want to send it to the browser.
Setting the content-type with $http_headers_out{'Content-Type'}
works fine.
But Embperl breaks the binary content of the pdf-file.
$escmode = 0;
isn't enough I guess.
$optRedirectStdout = 16384;
doesn't work.
Embperl just stops sending the content after reaching some zero bytes.
Is there any way to send a binary file 'asis' using Embperl?
TIA,
Martin