Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Queue to read in a print job with number of pages Java

$
0
0
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?



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();
		
	}

}


Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>