All:

The Windows Print Job Number is a number generated by the Windows Print Server when your document is printed.  See attached jpg from the 'Printing Notification'. I have boxed the job number in red.

Any thoughts?

Regards,
Roger Lacroix


At 08:04 AM 6/3/2003, you wrote:
Please excuse my ignorance but what is a print job number?
 

James Stauffer
-----Original Message-----
From: Roger Lacroix [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 02, 2003 6:09 PM
To: jdjlist
Subject: [jdjlist] Print Job Number from Java

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

<<attachment: windows_print_job_number.jpg>>

---
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