Windows XP Spool File Name

B

bob

Hi,

I've seen this question asked in a few places but not found an answer.

Does anybody know how I can determine the physical spool file name
attached to a specific job on the spool queue?

On Windows 2000 it's built from the JobId but that is not the case on
XP. I know I can get XP to revert to the old naming convention by
setting Keep Printed Documents to True but I don't really want to have
to impose that restriction on customers.

I've checked the API for JOB_INFO_x structures but they don't seem to
have a field containing the spool file name.

Many thanks for any help you can offer,
Bob.
 
G

Guest

Set the spooler option "Keep Printer jobs". This will change the spoolfile
name to Win2K style <JobId>.spl eg. 00002.SPL

-Kiran
 
G

Guest

The only other workaround is to change the default spool directory to
something other than the default value. This will result in the spool file
naming reverting to the W2K format.

- Ashwin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top