Example usage for javax.print.attribute.standard Destination Destination

List of usage examples for javax.print.attribute.standard Destination Destination

Introduction

In this page you can find the example usage for javax.print.attribute.standard Destination Destination.

Prototype

public Destination(URI uri) 

Source Link

Document

Constructs a new destination attribute with the specified URI .

Usage

From source file:Main.java

public static void main(String[] argv) throws Exception {

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

}