I'm using window.print()
to print a page. It is also printing the url of the page. How can I avoid this 开发者_如何学JAVA(using code)?
This is a user preference which is not possible to override from a webpage. The user has to change their preferences manually.
Update in response to editing of tags: And as something that changes the behavior of the client, if this was possible, then it wouldn't be achievable using asp.net or any other server side technology.
精彩评论