Print Page | Close Window

Trapping print event

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Writing Code
Forum Discription: .NET programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=2072
Printed Date: 15 May 2024 at 2:19pm


Topic: Trapping print event
Posted By: DHo2008
Subject: Trapping print event
Date Posted: 18 Jan 2008 at 2:02am
Hi,
 
I want to run some code after the user has printed a report (I'm coding in .NET using Crystal XI). I can't see any event for the standard print button on the crystal report viewer though, is it possible to trap events from it or do I need to remove it and add my own button?
 
Cheers in advance

Dave



Replies:
Posted By: hilfy
Date Posted: 23 Jan 2008 at 3:02pm
I think you'll need to code your own button.  I seem to recall hearing that they were going to provide event handlers surrounding printing in either a service pack or the 2008 version of Crystal, but I'm not sure if/when that will happen.
 
-Dell


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics



Print Page | Close Window