Printing in deltav
Usually the operator interface background is gray. How can change the background to white in printing? for example writing script to change the background when push the printing button on tool bar to save the printer toner (only change the background in Hardcopy).
From: "mohsen" <bounce-mohsen@community.emerson.com> To: <DeltaV@community.emerson.com> Date: 10/17/2012 10:31 AM Subject: [EE365 DeltaV Track] Printing in deltaV
In reply to Michael Moody:
Private Sub bmpPrintMain_Click()
On Error GoTo ErrorHandler
'frsPrintMainPicture pn_MyMonitor.CurrentValue
Dim strDefColor As String
Dim strPicName As String
Dim curObj As Object
If pn_MyMonitor.CurrentValue = 2 Then
strPicName = frsVariables.gs_mainCurrent2.CurrentValue
Else
strPicName = frsVariables.gs_mainCurrent.CurrentValue
End If
If frsObjExists(strPicName, , curObj) Then
strDefColor = curObj.BackgroundColor
curObj.Parent.ActiveWindow.Active = True
curObj.BackgroundColor = vbWhite
'SendKeys "{Enter}", False
Application.ActiveDocument.Printout
curObj.BackgroundColor = strDefColor
Exit Sub
ErrorHandler:
HandleError
End Sub
I did not access to foundation support , can you send document?