Blank pdf is getting generated after the conversion

33 views
Skip to first unread message

Nagarajan Ramanantham

unread,
Jan 17, 2024, 9:46:09 AMJan 17
to wkhtmltopdf General
Hi,

I am trying to convert my html file available in my local system to the pdf using wkhtmltopdf  through command prompt, but after the conversion, only the blank pdf is getting generated. Also, there are no error messages in the screen as well. I am running the local server using which i launch the html file. Please note that linear.html file Lauches successfully in the browser and it uses javascript file reference.

I tried with google.com, it converts to pdf without any issues.

Can anyone please help me in resolving this issue?

C:\Program Files\wkhtmltopdf\bin>wkhtmltopdf.exe http://localhost:8000/src/linear.html D:\svn\Bargraph\trunk\steelseries-master\pdf\linear.pdf
Loading pages (1/6)
Counting pages (2/6)
Resolving links (4/6)
Loading headers and footers (5/6)
Printing pages (6/6)
Done

C:\Program Files\wkhtmltopdf\bin>


Thanks
Nagaraj

Umesh D

unread,
Apr 5, 2024, 8:48:47 AMApr 5
to wkhtmltopdf General
Check if fonts called and font path is missing.
Reply all
Reply to author
Forward
0 new messages