Page 1 of 1

Can't print in Linux

Posted: Thu Jul 06, 2006 8:31 pm
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.

Posted: Fri Jul 07, 2006 9:44 am
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

Re: Can't print in Linux

Posted: Tue Feb 19, 2008 12:44 pm
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... :?

Re: Can't print in Linux

Posted: Tue Feb 19, 2008 1:17 pm
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

Re: Can't print in Linux

Posted: Tue Feb 19, 2008 1:26 pm
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.

Re: Can't print in Linux

Posted: Tue Feb 19, 2008 2:00 pm
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

Re: Can't print in Linux

Posted: Tue Feb 19, 2008 2:04 pm
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

Re: Can't print in Linux

Posted: Tue Apr 18, 2017 7:01 pm
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)