Printing question

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
Deemo
Forum Contributor
Posts: 418
Joined: Sun Jan 18, 2004 11:48 am
Location: Washington DC

Printing question

Post 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?
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Post by Grim... »

As far as I know, it can't be done.
foobar
Forum Regular
Posts: 613
Joined: Wed Sep 28, 2005 10:08 am

Post 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.
Deemo
Forum Contributor
Posts: 418
Joined: Sun Jan 18, 2004 11:48 am
Location: Washington DC

Post by Deemo »

darn. oh well thanks anyways
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

I usually generate a PDF document to handle on my printing :wink:
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

Jcart wrote:I usually generate a PDF document to handle on my printing :wink:
Yep .. tiz the future. If you use FPDF you can even make it automatically print just as document.print() does for HTML.
Post Reply