Printing with java under FreeBSD

Nicolas Blais nb_root at videotron.ca
Thu Sep 7 02:17:12 UTC 2006


On Wednesday 06 September 2006 20:45, Norberto Meijome wrote:
> On Wed, 06 Sep 2006 17:59:53 -0400
>
> Nicolas Blais <nb_root at videotron.ca> 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 at 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 at 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 at 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=24796

It is a eclipse + GTK issue and not java.

I do not know about Jwdit.

-- 
FreeBSD 7.0-CURRENT #18: Sat Sep  2 14:06:41 EDT 2006     
root at clk01a:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://www.clkroot.net/security/nb_root.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20060907/8176e6bd/attachment.pgp


More information about the freebsd-java mailing list