I got a macro which prints a document: dispatcher.executeDispatch(document, ".uno:PrintDefault", "", 0, Array())
However I was unable to find an interface for printing to a document, doing some research on the reference I found the FileName which is used in case of printing to a file but I couldnt find any other option to set it as a PrinttoFile.
-- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]