Printing with java under FreeBSD
Norberto Meijome
freebsd at meijome.net
Thu Sep 7 00:45:06 UTC 2006
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.
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.
More information about the freebsd-java
mailing list