Our Brands

Welcome to the Schneider Electric Website

Welcome to our website.
		
How can we help you today?
Example of mimic script to generate and print reports in Geo SCADA.

This sample program is designed to demonstrate programming functions or methods for training purposes. Schneider Electric assumes no liability for the use of this example program or any part of it.

This article will provide some guidance on how to call a method to generate and print report from a script.

Script to generate report as follows:

Set oCrystalReportsObject = Server.FindObject("Fullname of the Crystal Report")

........

oCrystalReportsObject.Interface.Generate(Parameter1, Parameter2, Parameter3, Parameter4, , , , )

Here's an example of how to generate a report.

generate

Day1 and Day2 are two parameter arguments associated with the report (you can associate up to 8 parameters). Report1 is the Crystal Report object that generates the reports.

Script to print report as follows:

Set oCrystalReportsObject = Server.FindObject("Fullname of the Crystal Report")

........

oCrystalReportsObject.Interface.Print(Printer, Copies, CollatePages, Parameter1, Parameter2, Parameter3, Parameter4, , , , )

Here's an example of how to print a report.

print

Report1 is the Crystal Report object that prints the reports. In this case, the example shows that it's printing to the 'HP 5000 Printer' with one copy and no collation of pages.

Please note that the pick action uses server-side printing, so it can only print to real printers that print to paper and do no not display a user interface during the printing process. For more details regarding client and server side printing, please refer to the manual here.

Schneider Electric Hong Kong

Example of mimic script to generate and print reports in Geo SCADA.

This sample program is designed to demonstrate programming functions or methods for training purposes. Schneider Electric assumes no liability for the use of this example program or any part of it.

 

This article will provide some guidance on how to call a method to generate and print report from a script.

 

Script to generate report as follows:

 

Set oCrystalReportsObject = Server.FindObject("Fullname of the Crystal Report")

........

oCrystalReportsObject.Interface.Generate(Parameter1, Parameter2, Parameter3, Parameter4, , , , )

 

Here's an example of how to generate a report. 

 

generate

 

Day1 and Day2 are two parameter arguments associated with the report (you can associate up to 8 parameters). Report1 is the Crystal Report object that generates the reports.

 

Script to print report as follows:

 

Set oCrystalReportsObject = Server.FindObject("Fullname of the Crystal Report")

........

oCrystalReportsObject.Interface.Print(Printer, Copies, CollatePages, Parameter1, Parameter2, Parameter3, Parameter4, , , , )

 

Here's an example of how to print a report. 

 

print

 

Report1 is the Crystal Report object that prints the reports. In this case, the example shows that it's printing to the 'HP 5000 Printer' with one copy and no collation of pages. 

 

Please note that the pick action uses server-side printing, so it can only print to real printers that print to paper and do no not display a user interface during the printing process. For more details regarding client and server side printing, please refer to the manual here.

 

Schneider Electric Hong Kong

Explore more
Range:
Explore more
Range:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range:
Explore more
Range:

Need help?

  • Start here!

    Find answers now. Search for a solution on your own, or connect with one of our experts.

  • Contact Support

    Reach out to our customer care team to receive more information, technical support, assistance with complaints and more.

  • Where to buy?

    Easily find the nearest Schneider Electric distributor in your location.

  • Search FAQs

    Search topic-related frequently asked questions to find answers you need.

  • Contact Sales

    Start your sales enquiry online and an expert will connect with you.

I'd like to receive news and commercial info from Schneider Electric and its affiliates via electronic communication means such as email, and I agree to the collection of information on the opening and clicks on these emails (using invisible pixels in the images), to measure performance of Schneider Electric's communications and to improve them. For more details, please read our Privacy Policy.

  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact centre
  • Find our Offices
  • Get a Quote
  • Where to buy
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.