in reply to Re: displaying pdf
in thread displaying pdf
If I select Acrobat a warning about a damaged file comes up and is being repaired. A blank pdf file is displayed.
I will work it some more or some one can spot my error.
#!perl -w $| = 1; print "Content-Type: application/pdf\n\n"; open(FILE,"dental.pdf") or die("$!"); binmode(FILE); while (sysread(FILE,$buffer,1024)) { print STDOUT $buffer; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: displaying pdf
by Thelonius (Priest) on Oct 21, 2002 at 20:37 UTC | |
by admiraln (Acolyte) on Oct 21, 2002 at 21:20 UTC |