wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 4523
    
    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: 19654
    
  18

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
 
Similar Threads
java swing crossFeedResolution < 1 problem
Printing text file direct to the specific Printer in Java
Printing using SWT Urgent
need to create a Navagation Button control using Annotation
Print dialog