File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes SWT printing works on Windows but not on a Linux machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "SWT printing works on Windows but not on a Linux machine" Watch "SWT printing works on Windows but not on a Linux machine" New topic
Author

SWT printing works on Windows but not on a Linux machine

Girish Vankayala
Greenhorn

Joined: Dec 16, 2009
Posts: 3
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

Joined: May 03, 2008
Posts: 4544
    
    5

Cross posted two days later on the Sun, oops, Oracle ;) forums
http://forums.sun.com/thread.jspa?threadID=5426003


luck, db
There are no new questions, but there may be new answers.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19696
    
  20

BeForthrightWhenCrossPostingToOtherSites


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SWT printing works on Windows but not on a Linux machine