Lines Matching defs:PrinterJob

46  * The <code>PrinterJob</code> class is the principal class that controls
51 public abstract class PrinterJob {
56 * Creates and returns a <code>PrinterJob</code> which is initially
58 * If no printers are available on the system, a PrinterJob will still
61 * {@link #print() print} with this <code>PrinterJob</code> might
63 * there are suitable printers before creating a <code>PrinterJob</code>
66 * @return a new <code>PrinterJob</code>.
72 public static PrinterJob getPrinterJob() {
77 return (PrinterJob) java.security.AccessController.doPrivileged(
82 return (PrinterJob)Class.forName(nm).newInstance();
84 throw new AWTError("PrinterJob not found: " + nm);
86 throw new AWTError("Could not instantiate PrinterJob: " + nm);
88 throw new AWTError("Could not access PrinterJob: " + nm);
97 * <code>PrinterJob</code>s which support print services.
120 * PrinterJob pj = PrinterJob.getPrinterJob();
123 * PrinterJob.lookupStreamPrintServices(psMimeType);
128 * // psPrinter can now be set as the service on a PrinterJob
136 * <code>PrinterJob</code> instances which support print services.
157 * A <code>PrinterJob</code> object should be created using the
160 public PrinterJob() {
178 * Associate this PrinterJob with a new PrintService.
187 * 2D printing, or this PrinterJob class does not support
202 * <code>PrinterJob</code> are rendered by the {@link Printable}
213 * this <code>PrinterJob</code> are rendered by the
248 * PrinterJob implementations which can use PrintService's will update
249 * the PrintService for this PrinterJob to reflect the new service
265 * If the user changes the print service, the PrinterJob will be
282 * With the exception of selected printer, the PrinterJob state is
342 * set on this PrinterJob.
498 * <code>PrinterJob</code>. For example, the returned
507 * to conform with this <code>PrinterJob</code>.
525 * Note that some attributes may be set directly on the PrinterJob
541 * behaviour of a Printable to ensure optimal printing via PrinterJob.