When I print content using javascript, the browser automatically adds the header and footer (url / date / pagenr). Currently, there seems to be no way to suppress this from a webpage.
Css3 may be a solution for it (for example, using @page, @ top-left styles ), but currently does not seem to work here (winvista chrome 17.0.942.0/firefox 9.0). When should it appear in browsers?
A different solution may occur in the Chrome browser: with the above version, printdlg is not a modal-printdlg system, but is displayed on the website (there is also a checkbox to disable header + footer). Now that chrome has remade printdlg , can chrome also provide api for managing print with javascript?
Are there other solutions on the horizon? This cannot be the final state to print from a browser with full control of pdf or other plugins.
Pl4n3
source share