Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jan 2007 21:08:25 +0100 (MET)
From:      Uwe Laverenz <uwe@laverenz.de>
To:        freebsd-java@freebsd.org
Subject:   Re: cups printing with java/jdk15 port
Message-ID:  <20070126200824.GA2982@laverenz.de>
In-Reply-To: <45BA0AD7.4000401@id.unibe.ch>
References:  <45BA0AD7.4000401@id.unibe.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070126200824.GA2982>