From owner-freebsd-java@FreeBSD.ORG Thu Sep 7 02:17:12 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 F1E1016A4DD for ; Thu, 7 Sep 2006 02:17:11 +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 9164643D46 for ; Thu, 7 Sep 2006 02:17:11 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from clk01a ([24.202.77.103]) by VL-MO-MR004.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0J5700J5NACMX0F0@VL-MO-MR004.ip.videotron.ca> for freebsd-java@freebsd.org; Wed, 06 Sep 2006 22:17:11 -0400 (EDT) Date: Wed, 06 Sep 2006 22:17:04 -0400 From: Nicolas Blais In-reply-to: <20060907104500.127a22c4@localhost> To: freebsd-java@freebsd.org Message-id: <200609062217.09363.nb_root@videotron.ca> MIME-version: 1.0 Content-type: multipart/signed; boundary=nextPart12084284.iyi7AkTgQb; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-transfer-encoding: 7bit References: <200609032031.42080.nb_root@videotron.ca> <200609061759.59432.nb_root@videotron.ca> <20060907104500.127a22c4@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: Thu, 07 Sep 2006 02:17:12 -0000 --nextPart12084284.iyi7AkTgQb Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 06 September 2006 20:45, Norberto Meijome wrote: > On Wed, 06 Sep 2006 17:59:53 -0400 > > Nicolas Blais wrote: > > > Hi, > > > > > > This works ok for me using cups 1.1.23 on 6.1-release. Printers > > > get listed and the circle and rectangle are printed without > > > exception. > > > > > > Do you have cups-lpr installed? That's required for java > > > printing with cups. Also make sure the /usr/bin/lp* symlinks > > > to /usr/local/bin/lp* are still intact, if not reinstall cups-lpr. > > > > > > -Kurt > > > > I have cups-1.2.2 which I believed made away with a seperate cups-lpr > > package. Your solution was correct though, I made the symlinks > > to /usr/local/bin/lp* and it printed 2 pages correctly without exceptio= n. > > [betom@ayiin] [Thu Sep 7 10:13:00 2006] > /usr/home/betom > $ pkg_info | grep cup > cups-1.2.2 The Common UNIX Printing System: Metaport to install > comple cups-base-1.2.2 The Common UNIX Printing System > cups-pdf-2.4.1_1 A virtual printer for CUPS to produce PDF files > cups-pstoraster-8.15 Postscript interpreter for CUPS printing to non-PS > printers cups-samba-5.0.r3 The Common UNIX Printing System: MS Windows > client drivers gtklp-1.2.2 A gtk interface to cups > libgnomecups-0.2.2_1,1 Support library for gnome cups admistration > > [betom@ayiin] [Thu Sep 7 10:35:58 2006] > /usr/home/betom > $ ls -la /usr/bin/lp* > lrwxr-xr-x 1 root wheel 17 Sep 7 10:35 /usr/bin/lp -> /usr/local/bin/= lp > lrwxr-xr-x 1 root wheel 24 Sep 7 10:35 /usr/bin/lpoptions > -> /usr/local/bin/lpoptions lrwxr-xr-x 1 root wheel 23 Sep 7 > 10:35 /usr/bin/lppasswd -> /usr/local/bin/lppasswd lrwxr-xr-x 1 root=20 > wheel 18 Sep 7 10:35 /usr/bin/lpq -> /usr/local/bin/lpq lrwxr-xr-x 1 ro= ot > wheel 18 Sep 7 10:35 /usr/bin/lpr -> /usr/local/bin/lpr lrwxr-xr-x 1 > root wheel 19 Sep 7 10:35 /usr/bin/lprm -> /usr/local/bin/lprm lrwxr-xr= =2Dx > 1 root wheel 26 Sep 7 10:35 /usr/bin/lprsetup.sh -> > /usr/local/bin/lprsetup.sh lrwxr-xr-x 1 root wheel 21 Sep 7 10:35 > /usr/bin/lpstat -> /usr/local/bin/lpstat > > Jedit still says 'no print service found'. Eclipse shows the print menu > disabled. I started both after creating the symlinks. > > [betom@ayiin] [Thu Sep 7 10:36:05 2006] > /usr/home/betom > $ pkg_info | grep -i jdk > diablo-jdk-1.5.0.07.00 Java Development Kit 1.5.0_07.00 > linux-blackdown-jdk-1.4.2_3 Blackdown Java Development Kit 1.4 for Linux > > (need both, 1.4 for linux-firefox and diablo-jdk for everything else... > could this be the problem? maybe links in the /usr/compat/linux? ) diablo > is the first one listed in javavms. As I already mentioned, the Eclipse problem is not related. See this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D24796 It is a eclipse + GTK issue and not java. I do not know about Jwdit. =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 --nextPart12084284.iyi7AkTgQb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBE/4El4wTBlvcsbJURAhi0AKCPcuXp0oMimuIBmp+jLt27bagzTACdHeNU qglaFhzRWqz0AP6h4ojsYNo= =80r5 -----END PGP SIGNATURE----- --nextPart12084284.iyi7AkTgQb--