On Tue, 2009-05-12 at 13:27 +1000, Mike Bissett wrote: > I'm loading and printing the document like this:
> ## setup filename option > printOpts = self._toProperties(FileName=outputUrl + '.ps') > ## print > uno.invoke(document, "print",(printOpts)) > How about... uno.invoke(document, "print", (printOpts,)) i.e. add that extra "," The root problem of course is that "print" is a reserved keyword in python requiring the invoke call instead of the natural document.print(printOpts) I'm not sure, but you *may* need to wait for printing to complete before going on to try and close the document C. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org