/ Forside / Teknologi / Udvikling / HTML / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
HTML
#NavnPoint
molokyle 11184
Klaudi 5506
bentjuul 3377
severino 2040
smorch 1950
strarup 1525
natmaden 1396
scootergr.. 1320
e.c 1150
10  miritdk 1110
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



Søg
Reklame
Statistik
Spørgsmål : 177552
Tips : 31968
Nyheder : 719565
Indlæg : 6408849
Brugere : 218887

Månedens bedste
Årets bedste
Sidste års bedste