I would like to print a Web page with
javascript method window.print()
without pages number and footer.
it's possible ?

What happens when the print method is called? Does it directly print the page or pops up a print dialog?

pops up a print dialog (but this is not a problem).
I don't like on the right corner PAGE 1 OF 1 and in the footer the address of the page.

But you have got to realize that the window.print() method provides little or no control over the printing settings. Its just a nicety and is equivalent to pressing Ctrl + P.

Even the documentation doesn't provide any significant information about this function. It actually makes sense since its the user who decides what and how things have to printed and not the site developer. Messing around a bit with your printer settings is the only way to go.

I've developed an intranet application where the user click on button
PRINT INVOICE
I create the invoice into an html page and open it with minimun size, print and then close it.
ex.:
<head>
<body on load='window.print();window.close()'>
......invoice's tags.....
</body>
>/head>
I've found something about print job into CSS2 Specification arround PAGED MEDIA groups but nothing to control head and footer of printed document.

This is a function of the particular printer's driver and the PAGE SETUP function in the browser the USER of the page is using.

It belongs to the owner of that user's computer, not to the web page designer.

It is a security violation for a web page to be able to alter those settings. You have no right to change it.

This question has already been answered. Start a new discussion instead.