Open pradeep-gpost opened 6 years ago
Hello,
How are you ? I am able to convert the pdf content to text format. I am getting the output as string dump eliminating new lines in pdf file.
I would need to preserve new lines in pdf after converting to text. How do I do that ?
I am currently calling it as below:
$pdf = new PdfToText ( 'uploads/test_protocol.pdf' ) ; echo $pdf -> Text ;
Hello,
How are you ? I am able to convert the pdf content to text format. I am getting the output as string dump eliminating new lines in pdf file.
I would need to preserve new lines in pdf after converting to text. How do I do that ?
I am currently calling it as below:
$pdf = new PdfToText ( 'uploads/test_protocol.pdf' ) ;
echo $pdf -> Text ;