To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=47407
Issue #:|47407
Summary:|XPagePrintable ignores print options
Component:|api
Version:|680m91
Platform:|All
URL:|
OS/Version:|Linux
Status:|UNCONFIRMED
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|code
Assigned to:|sw
Reported by:|harshthebarsh
------- Additional comments from [EMAIL PROTECTED] Wed Apr 13 15:18:17 -0700
2005 -------
printing a text document through XPagePrintable ignores the FileName property
and prints directly to the printer instead. Doing the same with XPrintable works
correctly (writes to a file).
Example snipplet:
PropertyValue[] printOpts = new PropertyValue[1];
printOpts[0] = new PropertyValue();
printOpts[0].Name = "FileName";
printOpts[0].Value = "/tmp/out.ps";
xPrintable.setPrinter(new PropertyValue[0]);
XPagePrintable xPagePrintable =
(XPagePrintable)UnoRuntime.queryInterface(XPagePrintable.class, xPrintable);
// this works (prints to /tmp/out.ps)
xPrintable.print(printOpts);
// this doesn't (prints to printer)
xPagePrintable.printPages(printOpts);
---------------------------------------------------------------------
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]