laravelpdf icon indicating copy to clipboard operation
laravelpdf copied to clipboard

COnfigure Executable Path Windows

Open MakamuEvans opened this issue 8 years ago • 6 comments

Hi, i see you have a good html to pdf converter here,but cant really use it with Laravel. i installit well, but on use iget :PDFException in PDF.php line 146: PDF could not be created: "The system cannot find the path specified.\r\n" how so i configure executable path, and how doi even install it....no tutorial for this. Please Help. [email protected]

MakamuEvans avatar Nov 01 '16 14:11 MakamuEvans

You can configure your executable path by changing the config/laravelpdf.php . There is a small doc on README file

Wemerson Januario

[email protected]

Novanti Tecnologia e Consultoria http://www.novanti.com.br/ Goiânia- Goiás Celular/WhatsApp: (55 62) 99106-6689 <%2855%2062%29%20991066689>

On Tue, Nov 1, 2016 at 12:49 PM, Makamu L. Evans [email protected] wrote:

Hi, i see you have a good html to pdf converter here,but cant really use it with Laravel. i installit well, but on use iget :PDFException in PDF.php line 146: PDF could not be created: "The system cannot find the path specified.\r\n" how so i configure executable path, and how doi even install it....no tutorial for this. Please Help. [email protected]

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wemersonjanuario/laravelpdf/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AACXRMFTP6WzMSSLZcEqe0yoIhlPkCTYks5q51GMgaJpZM4KmLBs .

wemersonjanuario avatar Nov 01 '16 16:11 wemersonjanuario

hey did you figure out how to configure it? im getting the same issue

wapnen avatar Nov 19 '16 22:11 wapnen

I have the same issue and this is my config/laravelpdf.php 'executable' => base_path(). '/bin/wkhtmltopdf-64bit.exe' //For Windows

and still localhost 8000 pdf

also localhost 8000 pdf1

VitaTamry avatar Mar 09 '17 16:03 VitaTamry

Still having problem @VitaTamry ? Is your O.S windows 64bit? Is executable path correct? let me know. thank you

wemersonjanuario avatar Mar 30 '17 13:03 wemersonjanuario

@wemersonjanuario It is working now. Thank you bro

VitaTamry avatar May 01 '17 01:05 VitaTamry

Hello, I have configured the path as 'executable' => base_path() . '/bin/wkhtmltopdf.exe'//For Windows and my executable file exists in C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe .

But I am getting error PDF could not be created: "The system cannot find the path specified.\r\n".

Can somebody help me.

iamkatta avatar Jul 14 '18 06:07 iamkatta