From owner-freebsd-ports@FreeBSD.ORG Wed Apr 7 06:32:03 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2920E16A4D1 for ; Wed, 7 Apr 2004 06:32:03 -0700 (PDT) Received: from mail.mdanderson.org (mail.mdanderson.org [143.111.251.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE39643D2D for ; Wed, 7 Apr 2004 06:32:02 -0700 (PDT) (envelope-from syjef@mdanderson.org) From: Jonathan Fosburgh Organization: UT MD Anderson Cancer Center To: freebsd-ports@freebsd.org Date: Wed, 7 Apr 2004 08:30:51 -0500 User-Agent: KMail/1.6.1 References: <20040407121857.GA2487@axion01.tphys.physik.uni-tuebingen.de> In-Reply-To: <20040407121857.GA2487@axion01.tphys.physik.uni-tuebingen.de> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200404070830.56510.syjef@mdanderson.org> Subject: Re: Java and printing: No print service found. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Apr 2004 13:32:03 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 07 April 2004 07:18, Dominik Epple wrote: > A self-written, existing Java application is now to be run on this > machine. This application uses the Java print api and printing works, > for example, when running this application under linux. However, > on the FreeBSD box, trying to print gives just a Message Box with > the text "No print service found.". > I have come across the same issue, also using cups. I played around by=20 placing symlinks to commands such as lpr and lpc in /usr/bin, pointing to=20 their cups implementation. After some looking, I believe I determined that= =20 java is looking for some specific information from lpc and I wrote a shell= =20 script for lpc that produced what java was looking for and I was able to ge= t=20 a printer list. But printing still didnt work. =20 =2D --=20 Jonathan Fosburgh AIX and Storage Administrator UT MD Anderson Cancer Center Houston, TX=20 =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAdAKPqUvQmqp7omYRAuUWAJ9sP8aOfpv8hjHWwbB2ZSS5Mxv54wCfSeNY bgQZU3Ah4yICoxI0HbwUJVg=3D =3DFuBU =2D----END PGP SIGNATURE-----