To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=104010 Issue #|104010 Summary|.print(arg()) will setup print dialog of Mac in differ |ent ways depending on printer type Component|scripting Version|OOo 3.1 Platform|Macintosh URL| OS/Version|Mac OS X Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|kr Reported by|uwealtmann
------- Additional comments from [email protected] Tue Aug 4 18:44:47 +0000 2009 ------- Using this StarBasic code to print the first page of a document twice: Dim arg(1) as new com.sun.star.beans.PropertyValue arg(0).name = "Pages" arg(0).value = "1" arg(1).name = "CopyCount" arg(1).value = 2 ThisComponent.print(arg()) The Mac native print dialog will open for a two page(!) document which contains two times the first page of the original document and nothing else. On a Canon Pixma MP800 the No. of copies in the print dialog is set to "1" which all together will end up in printing the first page twice because the doc to print consists of two times the first page. Strange, but working as intended. Using a HP Photosmart printer as default printer however, the number of copies in the print dialog is set to "2" so just accepting the dialog you will end up with four times the same page. Same Document, same code. I see no sense in doing extensive research finding out exactly what happens, but from some piece of code of the interface the printer must know that there have been demanded 2 copies to print - a code which is ignored by canon printer but not by HP and which should be cleant up imho to avoid irreproducible results in macros used for printing. See also issue #96606 --------------------------------------------------------------------- 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]
