jedit message - "No print service found."

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
SuffolkPunch
Level 3
Level 3
Posts: 101
Joined: Tue May 31, 2011 11:07 am
Location: UK

jedit message - "No print service found."

Post by SuffolkPunch »

i'm using CUPs v2.1.3 to access 2 printers shared by another linux mint pc.

The problem: jedit v 5.3.0 pops-up an error message "No print service found." when I try 'File > Print' or 'File > Page setup' on any text file I'm editing.

Other text editors (e.g. Geany 1.27 and xed 1.6.3) see the shared printers and print ok.

Googling I found a 12-year old Bugzilla issue
https://bugzilla.novell.com/show_bug.cgi?id=213362
which suggests the root cause lies with some Java versions not working with some CUPs versions.
To quote from that bug report:
I've actually had some discussions with Sun the other day; the issue
is that the default server address in CUPS 1.2 is a domain socket,
which Java does not support. They will be implementing a fix for
that (fallback to localhost IP socket), but in the meantime you can
create/update an /etc/cups/client.conf file containing:

ServerName localhost

to force your Java applications to use IP instead of domain sockets.
I tried this work-around, but no dice - the problem persists. I'm using Oracle Java v1.8.0-181, specifically:
java -version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-1ubuntu0.16.04.1-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
This is a niggling problem! Has anyone seen it and found a fix (other than printing using a non-java text editor)?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
SuffolkPunch
Level 3
Level 3
Posts: 101
Joined: Tue May 31, 2011 11:07 am
Location: UK

Re: jedit message - "No print service found."

Post by SuffolkPunch »

An update: A similar problem affects LM 19 Tara.

Details: I installed linuxmint-19-cinnamon-64bit-v2.iso onto a usb stick and booted into LM 19 Tara.
Java OpenJDK 11 and CUPS 2.2.7 were installed and running.
I installed jEdit 5.5.0 from the repo, created a short text file - and voilà! - no printers found. Plus ça change...
Locked

Return to “Software & Applications”