Apache OpenOffice (AOO) Bugzilla – Issue 96606
.print(arg()) used in macro will not print but open the print dialog on a Mac
Last modified: 2010-07-26 19:47:51 UTC
The following StarBasic code is expected to print the first page of the document two times on Standard printer. This works well on windows, but not on Mac. On a Mac intel it will just open the printing dialog and initilize it with the values given instead. Dim arg(2) as new com.sun.star.beans.PropertyValue arg(0).name = "Pages" arg(0).value = "1" arg(1).name = "CopyCount" arg(1).value = 2 arg(2).name = "Wait" arg(2).value = True ThisComponent.print(arg())
Testing again in OOo Mac Intel 3.1, it shows the same behavior (opening print dialog instead of printing). Moreover the dialog now gets initialized with wrong values: Now it proposes to print one copy of page 1 to 2!
ok, since printing undergoes a rework anyway at the moment, let's have a look at this and fix it in CWS printerpullpages
Also in Ooo 3.1
fixed in CWS printerpullpages
Maybe it's a good idea to fix http://www.openoffice.org/issues/show_bug.cgi?id=104010 before integrating this?
target
please verify in CWS printerpullpages
Verified with printerpullpages = ok
close issue