Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Suppressing the URL when printing

Status
Not open for further replies.

awingnut

Programmer
Joined
Feb 24, 2003
Messages
759
Location
US
I need to suppress the URL that comes out when I print a popup page. Is there a way to do that? Here is the function that creates and prints the page:
Code:
function startFax(theForm) {
    newwindow=window.open("","printwin","height=450,width=600");
    newwindow.document.write("<body onload='window.focus();window.print()'>"+theForm.faxdata.value+"</body>");
    newwindow.document.close();
    newwindow.close();
}
Can someone help with this? TIA.
 
This can't be done using Javascript.
The user must adjust the Headers & Footers from within their Page Setup.

M. Brooks
 
Thanks. I'm not sure what you mean but it sounds more involved than I want to get. Maybe I'll have to live with it.
 
What I mean is that within the Browser, let's say Firefox, the user must make adjustments to their Page Set-up in order to alter/remove unwanted Headers & Footers (ex: URL's or page numbers)

M. Brooks
 
Thanks. That's no good. I'd refer not to advertise this URL on a printed page.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top