My task is to change header, footer and left/right/top/bottom margins from JavaScript on print form of the page in Internet Explorer.
(Not confuse with margins in the tag <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">)
For example, by default when printing a page Internet Explorer added to each printed page following header &w&bPage &p of &P (that means word "Page", number of current page and nuber of total pages) footer &u&b&d(fool URL to the page) and default margins 19,05.
I need to set 0.00 margins and no header and footer for printing a page(for text to begin from top left corner of paper page. WITHOUT ANY SPACES!).
How can I do setup of the printing form of the page from JavaScript or by any other way (may be CSS?) from my web page. I need to do this for Internet Explorer but if that will work in other browsers it would be better.
Will be very thankful for any help in solving this task
(Not confuse with margins in the tag <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">)
For example, by default when printing a page Internet Explorer added to each printed page following header &w&bPage &p of &P (that means word "Page", number of current page and nuber of total pages) footer &u&b&d(fool URL to the page) and default margins 19,05.
I need to set 0.00 margins and no header and footer for printing a page(for text to begin from top left corner of paper page. WITHOUT ANY SPACES!).
How can I do setup of the printing form of the page from JavaScript or by any other way (may be CSS?) from my web page. I need to do this for Internet Explorer but if that will work in other browsers it would be better.
Will be very thankful for any help in solving this task