Return-Path: X-Original-To: apmail-pdfbox-users-archive@www.apache.org Delivered-To: apmail-pdfbox-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DCDA1D92A for ; Tue, 29 Jan 2013 11:27:38 +0000 (UTC) Received: (qmail 34438 invoked by uid 500); 29 Jan 2013 11:27:38 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 34106 invoked by uid 500); 29 Jan 2013 11:27:36 -0000 Mailing-List: contact users-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@pdfbox.apache.org Delivered-To: mailing list users@pdfbox.apache.org Received: (qmail 34060 invoked by uid 99); 29 Jan 2013 11:27:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jan 2013 11:27:34 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [81.169.146.161] (HELO mo-p00-ob.rzone.de) (81.169.146.161) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jan 2013 11:27:24 +0000 X-RZG-AUTH: :LWIAZ0WpaN8UY5o8XRz0jOyrHsdEC+nAE10OdySrgHgUniX+w8mdMr/TOVmuQQ== X-RZG-CLASS-ID: mo00 Received: from Lehmis-Mac.local (217-190.noranet.cz [217.66.167.190]) by smtp.strato.de (josoe mo30) (RZmta 31.14 AUTH) with ESMTPA id n02014p0TBDA1Q for ; Tue, 29 Jan 2013 12:27:04 +0100 (CET) Message-ID: <5107B206.1080201@lehmi.de> Date: Tue, 29 Jan 2013 12:27:02 +0100 From: =?ISO-8859-1?Q?Andreas_Lehmk=FChler?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: users@pdfbox.apache.org Subject: Re: PDFBox markup printing on silent References: <51037C37.9040804@lehmi.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, Am 29.01.13 00:59, schrieb John Cashion: > Here was my solution for those that need it in the future. Since i couldn't > find something directly in pdfbox, I used the Desktop to call the reader > file and then print that natively from the desktop. example code is here > > public void printOrder(){ > try { > File myFile = new File(finished); > //Desktop.getDesktop().open(myFile); > Desktop.getDesktop().print(myFile); > doc.close(); > } catch (IOException ex) { > // no application registered for PDFs > } > } > Thanks for coming back and sharing your solution with us. It emphasizes my guess that the feature you are looking for isn't (yet) supported by PDFBox but by the application (Adobe reader?) which is registered on your desktop to handle PDFs. BR Andreas Lehmk�hler