CHMlib Logo Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab.
You are reading help file online using chmlib.com
CrisisHelper - First Aid in Tough Times of World Economic Crisis


_bm0 Rave Reports Developer Guide

Report Destination

Top  Previous  Next

QUESTION:

How do I determine whether the user previewed or printed a report?

 

ANSWER:

First, we have to caution you that selecting "print" does not mean the user actually got a complete print job. The printer could have had a paper jam, gone off-line etc. It is also important to note that Rave simply communicates with the Windows Printer API and NOT with the printer. So when you select "Print" in Rave - ALL that means is that the print job was sent to the Printer API. The spooler probably got the job but it is unknown if the printer or user got it.
 
However, you can get a clue on what the user selected by using the OnAfterPrint and OnAfterPreviewPrint events on the TRvSystem component. In those events, put some code to look at the return value of the ReportDest property. The return value can be used to determine which selection the user has chosen - File, Preview or Printer. This ReportDest return value is set after the user exits the setup form.
 



You are reading help file online using chmlib.com

If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com