Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does the format change when converting from HTML to PDF or Postscript?

0
Posted

Why does the format change when converting from HTML to PDF or Postscript?

0

First, verify that your HTML conforms to the HTML 3.2 specification using one of many HTML “lint” or “validator” applications available on the ‘net. The W3C has links to a few good ones that can be used on-line. If you use HTML that does not conform to the HTML specification, then what you get out of HTMLDOC may or may not be what you expect. Just because your favorite browser displays the HTML as you like, don’t assume that your HTML is conformant! Second, HTML is not (by definition) a WYSIWYG format. The formatting varies depending on the software and output device. All the HTML specification defines is the general behavior and function of each HTML element (P, H1, B, TABLE, etc.) HTMLDOC follows the W3C display recommendations in the HTML specification. When no behavior is explicitly specified, it chooses a behavior that most closely resembles Netscape/Mozilla. Third, PostScript and PDF are quite different than HTML. Printed documents have fixed page sizes, while a web browser can p

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123