Hi Jason !

I just saw this conversation, and one solution is to use mspaint.exe to
make the printing in the background... :)

public class Print {
    String file = "C:\\WINNT\\SYSTEM32\\mspaint.EXE /p c:\\HTMLRGB.GIF";

    public Print() {
        try {
            Runtime.getRuntime().exec(file);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

    public static void main(String[] args) {
        new Print();
    }
}


Hope it helps !

Regards
Stefan

---
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
http://www.sys-con.com/fusetalk

Reply via email to