Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SWT printing works on Windows but not on a Linux machine  RSS feed

 
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: 5167
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
Posts: 21048
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
BeForthrightWhenCrossPostingToOtherSites
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!