To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=86106 Issue #|86106 Summary|VB .print method Component|Spreadsheet Version|OOo 2.3.1 Platform|PC URL| OS/Version|Windows XP Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|printing Assigned to|spreadsheet Reported by|gvanderschooten
------- Additional comments from [EMAIL PROTECTED] Thu Feb 14 17:04:49 +0000 2008 ------- The following VB code for printing an external document no longer works with 2.3.1 (Nothing printed, no error reported!!): Dim PrintProperties(1) As New com.sun.star.beans.PropertyValue PrintProperties(0).Name="Pages" PrintProperties(0).Value=pg '"1" PrintProperties(1).Name="CopyCount" PrintProperties(1).Value=2 f_final.print(PrintProperties()) Was working fine with previous versions 2.x Works fine for printing the current document by replacing "f_final" by "thiscomponent": thiscomponent.print(PrintProperties()) The document to be printed (f_final) is opened within he current document with the following sequence: dim args(0) as new com.sun.star.beans.PropertyValue args(0).name="Hidden" args(0).value=true 'false fname=dname & "F_mod.ods" f_final=OpenDocument (fname , Args()) --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
