473,322 Members | 1,259 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

is it possible to print with window.print()...

(maybe it is not for this group, but...)
Is it possible to print [using window.print()] a page that has no "title"
and "page number" on the top and no "link adress" and "date" on the bottom
(to print just a page just as it is...)?

(how, thanks!)
Nov 19 '05 #1
3 1587
No. window.print doesn't accept any parameters and only initiates the
printing functionality of the browser. The information in the header and
footer of the printed document are controlled by the user's print settings
for their browser. They can be removed and altered by the user but you can't
touch them with script.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"Bad_Kid" <RE*******************@yahoo.co.uk> wrote in message
news:d3**********@bagan.srce.hr...
(maybe it is not for this group, but...)
Is it possible to print [using window.print()] a page that has no "title"
and "page number" on the top and no "link adress" and "date" on the bottom
(to print just a page just as it is...)?

(how, thanks!)

Nov 19 '05 #2
AFAIK not programmatically. These settings are under user control...

Patrice

--

"Bad_Kid" <RE*******************@yahoo.co.uk> a écrit dans le message de
news:d3**********@bagan.srce.hr...
(maybe it is not for this group, but...)
Is it possible to print [using window.print()] a page that has no "title"
and "page number" on the top and no "link adress" and "date" on the bottom
(to print just a page just as it is...)?

(how, thanks!)

Nov 19 '05 #3
You might be able to useing PRINT templates. this only works for IE 5.5 +

Try looking for information here
http://msdn.microsoft.com/library/de.../reference.asp

"Bad_Kid" <RE*******************@yahoo.co.uk> wrote in message
news:d3**********@bagan.srce.hr...
(maybe it is not for this group, but...)
Is it possible to print [using window.print()] a page that has no "title"
and "page number" on the top and no "link adress" and "date" on the bottom
(to print just a page just as it is...)?

(how, thanks!)

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Fadly Tabrani | last post by:
Hi guys, This is the first time I'm posting to the newsgroup, hope you can help out. I'm writing a module to interface with the task scheduler in windows using PyWin32. Everything has been...
10
by: scrimp | last post by:
Ive been using PAMIE 1.4 to try to automate web page processes. The one thing I cannot do with it is upload files and download files. With uploading files, the file input box does not allow PAMIE...
2
by: dan | last post by:
This works in mozilla but I can't figure out why this won't work in IE. Say I have this html <html> header goes here header goes here
3
by: Craig | last post by:
First of all, this one is driving me crazy, so thanks in advance for any help!! I've got a javascript function in a parent document that generates an HTML document on the fly when a button is...
2
by: Asad | last post by:
I have a main window that creates a new window called printWin (which contains the printable format of the page). From the main window I embed a javascript in the printWin window that calls the...
1
by: SAN CAZIANO | last post by:
I have to insert a button in the left of all record in a table to print the current record, simply create a table and print it in the printer. anyone have an idea or there is a printer/report...
2
by: Bad_Kid | last post by:
Is it possible to print a page that has no "title" and "page number" on the top and no "link adress" and "date" on the bottom (to print just a page just as it is...)? (how, thanks!)
1
by: nospam | last post by:
All I am trying to achieve the following: Main window page's asp code writes the following line to launch a popup window (note the IFRAME has to be in the popup window, it cannot be in the...
22
by: stephen | last post by:
I have created an order form that users javascript to create a new html document when the customers clicks the "print page" button. Once the new document has been created it then prints the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.