Using HTML as an interum language to Postscript

admin

Administrator
Staff member
I'm curently developing reports from a database on a Linux box. I was considering outputting the report in HTML format and then using an HTML to Postscript converter prior to spooling the output to a postscript printer. Pages breaks are something that I'm not sure about though. Does anyone know if there is an HTML tag that the converter will translate to a page break, or will I be forced to create a separate HTML page for each page on the report.<!--content-->Originally posted by osensei <br />
Does anyone know if there is an HTML tag that the converter will translate to a page breakThere is no such HTML element, though you can control page breaks with CSS2 <!-- m --><a class="postlink" href="http://www.w3.org/TR/REC-CSS2/page.html#page-breaks">http://www.w3.org/TR/REC-CSS2/page.html#page-breaks</a><!-- m -->. I couldn't tell you if your converter supports page breaks. <br />
<br />
Another option would be to start with something in XHTML (or some other XML application - you can even write your own) and then use an XSLT-FO style sheet along with FOP (<!-- m --><a class="postlink" href="http://xml.apache.org/fop/">http://xml.apache.org/fop/</a><!-- m -->) to generate your Postscript version. I do this all the time, generating PDF, printer friendly versions of things.<!--content-->Charles,<br />
<br />
Undermenche you say! Since my name is also Charles it is obvious you must be a superior being much like myself:) .<br />
<br />
Can you recommend some reading, tutorials or wesites that describe your method for accomplishing this?<!--content-->See <!-- m --><a class="postlink" href="http://www.renderx.com/Tests/doc/html/tutorial.html">http://www.renderx.com/Tests/doc/html/tutorial.html</a><!-- m --> for a good FO tutorial.<br />
<br />
To me, however, Morihei Ueshiba (<!-- m --><a class="postlink" href="http://www.cs.ucsd.edu/users/paloma/Aikido/morihei.html">http://www.cs.ucsd.edu/users/paloma/Aikido/morihei.html</a><!-- m -->) is my O Sensei.<!--content-->Osu Charles San,<br />
<br />
Thanks for the info. <br />
<br />
Funakoshi (Shotokan) is mine, and although our school corriculum teaches Professor Tomiki's Aikido, I chose Osensei as a handle to honor Ueshiba the father of Omotokyo.<br />
<br />
Thanks, <br />
CMD<!--content-->
 
Back
Top