Hello Jürgen and Ariel,

Thanks for your help. I appreciate you want to solve this MacOS issue when
there is more time.

Ariel, the suggested code works :) I am now trying to find a way to send a
byte stream to a printer. Could XPrinterPropertySet.setBinarySetup be used
for this purpose maybe? The com.sun.star.awt.XPrinter service only seems to
support graphical data, am I right?

Thanks,
/BErt

2011/10/27 Jürgen Schmidt <[email protected]>

> On 10/27/11 6:12 PM, Ariel Constenla-Haile wrote:
>
>>
>> Hi Jürgen,
>>
>> On Thu, Oct 27, 2011 at 12:01:09PM +0200, Jürgen Schmidt wrote:
>>
>>> Hi Bert,
>>>
>>> i assume it is again a threading issue on MacOS and the used Java
>>> API requires the main thread as well. I don't have a solution yet
>>> for you and i am not aware of any existing solution but we have to
>>> solve this issue anyway. But at the moment we have many other thinks
>>> to do with our ongoing IP clearance.
>>>
>>> But your extensions is quite interesting and of course very useful
>>> for probably many users.
>>>
>>> We can also think about a further UNO API to ask for the system
>>> default printer because the code should be available somewhere.
>>>
>>
>> it is already available in
>> http://api.openoffice.org/**docs/common/ref/com/sun/star/**
>> awt/XPrinterServer.html#**getPrinterNames<http://api.openoffice.org/docs/common/ref/com/sun/star/awt/XPrinterServer.html#getPrinterNames>
>>
> you are right, sometimes i got lost in our APIs especially when i haven't
> used it for some time ;-) Hopefully it helps Bert for the moment.
>
> Juergen
>

Reply via email to