Java and printing: No print service found.

Jonathan Fosburgh syjef at mdanderson.org
Wed Apr 7 06:32:03 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 07 April 2004 07:18, Dominik Epple wrote:

> A self-written, existing Java application is now to be run on this
> machine. This application uses the Java print api and printing works,
> for example, when running this application under linux. However,
> on the FreeBSD box, trying to print gives just a Message Box with
> the text "No print service found.".
>

I have come across the same issue, also using cups.  I played around by 
placing symlinks to commands such as lpr and lpc in /usr/bin, pointing to 
their cups implementation. After some looking, I believe I determined that 
java is looking for some specific information from lpc and I wrote a shell 
script for lpc that produced what java was looking for and I was able to get 
a printer list.  But printing still didnt work.  

- -- 
Jonathan Fosburgh
AIX and Storage Administrator
UT MD Anderson Cancer Center
Houston, TX 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAdAKPqUvQmqp7omYRAuUWAJ9sP8aOfpv8hjHWwbB2ZSS5Mxv54wCfSeNY
bgQZU3Ah4yICoxI0HbwUJVg=
=FuBU
-----END PGP SIGNATURE-----


More information about the freebsd-ports mailing list