-
Notifications
You must be signed in to change notification settings - Fork 88
How do i use this? #5
Comments
These codes :
are supposed to determine where you locate pdftohtml binary file. so you should appoint it to the binary file, not the directory. To find it out, you should use
then use each of locations and insert to the code above. You got what i mean? 👍 |
@mgufrone,
Like this
but it returns this error
and when i dd($pdf); it returns null Can you guide me on the right way of calling the pdf file? Cheers |
I believe you accidentally flip this code
It suppose to be like this
Try it again, if it still gives you error, i will check it again. |
Hey @mgufrone, Nope flipping it doesnt work. Thanks for helping me.
Cheers, |
Hey @mgufrone, Any news? Cheers |
will give you notice again on a weekend. i hope it will be good news for you. |
I managed to have it worked. I installed poppler utils on my local instead of my virtual machine... Great its working now! Do you know how i can retrieve the html content? Great library btw. I am gonna star it now. Cheers |
Glad you made it @ThomasRalee 👍 |
Hi @mgufrone Thanks for the great script . I am getting the same error as above.I have installed sudo apt-get install poppler-utils on local machine.But still getting the same error can you please tell me what else i have to do to convert from PDF to HTML? Here is code
|
@ThomasRalee can you please tell me all the configuration settings has been done for using it with laravel |
finally thanks @mgufrone this is the working code i have Config::set('/usr/bin/pdftohtml.bin', '/var/www/html/poppler-0.51/bin/pdftohtml.exe'); // change pdfinfo bin location thanks a lot |
worked for me! -happy coding jineshsubedi.com.np |
Hi i am trying to figure out how to use this with laravel 5.
This is what i tried to set the bin location... Still not quite sure with the difference between this two. I tried to point the config location to the location my pdf file is residing.
It's still returning null for this:
Can someone share with me what went wrong?
Cheers,
Ralee
The text was updated successfully, but these errors were encountered: