https://issues.apache.org/ooo/show_bug.cgi?id=121737
Bug ID: 121737
Issue Type: DEFECT
Summary: [AWT] Printing API - Paper tray is exposed in an
esoteric format
Classification: Code
Product: api
Version: AOO 3.4.1
Hardware: All
OS: All
Status: CONFIRMED
Severity: normal
Priority: P3
Component: code
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
The input paper tray information is actually provided by
css.awt.XPrinterPropertySet.getFormDescriptions(), and the paper tray can be
set with css.awt.XPrinterPropertySet.selectForm()
The format in which this information is provided is rather esoteric and
undocumented; though some people found the secret (see bug 87495, comment 5),
it is overcomplicated and error prone.
See the implementation in
http://svn.apache.org/viewvc/openoffice/trunk/main/toolkit/source/awt/vclxprinter.cxx?revision=1413471&view=markup#l217
There should a simple way to retrieve the names of the available paper trays,
and set by name the default tray for the print job.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.