I have to create a Queue to read in a print job with number of pages, and then print the jobs in the queue.
I have no idea how to access anything dealing with print jobs.
How do i get access to print job information? I know there's a class, but how do i utilize it?
I have no idea how to access anything dealing with print jobs.
How do i get access to print job information? I know there's a class, but how do i utilize it?
import java.awt.print.PrinterJob; import java.util.LinkedList; import java.util.Properties; import java.util.Queue; public class printJobQueue { public static void main(String[] args) { Queue<PrinterJob> printJobs = new LinkedList<PrinterJob>(); PrinterJob pjob = null; printJobs= (Queue<PrinterJob>) pjob.getPrinterJob(); } }