From owner-freebsd-java@FreeBSD.ORG Fri Jan 26 20:20:19 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 66ED816A492 for ; Fri, 26 Jan 2007 20:20:19 +0000 (UTC) (envelope-from uwe@laverenz.de) Received: from mo-p07-ob.rzone.de (mo-p07-ob.rzone.de [81.169.146.188]) by mx1.freebsd.org (Postfix) with ESMTP id 09CCD13C48E for ; Fri, 26 Jan 2007 20:20:17 +0000 (UTC) (envelope-from uwe@laverenz.de) Received: from athena.laverenz.de (p5480D83A.dip.t-dialin.net [84.128.216.58]) by post.webmailer.de (mrclete mo25) (RZmta 3.11) with ESMTP id j0QGUVX300254D for ; Fri, 26 Jan 2007 21:08:25 +0100 (MET) Date: Fri, 26 Jan 2007 21:08:25 +0100 (MET) Received: from localhost (localhost.localdomain [127.0.0.1]) by athena.laverenz.de (Postfix) with ESMTP id B1EA5E6EDD2A for ; Fri, 26 Jan 2007 21:08:24 +0100 (CET) Received: from athena.laverenz.de ([127.0.0.1]) by localhost (athena [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03040-01-5 for ; Fri, 26 Jan 2007 21:08:24 +0100 (CET) Received: by athena.laverenz.de (Postfix, from userid 2000) id 11423E6EDD24; Fri, 26 Jan 2007 21:08:24 +0100 (CET) From: Uwe Laverenz To: freebsd-java@freebsd.org Message-ID: <20070126200824.GA2982@laverenz.de> Mail-Followup-To: freebsd-java@freebsd.org References: <45BA0AD7.4000401@id.unibe.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45BA0AD7.4000401@id.unibe.ch> Organization: private site Sender: uwe@laverenz.de User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at laverenz.de Subject: Re: cups printing with java/jdk15 port X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jan 2007 20:20:19 -0000 On Fri, Jan 26, 2007 at 03:06:15PM +0100, Thomas Spreng wrote: > can anyone confirm that printing from java apps (using the latest > jdk1[45] ports) via cups works? I can confirm that it does _not_ work (out of the box). There is a workaround that might work: if you set an environment variable CUPS_SERVER to localhost, you should be able to print: bash/sh: $ export CUPS_SERVER=localhost csh: % setenv CUPS_SERVER localhost > Unfortunately, none of the apps I've tests were able to print. Afaik, > java expects /usr/bin/lpr to work, but symlinking all /usr/local/bin/lp* > binaries to /usr/bin didn't seem work as well. Yes, this is not a FreeBSD problem btw., it also occurs on Linux. cu, Uwe