Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

print parameters

Status
Not open for further replies.

thendal

Programmer
Aug 23, 2000
284
Hai all!

Is there any way we can change the parameters of the print command through javascript.

ie)

If i need to print a html page in landscape ,can i able to do it by click of a button (print).

I know there is synatx

window.print();

But iam not sure whether we can able to control other parameters like changing the

paper size,orientation ,scaling etc

Thendal :)
 
this has to be done in css
use the @page stuff
doc on the w3c site or try on the html & css forum
 
Thanks iza ,I will try in other forums
 
But even in css forums i didn't find any usefull information
if i find any thread link for this answer it will be more helpfull thanks

:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top