[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 324
  • Last Modified:

Distiller giving large margins for HTML Page

Hello Friends,

I have a HTML document that has to be converted to PDF using Acrobat Distiller. Everything looks fine in the converted PDF except for 2 things:

1) The margins are too large on the PDF. So the text keeps wrapping and looks bad.
2) The HTML Tables (with border="0") show a thin transparent border. For ex: If I have a row spanning the whole page and this row is made up of 3 HTML TD's, I can see those TD's in the final PDF even though the border is 0 and therefore they don't appear on the HTML.

Are there any settings that I need to change in the Distiller for these to work?

Regards,
Srinivas
0
srinivas_vemla
Asked:
srinivas_vemla
  • 3
  • 3
1 Solution
 
Karl Heinz KremerCommented:
Distiller cannot convert HTML to PDF. This means that you used something else to convert the HTML. Did you use Acrobat? Did you use a web browser and printed to PDF?
0
 
srinivas_vemlaAuthor Commented:
Hello khkremer,

Thanks for the reply...

What I do is use Adobe Distiller to print HTML files. I guess Adobe Distiller in-turn uses Post Script conversion.

I think Adobe Distiller is using some other application (maybe MS Word) to interpret my HTML file (instead of using Internet Explorer). This different application interpretation seems to add extra margins (because MS Word normally has margins set as: 1, 1, 1.25, 1.25) and also the TDs give lines.

Is there any way in Distiller to tell it to use IE when printing instead of any other application? I am not so clear about how Distiller prints the documents.

Any help will be highly appreciated...

Regards,
Srinivas
0
 
Karl Heinz KremerCommented:
Again, Distiller cannot convert HTML. How are you converting your files? Please give me a step by step breakdown of how you do it.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
srinivas_vemlaAuthor Commented:
Hello khkremer,

Thanks for your suggestions. We were using an old plug-in that was developed by one of our ex-developers. We thought that that was part of Adobe stuff...

Later we saw that the component was developed internally to use MS Word application to print to PDF. Thus the HTMLs were also being opened by MS Word and therefore all the formatting issues. We are currently modifying the COM to treat HTML files differently (use IE instead of Word). Hoping that this would solve the issue.

Thanks,
Srinivas
0
 
Karl Heinz KremerCommented:
Acrobat (6 and 7) can convert HTML to PDF directly. You can use the "Create PDF from web page" function to create PDF. Another alternative is HTMLDOC (http://www.easysw.com/htmldoc/), which is available both as commercial version and as open source software.
0
 
srinivas_vemlaAuthor Commented:
Thanks khkremer,

We could solve the problem using IE object reference. You were right in saying that Distiller would not convert HTML to PDF. Now, we open the HTML using IE and then call the print method and print it to the default printer. All this is done using a COM component.

Thanks again,
Srinivas
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now