[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2008-01-20 Thread Brad Langhorst
** Tags added: hardy

** Summary changed:

- Printing from Java does not work at all in Gutsy
+ Printing from Java does not work at all with cups > 1.2

-- 
Printing from Java does not work at all with cups > 1.2
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2008-01-09 Thread Xijiang
confirm Trinh's method.

Thanks!

-- 
Printing from Java does not work at all in Gutsy
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2008-01-09 Thread jhasz
Trinh,

Thanks for that very simple work around.  And timely, too.  You posted
that about 40 minutes before I found it.

Simple.  Is it the best solution? or a fix? not really.  Java should be
able to handle the "Automatic" Orientation somehow.  But personally I
think it's an easy, and good solution.

-- 
Printing from Java does not work at all in Gutsy
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2008-01-09 Thread Trinh Phuoc Thai
The problem is Java & Cups is not understand together. You can have it
work by specifying the Orientation in every printers in Cups

System -> Printing

For each printer select Job Options tab and specify Orientation to
whatever else instead of "Automatic Rotation".

-- 
Printing from Java does not work at all in Gutsy
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2008-01-09 Thread Andrew J. Lazarus
Steve's downgrade also works in Fedora 8, except AFAIK the downgrade
must be accomplished by hand with rpm. I'm also not aware of how to keep
F8 from trying to "upgrade" cups, except clearing the checkbox whenever
it asks me to do so.

I'm leaving this comment for the googlers trying, like me, to solve this
problem. I'm amazed it seems like such a low priority for Sun.

-- 
Printing from Java does not work at all in Gutsy
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2007-11-27 Thread Till Kamppeter
This is a known upstream problem of Java, see also

http://www.cups.org/str.php?L2610
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6633656

-- 
Printing from Java does not work at all in Gutsy
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2007-11-27 Thread Gary Mansell
Any ideas when this is likely to be fixed?

-- 
Printing from Java does not work at all in Gutsy
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2007-11-11 Thread Yan Li
Wrong package, should be for Ubuntu.

** Changed in: sun-java5 (Baltix)
   Status: New => Invalid

-- 
Printing from Java does not work at all in Gutsy
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2007-11-11 Thread Yan Li
To moderator: sorry that I added "sun-java5 (Baltix)" for mistake,
please remove it. Thanks!

-- 
Printing from Java does not work at all in Gutsy
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2007-11-11 Thread Yan Li
I observed same problem on my Gutsy 7.10 installation. The printing of
Java applications doesn't work. It's a rather annoying problem.

System: x86 on a IBM ThinkPad T43p.

How to reproduce: Open any Java program (I tried Freemind and some
others) and try to print.

Expect: Printing dialog appear on GUI

Actual: Nothing happens on GUI (no error message), however, I found following 
exception text appeared on console:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: null 
attribute
at 
sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1147)
at 
sun.print.ServiceDialog$OrientationPanel.updateInfo(ServiceDialog.java:2121)
at 
sun.print.ServiceDialog$PageSetupPanel.updateInfo(ServiceDialog.java:1263)
at sun.print.ServiceDialog.updatePanels(ServiceDialog.java:437)
at sun.print.ServiceDialog.initPrintDialog(ServiceDialog.java:195)
at sun.print.ServiceDialog.(ServiceDialog.java:124)
at javax.print.ServiceUI.printDialog(ServiceUI.java:188)
at sun.print.RasterPrinterJob.printDialog(RasterPrinterJob.java:855)
at sun.print.PSPrinterJob.printDialog(PSPrinterJob.java:421)
at 
freemind.controller.Controller$PrintAction.actionPerformed(Controller.java:870)
at 
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at 
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at 
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at 
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at 
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1216)
at 
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1257)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at 
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Packages installed:
ii sun-java6-bin 6-03-0ubuntu2 Sun Java(TM) Runtime Environment (JRE) 6 (arch
ii sun-java6-doc 6-03-0ubuntu2 Sun JDK(TM) Documention -- integration install
ii sun-java6-jre 6-03-0ubuntu2 Sun Java(TM) Runtime Environment (JRE) 6 (arch
ii sun-java6-plugin 6-03-0ubuntu2 The Java(TM) Plug-in, Java SE 6
ii bluez-cups 3.19-0ubuntu3 Bluetooth printer driver for CUPS
ii cups-pdf 2.4.6-3ubuntu10 PDF printer for CUPS
ii cupsys 1.3.2-1ubuntu7.1 Common UNIX Printing System(tm) - server
ii cupsys-bsd 1.3.2-1ubuntu7.1 Common UNIX Printing System(tm) - BSD commands
ii cupsys-client 1.3.2-1ubuntu7.1 Common UNIX Printing System(tm) - client progr
ii cupsys-common 1.3.2-1ubuntu7.1 Common UNIX Printing System(tm) - common files
ii cupsys-driver-gutenprint 5.0.1-0ubuntu8 printer drivers for CUPS
ii hal-cups-utils 0.6.13+svn83-0ubuntu1 CUPS integration with HAL
ii libcupsimage2 1.3.2-1ubuntu7.1 Common UNIX Printing System(tm) - image libs
ii libcupsys2 1.3.2-1ubuntu7.1 Common UNIX Printing System(tm) - libs
ii libgnomecups1.0-1 0.2.2-5ubuntu1 GNOME library for CUPS interaction
ii python-cups 1.9.27-0ubuntu1 Python bindings for CUPS

$ lpstat -t
scheduler is running
system default destination: PDF_file_generator
device for cncdlld3: lpd://9.186.117.9/PASS
device for cncdlld4: lpd://9.186.117.10/PASS
device for PDF_file_generator: cups-pdf:/
cncdlld3 accepting requests since Sat 10 Nov 2007 04:06:06 PM CST
cncdlld4 accepting requests since Tue 30 Oct 2007 03:04:47 PM CST
PDF_file_generator accepting requests since Sat 10 Nov 2007 04:08:19 PM CST
printer cncdlld3 is idle. enabled since Sat 1

[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2007-11-10 Thread Ted Carnahan
Confirm: steve's workaround works for me in Gutsy.  Thanks.

-- 
Printing from Java does not work at all in Gutsy
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2007-11-06 Thread steve.
Miguel Costa has posted a workaround in 
https://bugs.launchpad.net/ubuntu/+source/cupsys/+bug/156776
"With cupsys 1.2.8-0ubuntu8 i can print without problems"

In Synaptic I added the Feisty main repository, reloaded, searched for
cupsys selected it then selected Package > Force Version and downgraded
to the 1.2.8 version. Then Selected Package > Lock version to stop it
upgrading and breaking again.

Now printing from Java works again in Gutsy :)

-- 
Printing from Java does not work at all in Gutsy
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2007-11-05 Thread larsk
I have the exact same problem in gutsy.

-- 
Printing from Java does not work at all in Gutsy
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2007-11-03 Thread MrTux
See also: https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/86970

This is a major problem! Lots of ppl have it and the workaround which
worked on feisty, doesn't work any more on gutsy.

-- 
Printing from Java does not work at all in Gutsy
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2007-11-01 Thread Arnaud Blouin
Like Alex, I still have the problem with the same generated exception.

-- 
Printing from Java does not work at all in Gutsy
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2007-11-01 Thread Alex Grönholm
That setting didn't fix the problem. Here's what happens when a Java
application tries to open a print dialog:

...
Caused by: java.lang.NullPointerException: null attribute
at 
sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1147)
at 
sun.print.ServiceDialog$OrientationPanel.updateInfo(ServiceDialog.java:2121)
at 
sun.print.ServiceDialog$PageSetupPanel.updateInfo(ServiceDialog.java:1263)
at sun.print.ServiceDialog.updatePanels(ServiceDialog.java:437)
at sun.print.ServiceDialog.initPrintDialog(ServiceDialog.java:195)
at sun.print.ServiceDialog.(ServiceDialog.java:124)
at javax.print.ServiceUI.printDialog(ServiceUI.java:188)
at sun.print.RasterPrinterJob.printDialog(RasterPrinterJob.java:855)
at sun.print.PSPrinterJob.printDialog(PSPrinterJob.java:421)
...

-- 
Printing from Java does not work at all in Gutsy
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2007-11-01 Thread adam.hawthorne
It appears this has to do with CUPS_DEFAULT_DOMAINSOCKET #define being
enabled in cups.  As a workaround, you might try adding the environment
variable CUPS_SERVER=localhost before running your Java application.

-- 
Printing from Java does not work at all in Gutsy
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2007-10-28 Thread Arnaud Blouin
** Changed in: sun-java6 (Ubuntu)
   Status: New => Confirmed

-- 
Printing from Java does not work at all in Gutsy
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2007-10-28 Thread Miguel Costa
Yes, i can confirm that too

-- 
Printing from Java does not work at all in Gutsy
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2007-10-28 Thread Arnaud Blouin
I confirm with jdk1.5.0_13-b05, 1.6.0_02-b05 and 1.7.0-ea-b15.
It worked on Feisty but no more on Gusty.

See also: https://bugs.launchpad.net/ubuntu/+source/cupsys/+bug/156776


** Tags added: cups java print

** Tags added: gusty

-- 
Printing from Java does not work at all in Gutsy
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2007-10-24 Thread Christian Lins
Printing itself seems working if you print "blind" without showing any
printing dialog.

-- 
Printing from Java does not work at all in Gutsy
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 156191] Re: Printing from Java does not work at all in Gutsy

2007-10-23 Thread wax
I tested java 5 and 6 and in both cases printing won't work (both in gutsy).
i tried installing icedtea but the webapplet does not even want to start in 
there.

-- 
Printing from Java does not work at all in Gutsy
https://bugs.launchpad.net/bugs/156191
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs