Printing an Image or Form Data from ATEasy

Knowledge Base Article # Q200031

Read Prior Article Read Next Article
Summary Printing a chart involves two steps: 1. Save the chart to an image file. 2. Print the image file.

The process is comprised of two steps. The first step is to save the chart to a image file. The second step is to print the image file.

1.  To save to an image file, use the Image property with the SavePicture() internal library routine.

2.  Use one of the following methods to print the saved image file:

  • Use WinExec() with MSPAINT or any other application that supports printing of picture from the command line (/p).
  • Use the Log control in HTML mode to insert a picture tag to it with the file saved. Then, use Log.PrintLog. This method is very flexible, as you may add text and/or other drawing elements to your printout.
  • Use COM libraries such as Word and Excel to send a picture and to print.
Article Date 9/25/2002 3:42:29 PM     Updated: 3/25/2009 11:39:29 AM

0 ratings | 0 out of 5
Read Prior Article Read Next Article