APD Toronto
asked on
HTML Printing
Hello Experts,
I am now printing a document using the following code, but is there any way I can remove the header and footer that usually are printed like time, date and URL. I know that this is a browser settings, but can I do it by code?
I am now printing a document using the following code, but is there any way I can remove the header and footer that usually are printed like time, date and URL. I know that this is a browser settings, but can I do it by code?
<BODY onload="window.print(); window.close();">
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I thought so.
I have abc pdf, which I have not used in years, was 800 pixels a good width when converting to pdf, or am I imagining this number?
I have abc pdf, which I have not used in years, was 800 pixels a good width when converting to pdf, or am I imagining this number?
I don't know ABC PDF but if it has a simple HTML to PDF option with an option to fit to A4 then just use that. Or just do a convert and let the user scale the print if needed.
Screen and print are different beasts when printing,
Screen and print are different beasts when printing,
as far as I know - No - this is not possible.
That what be a huge security risk/impact if you could change browser settings through Javascript.
HTH
Rainer