Wrox Programmer Forums
ASP Pro Code Clinic As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Pro Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 2nd, 2004, 07:50 AM
Registered User
Join Date: Sep 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Direct priting to printer

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.


Old February 9th, 2004, 10:01 AM
Friend of Wrox
Join Date: Sep 2003
Posts: 171
Thanks: 0
Thanked 1 Time in 1 Post

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.

Similar Threads
Thread Thread Starter Forum Replies Last Post
print direct not viewer raheem Crystal Reports 0 June 25th, 2006 08:33 AM
more direct Question, need help kgoldvas XSLT 1 January 24th, 2006 09:14 AM
Printer.Printer Problem!! Pls Help Me Chamin Access VBA 0 December 10th, 2004 07:08 AM
Direct X SDK krishnabhargav General .NET 0 September 21st, 2004 08:42 AM
To send reports direct to the printer magesh_bala Classic ASP Professional 2 September 4th, 2003 04:00 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.