Issue 96606 - .print(arg()) used in macro will not print but open the print dialog on a Mac
Summary: .print(arg()) used in macro will not print but open the print dialog on a Mac
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: MacOSX (show other issues)
Version: OOo 3.0
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: OOo 3.3
Assignee: h.ilter
QA Contact: issues@porting
URL:
Keywords: aqua
Depends on:
Blocks:
 
Reported: 2008-11-26 13:06 UTC by Uwe Altmann
Modified: 2010-07-26 19:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Uwe Altmann 2008-11-26 13:06:52 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())
Comment 1 Uwe Altmann 2009-06-03 19:49:46 UTC
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!
Comment 2 philipp.lohmann 2009-06-05 15:10:25 UTC
ok, since printing undergoes a rework anyway at the moment, let's have a look at
this and fix it in CWS printerpullpages
Comment 3 Uwe Altmann 2009-08-04 19:23:48 UTC
Also in Ooo 3.1
Comment 4 philipp.lohmann 2009-08-05 16:07:18 UTC
fixed in CWS printerpullpages
Comment 5 Uwe Altmann 2009-08-08 20:08:01 UTC
Maybe it's a good idea to fix http://www.openoffice.org/issues/show_bug.cgi?id=104010 before 
integrating this?
Comment 6 philipp.lohmann 2009-09-03 10:30:24 UTC
target
Comment 7 philipp.lohmann 2009-10-26 13:51:48 UTC
please verify in CWS printerpullpages
Comment 8 h.ilter 2009-11-11 15:25:30 UTC
Verified with printerpullpages = ok
Comment 9 Martin Hollmichel 2010-07-26 19:47:51 UTC
close issue