Can't print in Linux

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
swtillman
Posts: 1

Can't print in Linux

Thu Jul 06, 2006 8:31 pm

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: 4144

Fri Jul 07, 2006 9:44 am

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

Re: Can't print in Linux

Tue Feb 19, 2008 12:44 pm

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: 4144

Re: Can't print in Linux

Tue Feb 19, 2008 1:17 pm

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

Re: Can't print in Linux

Tue Feb 19, 2008 1:26 pm

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: 4144

Re: Can't print in Linux

Tue Feb 19, 2008 2:00 pm

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: 4144

Re: Can't print in Linux

Tue Feb 19, 2008 2:04 pm

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

Re: Can't print in Linux

Tue Apr 18, 2017 7:01 pm

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)

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 5 guests