/    Sign up×
Community /Pin to ProfileBookmark

Using HTML as an interum language to Postscript

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.

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@CharlesNov 02.2003 — [i]Originally posted by osensei [/i]

[B]Does anyone know if there is an HTML tag that the converter will translate to a page break[/B][/QUOTE]
[font=georgia]There 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 [url=http://xml.apache.org/fop/]FOP[/url] to generate your Postscript version. I do this all the time, generating PDF, printer friendly versions of things.[/font]
Copy linkTweet thisAlerts:
@osenseiauthorNov 02.2003 — 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?
Copy linkTweet thisAlerts:
@CharlesNov 02.2003 — [font=georgia]See http://www.renderx.com/Tests/doc/html/tutorial.html for a good FO tutorial.

To me, however, [url=http://www.cs.ucsd.edu/users/paloma/Aikido/morihei.html]Morihei Ueshiba[/url] is my O Sensei.[/font]
Copy linkTweet thisAlerts:
@osenseiauthorNov 02.2003 — 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
×

Success!

Help @osensei spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...