I’m trying to convert a file from html to pdf. I need the pdf exactly like the web but with wkhtmltopdf I am not being able. This is my configuration for wkhtmltopdf:
“–print-media-type --page-width 11.5in --page-height 20in C:\ObsFuncionalidad\Resultados\Alcampo\Producto_0.html C:\ObsFuncionalidad\Resultados\Alcampo\test.pdf”
Install browser extensions like “Webpage Saver as PDF” for Chrome or “Print Friendly & PDF” for Firefox. These extensions simplify the process by adding a “Save as PDF” button directly to your browser toolbar. Open the html page directlty click on the button and save that file with your desired name.