How about printing to a PostScript file, then editing the PostScript for "showpage"?
...Jim Thompson
How about printing to a PostScript file, then editing the PostScript for "showpage"?
...Jim Thompson
-- | James E.Thompson, P.E. | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC\'s and Discrete Systems | manus | | Phoenix, Arizona Voice:(480)460-2350 | | | E-mail Address at Website Fax:(480)460-2142 | Brass Rat | | http://www.analog-innovations.com | 1962 | It\'s what you learn, after you know it all, that counts.
Here's what our own webmaster wrote me, after finding this on Google, no doubt:
Setting A Specific Page Break Maybe it's better not to have every H2 break the page. Maybe you'd like a page break at a specific point to keep a particular look. You do that by setting up a class of page breaks.
You can set up the class on any HTML command, but I think the best method is to set up the class within a or command. That way there's some white space where the page can break. Here's a look at the format (this will sit between your tags):
P.breakhere {page-break-before: always}
This then will be the activator for the page break:
"This seems to be what you're looking for. There's also: {page-break-after} but I think before would probably be easier to use."
So, I dunno, maybe this STYLE idea is useful...
-- Thanks, - Win
Form-feed? ^L, lessee -
^A 0x01 ^H 0x08 - backspace ^I 0x09 - tab ^J 0x0A - CR ^K 0x0B ^L 0x0C - form feed ^M 0x0D - line feed
Try embedding a 0x0c (12 decimal, maybe %12 to escape it).
I know when I used to "copy con lpt", I would have to hit ^L to make it (the lpt) spit the page out.
Good Luck! Rich
Thanks, problem solved. Properly too - it's in CSS2 :)
Apparently, if you can't be bothered with a style sheet in the head of the document you can just use this wherever it's needed:
There can't be, really, because as the author of the document you can't know which paper format and which font the user will print the document with. This is something that is best left to the browser -- with the help of a style sheet maybe. Or you provide a link to a PDF version of the same document for pretty printing.
robert
It might be useful to substiture H1 for P: every chapter will print on a new page then:
H1 {page-break-before: always}
There also exists a page-break-inside: property. By setting it to 'avoid' one can prevent the object from being broken.
[image] [image caption]would keep image and caption together.
Also possible should be to attach "page-break-after: never" to the images, which will keep whatever follows (the caption) attached to the image. Same could be done for H2 and smaller heads.
No idea if this works in real browsers. I do know that you can use different style sheets for browsing and printing, totally changing the layout. For an example go to
See
Thomas
What HTML really needs is a pair of tags that let you suggest what should not be split across pages.
-- -- kensmith@rahul.net forging knowledge
I think a pair should work if the page-break-inside:-property of div is set to "avoid".
Thomas
A website isn't universal unless it's compatible with Edlin. :)
I use Firefox 1.0.7 and don't have a problem with right-click, open in new tab on that site. Does their site disable that on another browser? Talk about incompatible websites...
It still pops up a message: "Sorry, the right button has been blocked!" on some items with IE, but it now works on Firefox 1.0.4
Open
I just looked at the source for the first harbor freight Web page and it has some code to determine if its being viewed with IE.
-- Service to my country? Been there, Done that, and I\'ve got my DD214 to prove it. Member of DAV #85. Michael A. Terrell Central Florida
I am listening to my favorite music right now, with the system (master) volume set low. If a web page manages to change the master volume to max the volume of my music will suddenly increase very much.
It actually happens now and then when I occasionally have to use stupid browsers. In my favorite browser Opera no "web designer" can touch anything.
I dislike very much web designers who fiddle with my master volume or disturb my music on my computer.
I want to recommend "web designers" to present themselves as plummers or taxi drivers in public situations. Somebody like me can be present.
-- Roger J.
Just turn off javascript and it will act like a normal page.
Good Luck! Rich
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.