Moderators:TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Dim op As PDFXEdit.IOperation = Nothing
op = Me.docPreview.Inst.CreateOp(Me.docPreview.Inst.Str2ID("op.document.printPages"))
Dim doc As PDFXEdit.IPXV_Document = Me.docPreview.Doc
Dim input As PDFXEdit.ICabNode = op.Params.Root("Input")
input.Add().v = newDoc
op.Do()
Dim opExecFlags As Integer = 0
Me.docPreview.Inst.AsyncDoAndWaitForFinish(op, CUInt(opExecFlags))
Use the e.operBeforeExecute event to intercept the operation (use forum search for samples) then if it's the print operation, change the options as you need. Then the dialog will be launched with those settings.