So I am thinking about 2 strategies:
1. alter the page setup adjust the margins
2. print a specially prepared page
In both cases I dont know how to program this. HELP HELP HELP
Maybe the 2. strategie is the better one but how can I program this to a
mouse click.
I think this program should simply send a file to the default printer.
Do I need Java or is this possible with HTML-methods
Thanks Benjamin
This suggests to me that you are using specifically sized tables or
images (etc). Try using percentages instead of absolute sizes.
Kae
For a print button, you'll need JavaScript. You need to keep your margins set to
100% instead of any fixed pixel width.
http://html.mcwebber.net/print.html
--
McWebber
No email replies read.
Send a Flori-DUH Postcard
http://www.4sarasota.com/card.html
I think quite a few websites now include a "Printer Friendly Version"
that is simply a different webpage with the same factual content
formatted for easy printing (e.g. No adverts, navigation side bars, no
wide fixed width tables etc).
No programming is required - You just need a button / link for the
alternate page.
Paul
Sent via Deja.com http://www.deja.com/
Before you buy.
> I think quite a few websites now include a "Printer Friendly Version"
> that is simply a different webpage with the same factual content
> formatted for easy printing (e.g. No adverts, navigation side bars, no
> wide fixed width tables etc).
>
> No programming is required - You just need a button / link for the
> alternate page.
>
But I don´t want just open the page. The click on the button should print
that alternate page.
thanks
Benjamin
"Benjamin Z. Gregorian" <zg...@indosat.net.id> wrote in message
news:nFzZ5.11580$K6.84968@news...
In which case, try over in comp.lang.javascript however I think that
most (all?) users would prefer to see the page first, then print it.
I suspect that automatic printing of an alternate page will be
significantly dependent on what browser the user has. Would you really
be happy if your 'Print' button only worked in, say, Internet Explorer
and Netscape Navigator 6?
Still, good luck if you do try it.
"Paul Blay" <bl...@my-deja.com> wrote in message
news:915j4p$jca$1...@nnrp1.deja.com...