|
|
Rank: Newbie Groups: Member
Joined: 2/15/2010 Posts: 7 Location: Amsterdam
|
How to set VBA code in PI-Processbook to print only the selected symbols in the Activedisplay?
Regards, Butanon.
|
|
|
|
|
OSIsoft vCampus is a subscription-based, online offering that consists of providing everything people need to develop applications on the PI System. We invite you to take a "tour" of the OSIsoft Virtual Campus - also feel free to consult the FAQ or contact OSIsoft vCampus for more details.
|
|
|
Rank: Advanced Member Groups: Member
Joined: 12/3/2009 Posts: 71 Location: Germany/Pennsylvania
|
As far as I know the printout method has no arguments. So you can't do it directly. But how about copying the symbols, pasting in a new display (using Display.Copy and Display.Paste method) and print then?
Michael
|
|
|
Rank: Newbie Groups: Member
Joined: 2/15/2010 Posts: 7 Location: Amsterdam
|
Michael Thanks for your answer. This solution will work for me but when printing is finished, I want to delete this new Display with display.close without the save message box. Do you have a solution for this?
Michel
|
|
|
Rank: Advanced Member Groups: Member
Joined: 12/3/2009 Posts: 71 Location: Germany/Pennsylvania
|
Michel,
I refer to the claim of Rhys' company "There is always a solution".
use display.close (FALSE)
Michael
|
|
|
|
Guest
|