Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SWT printing works on Windows but not on a Linux machine

 
Girish Vankayala
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is my code for displaying the printer dialog and the printing



This works fine on windows but not on a Linux machine.
The Printer Selection dialog is displayed and after the user selects a printer, it does not print.
There is no printer job created either.

Don't know if I am doing something wrong or if it is a problem with the SWT Linux jar.
The Linux system uses a different SWT jar, a 64 bit gtk jar.

System configuration:
OS Name: Linux
OS Version: 2.6.24-26-generic
Architecture: amd64

Thanks a lot in advance for your help.
 
Darryl Burke
Bartender
Posts: 5126
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cross posted two days later on the Sun, oops, Oracle ;) forums
http://forums.sun.com/thread.jspa?threadID=5426003
 
Rob Spoor
Sheriff
Pie
Posts: 20527
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
BeForthrightWhenCrossPostingToOtherSites
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic