Have you considered a public static variable that could be incremented by your print 
routine?  Your could also create a system variable called and incremented from your 
print routine.

What format does this print number need to be in?  Is it something your method must 
generate or is it a system variable?

More information would be helpful.

  Steve

Original message attached.
Hi,

I have searched google, JDK API docs, etc... and I cannot figure out how to get the 'Print Job Number' after I have printed a document.  Platform: Win2000, JDK v1.4.1
i.e.

DocPrintJob job = services[ptr].createPrintJob();
job.print(doc, pras);

Print() doesn't return anything.  I added addPrintJobListener but when it fires for printJobNoMoreEvents(), PrintJobEvent doesn't have the job number in it.

I need to log the print job number (its a requirement).  Does anyone have any hints or do you think it is not supported?

Thanks
Roger Lacroix


---
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
http://www.sys-con.com/fusetalk
---
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
http://www.sys-con.com/fusetalk

Reply via email to