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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

print options

Status
Not open for further replies.

osbel

Programmer
Sep 17, 2001
26
0
0
US
I have a page that I want to print. When it prints it needs to be in landscape orientation and I also need a way to insert pagebreaks where I want them. I know there is a way to do this with js but i can't seem to find anything referring to it now. Can anyone help? thanks.
Leslie
 
It's probably not possible to select the print orientation from javascript, but you can insert a page break with the following statement in your html page where you want it to be :

<p style=&quot;page-break-before:always&quot;></p>

Good luck

Detlef

 
It's probably not possible to select the print orientation from javascript, but you can insert a page break with the following statement in your html page where you want it to be :

<p style=&quot;page-break-before:always&quot;></p>

Good luck

Detlef

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top