YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Printing selected symbols in VBA Options · View
butanon2
#1 Posted : Wednesday, May 26, 2010 2:39:12 PM
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.
Sponsor  
 

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.
Michael
#2 Posted : Thursday, May 27, 2010 3:25:13 PM
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
butanon2
#3 Posted : Friday, May 28, 2010 10:41:53 AM
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
Michael
#4 Posted : Friday, May 28, 2010 12:55:25 PM
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

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.