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

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to