UNO: Possible to get printing progress?
Andrew Douglas Pitonyak
andrew at pitonyak.org
Wed Apr 9 14:27:46 PDT 2014
When I see this, it is usually so that a macro knows when it can close a
document (you cannot close a document that is being used because it is
being actively printed). So, you noticed that the reported states are
very basic
http://www.openoffice.org/api/docs/common/ref/com/sun/star/view/PrintableState.html
On 04/07/2014 07:12 AM, Ignaz Forster wrote:
> Hello,
>
> is it possible to get the printing progress of a document via UNO?
> This would make it possible to give the user some feedback when
> printing large documents.
I think only the basic information is available.
>
> The closest thing I've found is the PrintJobEvent
> (http://api.libreoffice.org/docs/idl/ref/structcom_1_1sun_1_1star_1_1view_1_1PrintJobEvent.html),
> however the PrintableState seems to contain only very basic
> information (Started, Completed, Spooled)...
>
> Thanks a lot,
> Ignaz
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
Info: http://www.pitonyak.org/oo.php
More information about the LibreOffice
mailing list