ended up doing the following Still need UI but it updates a flag for printing...
Sub Initialize
Dim workspace As New notesuiworkspace
Dim uidoc As notesuidocument
Dim session As New NotesSession
Dim uiview As NotesUIView
Set uiview = workspace.Currentview
Dim db As NotesDatabase
Dim collection As NotesDocumentCollection
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Set collection = db.UnprocessedDocuments
Print "Marking " + Cstr(collection.Count) + " Documents"
For i = 1 To collection.Count
Set doc = collection.GetNthDocument(i)
doc.printedbeta = "Printed"
Call doc.Save(True,False)
Next
Print "Printing " + Cstr(collection.Count) + " Documents"
Call uiview.Print()
end sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.