Joined: 08 May 2007
Online Status: Offline
Posts: 4
Topic: Print to Client Local Printer Posted: 08 May 2007 at 2:00am
Hi all,
I have a problem has been faced during development. My plafform as following:
1. Win 2003 Server
2. Dot Net 2.0
3. Crystal Report Developer XI Release 2
4. Web Intergration with ASP.net / Vb.net
When I press the print button, it only export to the Adobe Format. How can I print the document to the local printer of the client? Thank you very much.
Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Posted: 08 May 2007 at 1:16pm
This is how the ASP.NET viewer control works - clicking on the print button does a PDF export and then the user prints from the PDF. There is no way to send it directly to the printer.
Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Posted: 09 May 2007 at 7:02am
That is correct. This is a function of how the viewer works.
The only way that you might get it to go directly to the printer is through a program that bypasses the viewer entirely. But that wouldn't allow your users to see the report before printing it, so it's probably not a viable solution for you.
Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Posted: 11 May 2007 at 10:14am
I'm going to correct myself here. Apparently, there is a way to set the printer type in the viewer object to use the ActiveX print control. The user must have the access rights to download and install the ActiveX control. I'm not sure what that property name is, but if you check back on this thread I've asked the original poster to update us with that information.
Joined: 04 Jan 2010
Location: Indonesia
Online Status: Offline
Posts: 2
Posted: 04 Jan 2010 at 8:31pm
The dialog popped up and show blank mean waiting for downloading ActiveX. Wait for 1 - 2 minutes and window will ask your permission to install the crystal report activex. After that, printer dialog will show when you click print button from viewer
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum