To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=63866
Issue #:|63866
Summary:|when printing I cannot change the CopyCount, always 1
|copy
Component:|api
Version:|OOo 2.0
Platform:|PC
URL:|
OS/Version:|Windows XP
Status:|UNCONFIRMED
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|code
Assigned to:|sw
Reported by:|cheepee
------- Additional comments from [EMAIL PROTECTED] Fri Mar 31 06:15:52 -0800
2006 -------
i work with VB6.0 and Open Office 2.0.0. I want to print a document with
selecting the page and the number of copy, but the property "CopyCount" does
not not work.
Here is my code:
Dim odoc as object
Dim arg(2) as object
Dim arg1() as object
'change the printer name
Set arg1(0) = MakePropertyValue("Name", nomImprim)
oDoc.Printer = arg3()
'number of copies to print
Set arg(0) = MakePropertyValue("CopyCount", "2")
Set arg(1) = MakePropertyValue("Collate", True)
'page selection
Set arg(2) = MakePropertyValue("Pages", "1")
'call the print function
CallByName odoc, "print", VbMethod, arg()
I always have 1 copy of my page instead of 2. I tried without the "Collate"
property but no success.
If I use the GUI of Open Office and select 2 copies, the result is correct.
Does someone have an idea?
---------------------------------------------------------------------
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]