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

Why i Cant print ??

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi all...

i just made an asp page with news and articles.


i wanted the user to print that page... so i used

<a href='#' onClick='window.print();return false'>PRINT</a>


but doesnt seem to work properly!! it prints partially...
i want what u see in your screen the exact
think u should see in your printer!


any suggestions??
 
Try <A HREF=&quot;javascript:window.print()&quot;>Print</A> or better still <INPUT TYPE=&quot;button&quot; VALUE=&quot;Print&quot; onClick=&quot;javascript:window.print&quot;> There's always a better way...
 
You should also consider assigning some <p> tags with style for page breaks after certain sections. No paperwill ever print perfectly if you have a slight overhang, so you should attempt to control the overhang and push it onto the next page in a chosen place rather than allowing the computer to pick the worst place to break it.
-Tarwn ------------ My Little Dictionary ---------
Reverse Engineering - The expensive solution to not paying for proper documentation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top