Click to See Complete Forum and Search --> : Using HTML as an interum language to Postscript
osensei
11-02-2003, 04:15 AM
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.
Charles
11-02-2003, 04:43 AM
Originally posted by osensei
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 http://www.w3.org/TR/REC-CSS2/page.html#page-breaks. I couldn't tell you if your converter supports page breaks.
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 (http://xml.apache.org/fop/) to generate your Postscript version. I do this all the time, generating PDF, printer friendly versions of things.
osensei
11-02-2003, 04:56 AM
Charles,
Undermenche you say! Since my name is also Charles it is obvious you must be a superior being much like myself:) .
Can you recommend some reading, tutorials or wesites that describe your method for accomplishing this?
Charles
11-02-2003, 05:24 AM
See http://www.renderx.com/Tests/doc/html/tutorial.html for a good FO tutorial.
To me, however, Morihei Ueshiba (http://www.cs.ucsd.edu/users/paloma/Aikido/morihei.html) is my O Sensei.
osensei
11-02-2003, 05:36 AM
Osu Charles San,
Thanks for the info.
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.
Thanks,
CMD