| Author |
Printing functionality using javascript
|
lokesh pushpa
Greenhorn
Joined: Nov 21, 2011
Posts: 20
|
|
Hi
I have an requirement on printing functionality:
I have a webpage, there i am keeping one print button and using window.print(), i am able to print.
But here i am not getting exact size fitted into the potrait page. Some alignment issues are coming while printing the
page.
Quries:
1. How to capture the window features
2. How to adjust the margins using javascript
3. How to fit into a single page.
If any grammer mistakes are there please excuse me.
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15362
|
|
JavaScript can not control the print settings.
CSS3 has some print settings, but hardly any browser supports them.
|
 |
 |
|
|
subject: Printing functionality using javascript
|
|
|