Dest

try {
    // Set up destination attribute
    PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
    aset.add(new ination(new java.net.URI("file:e:/temp/out.ps")));

    // Print it
    job.print(doc, aset);
} catch (PrintException e) {
} catch (java.net.URISyntaxException e) {
}

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.