Can't print in Linux

Having trouble installing Oxygen? Got a bug to report? Post it all here.
swtillman
Posts: 1
Joined: Thu Jul 06, 2006 12:48 am

Can't print in Linux

Post by swtillman »

When I attempt to print, I receive a dialog box stating, "No print service found."

oXygen 7.2
Ubuntu Linux 5.10
Java 1.5.0_06


No problems printing from other Java apps.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

Start <oXygen/> with a Java 1.4.2 virtual machine by specifying the path to a JVM 1.4.2 in the oxygen.sh script if you start <oXygen/> with this script or in the java command at the end of the oxygen7.2 launcher if you start <oXygen/> with the shortcut created by the installer. See also this topic.

Regards,
Sorin
oneiros
Posts: 2
Joined: Tue Feb 19, 2008 12:18 pm

Re: Can't print in Linux

Post by oneiros »

I have the same problems with oxygen 9.2 on SUSE 10.3. And switching to Java 1.4 for oxygen seems to be different for 9.2... :?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Can't print in Linux

Post by sorin_ristache »

Hello,

The current version of oXygen is 9.1 and starting with this version only Java version 1.5 or later is supported as you can read in the Requirements section of the Download page and in the User Manual. Please try to install a different print service on your Linux computer as in this post. Can you print without problems from other Java applications running on the same SUSE computer with the same Java virtual machine? What is your current print service?


Regards,
Sorin
oneiros
Posts: 2
Joined: Tue Feb 19, 2008 12:18 pm

Re: Can't print in Linux

Post by oneiros »

The current print service is the default, i.e. CUPS. Java is 1.6.0_04 by Sun. And oxygen is 9.1, sorry. :-)

lpc status works, as lpc is in /usr/bin.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Can't print in Linux

Post by sorin_ristache »

It seems the Java virtual machine tries to use the CUPS system. Can you disable it for a minute, make sure lpr is enabled and working correctly and try again to print from oXygen?


Regards,
Sorin
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Can't print in Linux

Post by sorin_ristache »

Please try with a Java 1.5.0 virtual machine and lpr, that is CUPS is disabled. For setting a specific version of Java virtual machine for running oXygen see the first note of the Linux installation procedure.


Regards,
Sorin
ole2
Posts: 1
Joined: Tue Apr 18, 2017 6:57 pm

Re: Can't print in Linux

Post by ole2 »

it's appeared to be an issue with the network printers. any printer to be seen by JRE has to be in "shared" state. unfortunately network printers aren't. the only option so far is to install cups-pdf bridge and print from Java glovebox through PDF exported file (printed by "local" PDF sink appeared in the configuration after installing cups-pdf).

the command for installing necessary cups-pdf sink (in case of Ubuntu):

sudo apt-get install cups-pdf

next, System Settings->Printers->PDF->->Shared (enable checkbox)
Post Reply