Hi Drew,
Hi Drew,
Drew Jensen escribió:
Designate specific printer for specific reports.
Definitely. Also specify what paper stock is to be used or which tray.
Good points - I fiddled a bit with printer settings using basic a while
back and had some issues time to look at that again.
there is no API for getting the available printers' names, nor the tray,
etc. See issues 87883 and 87495
http://www.openoffice.org/issues/show_bug.cgi?id=87883
http://www.openoffice.org/issues/show_bug.cgi?id=87495
IMHO, the one that developed the printing API was too lazy: internally
all these is available cf. the Printer class in /vcl/inc/vcl/print.hxx
For 87883
static const std::vector< rtl::OUString >& GetPrinterQueues();
For 87495
USHORT GetPaperBin() const;
BOOL SetPaper( Paper ePaper );
et al.
How many month can take to wrap this into a new or existing
interface/service?
well... it seems there was *already* a way to get the printer names, see
http://api.openoffice.org/servlets/ReadMsg?list=dev&msgNo=19852
Regards
Ariel
--
Ariel Constenla-Haile
La Plata, Argentina
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.ArielConstenlaHaile.com.ar/ooo/
"Aus der Kriegsschule des Lebens
- Was mich nicht umbringt,
macht mich härter."
Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]