aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes change of Browser Page Setup in Javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "change of Browser Page Setup in Javascript" Watch "change of Browser Page Setup in Javascript" New topic
Author

change of Browser Page Setup in Javascript

Periakaruppan Thiagarajan
Ranch Hand

Joined: Jul 26, 2005
Posts: 65
Hi,
I have to change Browser page Setup Information in Javascript.
When I print a page, the url information is displayed at bottom of the page. I dont want to display Url information in the page. If I change browser settings (i.e) File -->Page Setup--> Footer , and removed '&u' from footer, then its not printing url information. Whether I can do this in Javascript ?? Can anyone help me how to handle it??
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
JavaScript can not do it.

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61043
    
  66

Would you not get ticked off if every page that you visited changed your browser settings on you?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Periakaruppan Thiagarajan
Ranch Hand

Joined: Jul 26, 2005
Posts: 65
If I changed the browser settings once, Its not printing URL at the bottom of the page. But I want to change the browser settings through javascript
[ September 15, 2005: Message edited by: Periakaruppan Thiagarajan ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61043
    
  66

But I want to change the browser settings through javascript


Re-read Eric's reply.

No matter how badly you want to do it, you cannot. The browser settings are not yours to change, they belong to the user.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: change of Browser Page Setup in Javascript