From owner-freebsd-java@FreeBSD.ORG Thu Sep 7 00:45:06 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 9D7C316A4DE for ; Thu, 7 Sep 2006 00:45:06 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C4E743D64 for ; Thu, 7 Sep 2006 00:45:05 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 12702 invoked from network); 6 Sep 2006 19:45:04 -0500 Received: from 124-168-26-30.dyn.iinet.net.au (HELO localhost) (124.168.26.30) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 6 Sep 2006 19:45:04 -0500 Date: Thu, 7 Sep 2006 10:45:00 +1000 From: Norberto Meijome To: Nicolas Blais Message-ID: <20060907104500.127a22c4@localhost> In-Reply-To: <200609061759.59432.nb_root@videotron.ca> References: <200609032031.42080.nb_root@videotron.ca> <200609061501.50496.lists@intricatesoftware.com> <200609061759.59432.nb_root@videotron.ca> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: kurt@intricatesoftware.com, freebsd-java@freebsd.org 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 00:45:06 -0000 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 exception. [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 wheel 18 Sep 7 10:35 /usr/bin/lpq -> /usr/local/bin/lpq lrwxr-xr-x 1 root 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-x 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. B _________________________ {Beto|Norberto|Numard} Meijome Do not take away the camels hump, you may be stopping him from being a camel. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.