Page 1 of 1
Printing question
Posted: Tue Dec 06, 2005 2:01 pm
by Deemo
I am creating an application that will be printing out a page. The main problem that i am facing is the headers that are on the printed pages (if you print in firefox for example, you get the link at the top, and the page number and date at the bottom). I know how to remove these manually (in page setup), but i was wondering if there was something I could do to make it automatic only when this page is accessed. Any ideas?
Posted: Tue Dec 06, 2005 2:19 pm
by Grim...
As far as I know, it can't be done.
Posted: Tue Dec 06, 2005 2:36 pm
by foobar
If this was possible, it could produce a serious security vulnerability. I can see why you don't want the header stuff to be printed, but AFAIk the document.print() function takes no variables.
Posted: Tue Dec 06, 2005 2:41 pm
by Deemo
darn. oh well thanks anyways
Posted: Tue Dec 06, 2005 3:17 pm
by John Cartwright
I usually generate a PDF document to handle on my printing

Posted: Tue Dec 06, 2005 6:32 pm
by onion2k
Jcart wrote:I usually generate a PDF document to handle on my printing

Yep .. tiz the future. If you use FPDF you can even make it automatically print just as document.print() does for HTML.