|
Subject:
|
Direct priting to printer
|
|
Posted By:
|
Sanjay Bajpai
|
Post Date:
|
2/2/2004 6:50:56 AM
|
I have prepared a printing program using ASP A report is generated in IE browser, But for printing i have to go to file --> print and select the printer. Is there any client end scripting that just press print button then it will direct go to printing after showing into IE (not ask printer name etc. ). And also can i set pagesize (A3 and A4 etc.) in ASP.
Thanks
|
|
Reply By:
|
DaveGerard
|
Reply Date:
|
2/9/2004 9:01:39 AM
|
I ran into the same problem and realized that it is by design that IE will prompt you for a printer. Otherwise someone could perhaps take control of your printer (well print out a ton of stuff anyway) just by you visiting there site.
My solution was to create a browser object from VB as I was only using it internally (at an office) to automatically generate html confirmations and fax them. I could then overide the prompt. But for the web it's going to be difficult.
|