From owner-freebsd-java@FreeBSD.ORG Mon Sep 4 02:31:01 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0290E16A4DA for ; Mon, 4 Sep 2006 02:31:00 +0000 (UTC) (envelope-from nb_root@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F0B543D46 for ; Mon, 4 Sep 2006 02:31:00 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from clk01a ([24.202.77.103]) by VL-MO-MR002.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0J5100265QZNQU00@VL-MO-MR002.ip.videotron.ca> for freebsd-java@freebsd.org; Sun, 03 Sep 2006 22:31:00 -0400 (EDT) Date: Sun, 03 Sep 2006 22:30:51 -0400 From: Nicolas Blais In-reply-to: <20060904121912.41fe9b03@localhost> To: freebsd-java@freebsd.org Message-id: <200609032230.59277.nb_root@videotron.ca> MIME-version: 1.0 Content-type: multipart/signed; boundary=nextPart5300377.zdHVYxB3bt; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-transfer-encoding: 7bit References: <200609032031.42080.nb_root@videotron.ca> <20060904121912.41fe9b03@localhost> User-Agent: KMail/1.9.3 Cc: Norberto Meijome Subject: Re: Printing with java under FreeBSD 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: Mon, 04 Sep 2006 02:31:01 -0000 --nextPart5300377.zdHVYxB3bt Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 03 September 2006 22:19, Norberto Meijome wrote: > On Sun, 03 Sep 2006 20:31:36 -0400 > > Nicolas Blais wrote: > > Hi, > > > > I've been developing several applications in Java (diablo-jdk15) and am > > quite satisfied with the result on FreeBSD and other OS. > > > > My only complaint so far is that I haven't had any success printing with > > Java. I'm using CUPS-1.2.2. > > Every little bits of code I find on the net do not work in FreeBSD. Is > > this a known issue? Any workaround? > > FWIW, you are in good companion.... eclipse doesn't even detect my cups > printers... :( > B Actually, my eclipse doesn't show my printers either (grayed out Print=20 menuItem).=20 But according to this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D24796 It is a eclipse + GTK issue and not java. With the code snipplet I posted, I can see my CUPS printers fine, but as=20 stated it throws an exception when it tries to print. =2D-=20 =46reeBSD 7.0-CURRENT #18: Sat Sep 2 14:06:41 EDT 2006 =20 root@clk01a:/usr/obj/usr/src/sys/CLK01A=20 PGP? : http://www.clkroot.net/security/nb_root.asc --nextPart5300377.zdHVYxB3bt Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBE+4/j4wTBlvcsbJURAta0AKCvUyIxTI50Y7rXRZ30mnpSoF6h4ACfT4cN tVJwZB5beQpRsOJrZp5czJw= =2UKW -----END PGP SIGNATURE----- --nextPart5300377.zdHVYxB3bt--