From owner-freebsd-java@FreeBSD.ORG Wed Sep 6 19:02: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 13D4716A521 for ; Wed, 6 Sep 2006 19:02:06 +0000 (UTC) (envelope-from lists@intricatesoftware.com) Received: from mta9.srv.hcvlny.cv.net (mta9.srv.hcvlny.cv.net [167.206.4.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id C34F043D94 for ; Wed, 6 Sep 2006 19:01:54 +0000 (GMT) (envelope-from lists@intricatesoftware.com) Received: from [172.16.1.72] (ool-457a77e8.dyn.optonline.net [69.122.119.232]) by mta9.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J5600HQOQ63J0H6@mta9.srv.hcvlny.cv.net> for freebsd-java@freebsd.org; Wed, 06 Sep 2006 15:01:18 -0400 (EDT) Date: Wed, 06 Sep 2006 15:01:50 -0400 From: Kurt Miller In-reply-to: <200609032031.42080.nb_root@videotron.ca> To: freebsd-java@freebsd.org Message-id: <200609061501.50496.lists@intricatesoftware.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-6 Content-transfer-encoding: 7BIT Content-disposition: inline References: <200609032031.42080.nb_root@videotron.ca> User-Agent: KMail/1.9.4 Cc: Nicolas Blais Subject: Re: Printing with java under FreeBSD X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kurt@intricatesoftware.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 19:02:06 -0000 On Sunday 03 September 2006 8:31 pm, 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? > > Here's one small bit of code I've tried to get to work, but throws an > exception: 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