|
| Print Button on Web Page Fra : Dirk Ussler |
Dato : 12-01-05 23:15 |
|
Dear Group,
My Danish is a bit rusty - so I write in English. You can return in either
Danish, English, or German.
I am looking for a script which enables users of our web site to print out
the current page. I want to control the way the page is printed, though,
i.e. printed to fit the page or printed in landscape. Any suggestions?
Tak!
Dirk
Reply to: ussler "@" together.net
| |
Benny Nissen (13-01-2005)
| Kommentar Fra : Benny Nissen |
Dato : 13-01-05 03:26 |
|
Dirk Ussler has brought this to us :
> I am looking for a script which enables users of our web site to print out
> the current page. I want to control the way the page is printed, though, i.e.
> printed to fit the page or printed in landscape. Any suggestions?
Det kan du ikke bestemme over. Det er helt op til brugerens opsætning
af browseren.
Det nærmeste du kommer på at bestemme er at lave et css med
media="print"
Den vil (hvis brugeren har givet lov) definere stylingen af siden, når
der udskrives.
--
Benny
| |
Anders K. Jacobsen (15-01-2005)
| Kommentar Fra : Anders K. Jacobsen |
Dato : 15-01-05 14:32 |
|
>> I am looking for a script which enables users of our web site to print
>> out the current page. I want to control the way the page is printed,
>> though, i.e. printed to fit the page or printed in landscape. Any
>> suggestions?
You can't as Benny said. But if you plan to print your page; floating width
eg = 100 % is musch better than eg = 1000 px. The print will then
automatically adopt for the new width be that horizontial or vertical.
Anders
| |
|
|