User | Post |
11:37 am September 30, 2011
| VeryPDF
| | |
| Admin
| posts 136 | |
|
|
I am converting HTML to PDF using your software. When printing HTML using Internet Explorer I can uncheck a box in the IE setting to not print background colors and images. Is there anyway to specify that in your software?
|
|
11:37 am September 30, 2011
| VeryPDF
| | |
| Admin
| posts 136 | |
|
|
What product are you using? We have more products which can convert HTML files to PDF files.
If you are using DocConverter COM product, you can use following options to trun on or turn off background color and images during HTML to PDF conversion,
Convert background color and images within html to pdf conversion,
"html2pdf.exe" "http://www.verypdf.com/pdfcamp…..dfcamp.htm" "C:/output.pdf" "PrintHTMLBackground=yes"
"html2pdf.exe" "http://www.verypdf.com/pdfcamp…..dfcamp.htm" "C:/output.pdf" "PrintHTMLBackground=no"
|
|
8:15 am October 6, 2011
| VeryPDF
| | |
| Admin
| posts 136 | |
|
|
I am running it this way and it still prints the background:
for %F in (PathProd\*.*) do html2pdf.exe "%F" "PathProd\%~nF.pdf" "papertype=0 , PrintHTMLBackground=no"
|
|
8:15 am October 6, 2011
| VeryPDF
| | |
| Admin
| posts 136 | |
|
|
Can you please email to us the URL in question? After we checked your URL, we will figure out a solution to you shortly.
|
|
8:15 am October 6, 2011
| VeryPDF
| | |
| Admin
| posts 136 | |
|
|
The url is this:
for %F in (D:\Distro\H2P\Alameda\Prod\*.*) do html2pdf.exe "%F" " D:\Distro\H2P\Alameda\Prod\%~nF.pdf" "papertype=0 , PrintHTMLBackground=no"
Do I put a comma between the papertype and PrintHTMLBackground?
|
|
8:16 am October 6, 2011
| VeryPDF
| | |
| Admin
| posts 136 | |
|
|
Your command line is right, yes, you need put a comma between the papertype and PrintHTMLBackground,
for %F in (D:\Distro\H2P\Alameda\Prod\*.*) do html2pdf.exe "%F" " D:\Distro\H2P\Alameda\Prod\%~nF.pdf" "papertype=0,PrintHTMLBackground=no"
|
|