Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics 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 November 29th, 2005, 05:14 AM
Authorized User
 
Join Date: Nov 2005
Posts: 72
Thanks: 3
Thanked 0 Times in 0 Posts
Default Printing Page

Hi,

I want to achieve that it is possible to print a Webpage, without being asked which printer you want to use.
Clicking on the image or button to pop-up the printer-selection window is no problem.
But I want it directly to print the page.
It will be used in an INTRANET, so security is no problem.

Can this be done?

regards,

David
 
Old November 29th, 2005, 12:45 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Yes, it can be done. Check out this FAQ:

http://imar.spaanjaars.com/QuickDocId.aspx?QUICKDOC=243

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old November 29th, 2005, 01:07 PM
Authorized User
 
Join Date: Nov 2005
Posts: 72
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Hi Imar (goedendag),

I tried it, but it give me an error
"Nothing printed: 438: the object does not accept this property or method"

I have put the security level of the INTRANET to the lowest level....

Anyway, thx

David


 
Old November 29th, 2005, 04:02 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi David,

Jij ook een goede dag... ;)

I just tried my script, and I can't get it work anymore either. I think that has been "fixed" by XP Service Pack 2 or another windows update. I'll update my FAQ once I found out what the cause was...

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP Page Printing itHighway Classic ASP Basics 2 August 16th, 2012 03:08 PM
Page-Breaks when printing saf ASP.NET 2.0 Basics 0 May 2nd, 2007 07:00 AM
Printing PDF (page x to y) / multiple page seq's robbert XSLT 1 November 13th, 2006 10:27 AM
Page Header Printing on Last Empty Page ritag Access 4 November 11th, 2004 12:07 PM
Printing on a new page Dinesh22 VB.NET 2002/2003 Basics 0 February 12th, 2004 03:36 AM





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