Click to See Complete Forum and Search --> : How to bypass the print dialog box while printing in ASP program or PHP program?


Sword
April 22nd, 2003, 05:42 PM
i'm trying to write a ASP or PHP program to print the page itself automatically.
How to bypass the print dialog box and print it directly?
Thank you very much for your help.

Satishpp
April 22nd, 2003, 06:12 PM
can't be done

Satish

Sword
April 22nd, 2003, 06:30 PM
could you please tell me why it can't be done?
thank you.

Satishpp
April 23rd, 2003, 12:59 PM
Well, thats the way browsers are built.

You cant manipulate a browsers dialog boxes like the print dialog, save, open or options dialogs thru script.

For example, consider if this was possible, one could write a script which first changed your browsers cookies settings and then set a cookie or maybe something more malacious...

Satish

Sword
April 23rd, 2003, 01:02 PM
Thank you very much for your answer.

have a nice day.