This Forum is Currently Locked – Access is Read Only
You must be logged in to post Login


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Convert html to pdf with background colors and images

UserPost

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"


About the VeryPDF Knowledge Base Forum

Forum Timezone: Europe/Lisbon

Most Users Ever Online: 104

Currently Online:
1 Guest

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 1
Forums: 1
Topics: 72
Posts: 170

Membership:

There are 192414 Members

There is 1 Admin

Top Posters:

VeryPDF – 21
PeterS – 4
Arjen – 3
Martijn_K – 2
pdfprintUser – 1
eurban – 1

Recent New Members: Manuel Ruiz, djebbi walid, Andrey Rostov, Novice, Eric de los Santos, arisetio purnomo

Administrators: VeryPDF (136 Posts)



 
VN:F [1.9.20_1166]
Rating: 6.1/10 (34 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 20 votes)
Forum, 6.1 out of 10 based on 34 ratings