Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 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 January 19th, 2005, 11:45 AM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
Default printing from a web page


hi,

  how can i print an html page from .aspx web app without
  displaying the actual html page ?

  eg - i have a button on a .aspx web page and if i click on it i
  want to print (but not display) another html document.

  can anyone point me to a vb.net example ?

  many thanks


 
Old January 26th, 2005, 11:28 AM
Registered User
 
Join Date: Jan 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey, did you ever find a solution to this? If not, once I find out one, I'll let you know. Thanks!
 
Old January 26th, 2005, 05:56 PM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000
Default

you could call client Script ex: window.print();

Ahmed Ali
Software Developer
 
Old January 27th, 2005, 05:52 PM
Registered User
 
Join Date: Jan 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, my situation is that I want to print an html page to the Adobe PDF printer on the server to convert the html page to a pdf. Is there a way to do server-side printing like this?


 
Old January 28th, 2005, 12:07 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

  the only way I have found to generate .PDF output so far
  is to use the .NET Crystal Reports components. Then when
  you generate a report you can send it to a .PDF file for
  subsequent printing or whatever you like.






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to diplay web page inside another web page win cyberjoe C# 2 March 1st, 2007 05:35 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
Print web page withiout printing url footer rekha_jsr Classic ASP Basics 4 September 15th, 2004 10:47 PM
problem in printing a web page at runtime Abhinav_jain_mca General .NET 1 July 30th, 2004 10:05 PM





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