12-14-2005 10:12 AM
12-14-2005 10:56 AM
hi there
the vi attached will create a html-report and save it on disk. be sure to
- create the folder specified in the path constant
- place something on the front panel (an empty FP won't be printed!)
- adjust the page orientation to landscape in the browser before printing on paper
12-14-2005 11:11 AM
Thanks,
I did notice that the front panel does get turned and only the left half gets printed on the Portrait oriented page.
I suppose that I could programatically open a browser for the user.
Can the browser be opened with the file showing? The user could then be instructed to set the browser to Landscape and to print manually.
I was hoping for a highly automated process for a production setting.
Thanks,
Chris
12-15-2005 02:14 PM
12-15-2005 02:25 PM - edited 12-15-2005 02:25 PM
Message Edited by Sam R on 12-15-2005 02:25 PM
12-15-2005 09:46 PM
Standard to HTML is interesting, however seems to be strictly text based. I have jpeg images of the front panel showing cahrts and graphs that need to be saved in the report. Maybe if I can save the front panels directly to a file.... and then I can later recall the file and print it out.
Chris
12-16-2005 11:29 AM
You can always hit ctrl>>print screen!!! However, I don't think that is what you are looking for. Here is a simple VI I found in one of our Knowledge Bases. It was written for 5.1 but I modified it for 8.0. You can embed it into your code and change all the controls to constants. That way the user won't have to set anything and you can print the real front panel without the extra controls.
Cheers,