Print Organizer failing with OpenBridge products when called non-interactively

All,

Just tried porting an existing application to OpenBridge Designer and have encountered a problem that should have a simple solution...just cannot run into it though.

Running OpenBridge Designer 10.08.00.760 without loading the OBD GUI for the purpose of generating a set of PDF files using Print Organizer results in:

The command line being called is:

"C:\Program Files\Bentley\OpenBridge Designer CONNECT Edition\OpenBridgeModeler\OpenBridgeModeler.exe" -WAc:\Temp\myvba.mvba

(see contents of myvba below)

Sub MyVba()

    Application.OpenDesignFile "c:\temp\foo.dgnlib", False
    CadInputQueue.SendKeyin "mdl load bentley.printorganizer.dll"
    CadInputQueue.SendKeyin "PRINTORGANIZER NEW"
    CadInputQueue.SendKeyin "PRINTORGANIZER PRINTERDRIVER pdf.pltcfg"
    CadInputQueue.SendKeyin "PRINTORGANIZER ADD FILE c:\Temp\foo.dgn"
    CadInputQueue.SendKeyin "PRINTORGANIZER SUBMITAS SINGLE"
    CadInputQueue.SendKeyin "PRINTORGANIZER PRINTDESTINATION c:\Temp\foo.pdf"
    CadInputQueue.SendKeyin "PRINTORGANIZER PRINT ALL"
    CadInputQueue.SendKeyin "PRINTORGANIZER EXIT"
End Sub


Works fine when called in OBD interactively.  Works fine in MicroStation 10.xx.xx.xx.

What am I missing?

Thanks in advance.
Steve

Parents Reply Children
No Data