Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 81697788F for ; Fri, 28 Oct 2011 10:42:45 +0000 (UTC) Received: (qmail 67329 invoked by uid 500); 28 Oct 2011 10:42:45 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 67287 invoked by uid 500); 28 Oct 2011 10:42:45 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 67279 invoked by uid 99); 28 Oct 2011 10:42:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2011 10:42:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bertfrees@gmail.com designates 209.85.214.47 as permitted sender) Received: from [209.85.214.47] (HELO mail-bw0-f47.google.com) (209.85.214.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2011 10:42:40 +0000 Received: by bkbzv3 with SMTP id zv3so210371bkb.6 for ; Fri, 28 Oct 2011 03:42:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2l9JbkiScyysGBZSNz0Rr9N+hZ9febfoI4A8/DaP1lQ=; b=aUZsS7z9mEtwa/NeWaqN2OMRO+dtiEx1tuODiqv9i3yozTTO80/p7mxrWPsTH5Xyoi JXTm18prZ26S1ijRxFcyh11ty0OqHp4pjYyTU9Vrtvxum8po++gQRbPOxmhbiW/5drM0 nBcAZyPMb27nPbES/sww8SQgyPSXVJVVEjgVQ= MIME-Version: 1.0 Received: by 10.204.145.15 with SMTP id b15mr1865984bkv.52.1319798538979; Fri, 28 Oct 2011 03:42:18 -0700 (PDT) Received: by 10.204.140.150 with HTTP; Fri, 28 Oct 2011 03:42:18 -0700 (PDT) In-Reply-To: <4EA985FB.2000305@googlemail.com> References: <4DD0F499.8060004@gmail.com> <4EA6C72A.4090205@gmail.com> <4EA6D327.3090506@gmail.com> <4EA92BE5.1070409@googlemail.com> <20111027161230.GA2514@localhost.sonyvaio> <4EA985FB.2000305@googlemail.com> Date: Fri, 28 Oct 2011 12:42:18 +0200 Message-ID: Subject: Re: odt2braille on the Mac From: Bert Frees To: ooo-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=001517447ac6174c0304b0598b1d --001517447ac6174c0304b0598b1d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello J=C3=BCrgen 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=C3=BCrgen Schmidt > On 10/27/11 6:12 PM, Ariel Constenla-Haile wrote: > >> >> Hi J=C3=BCrgen, >> >> On Thu, Oct 27, 2011 at 12:01:09PM +0200, J=C3=BCrgen 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 >> > 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 > --001517447ac6174c0304b0598b1d--