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 IamaSherpa 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 :)


 
there are about 2000 threads in this forum about that... some on this page, i think... look at those.

there is probably also a faq, seeing as this question is asked atleast 400 times a day. adam@aauser.com
 
lucid i digged through the forum,and also i gone through msdn ,But i didn't found any help ...

there are commands that it can be done in CSS.But there no explanation how it can be done.

so can u post a link of that(print) thread,which will help me lot.

ThanX

:)
 
sorry "comments" not commands
 
check out for the @page tag in the css spec
i don't have any link to any tutorial but they have there !!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top