Replies Back to Article

Auto Window Print

Ironic
January 23, 2002 by Chris von Nieda

Funny,

I was working on our Corporate Intranet today and I had a need for this code. I come on here tonight to reply to a request for help on some code I wrote and BAM, here it is. 

Gotta love that!  I'll use it tomorrow.

Thanks!

-Chris

 

RE: Ironic
January 24, 2002 by Omar Elbaga
UDZONE.com baby. gotta love it! It's nice to see the fruits of a lot of work. Thanks for posting.
help!
March 8, 2002 by Maribel Macasaquit
Is there a way I could clear the header and footer in JavaScript before printing the page?
RE: help!
March 9, 2002 by Marcellino Bommezijn

If you mean that you want the page to be loaded first and then initialize the Window Print, just put the script at the very end of your page.

 

Thank you!
March 11, 2002 by Maribel Macasaquit
I tried that simple script. Can you help me with another thing? I wanted the page to be automatically printed after the page is loaded, but I don't want the popup window to appear wherein i still have to clicked the OK button to begin printing.  Is it possible?
Print In Landscape
April 10, 2002 by Maria Byrne

How can I force a browser to print in landscape? The printer dialog box is disabled for security reasons, and I need to create a Print button on a page that can print the page in landscape orientation.

Thanks in advance for any help!

RE: Print In Landscape
July 31, 2002 by akhtar wasi
asfa a asdf afaad
RE: Print In Landscape
August 5, 2002 by Billie Bacay
RE: RE: Print In Landscape
April 28, 2003 by kim footohi
Does anyone know how to use the landscape orientation for the print() function?
Print after page is loaded
November 9, 2003 by Steve Davis

It seems there is no way to just dump something to the printer without going through the print dialogue box.

If you want to print the whole page, putting the script at the bottom is not the ideal way to do it as anything not loaded will not print.

Better is <body onLoad="self.print()">   I think we all know the use of onLoad...

RE: Ironic
August 15, 2007 by andre brandtzæg

Hi Chris.
I was looking for a script for printing a html page automatickly in landscape.
And My question for u is, do u know the script?
If so, could u please post it here.

Best,
Andy