attempt is under Ubuntu 7.10 from a Java program to print out something, we get on most systems this exception: 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)
the cause of this is the rotation of the page in CUPS v1.3. Here, the mode "automatically" returned a null pointer, with the current Java version can start yet:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6633656
this one still can not print, you either
Since the rotation of "automatically" to a fixed value set
- CUPS to convert an older version
- There was not the first option on my printer, I realized the second. For this I first had the
- file / etc / apt / sources.list Feisty as the source:
Then in the file / etc / apt / preferences
- make the following entry - which I had to re-create:
Package: cupsys
Pin: version 1.2.8 * Pin-Priority
: 1001
Then you can downgrade with
sudo apt-get update sudo apt-
get upgrade
the version of CUPS on the elderly and printing works again.
0 comments:
Post a Comment