Tom's Hardware > Forum > Windows XP > Device Driver > Windows XP Spool File Name

Windows XP Spool File Name

Forum Windows XP : Device Driver - Windows XP Spool File Name

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.development.device.drivers,microsoft.public.windowsxp.device_driver.dev (More info?)

 

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.

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.development.device.drivers,microsoft.public.windowsxp.device_driver.dev (More info?)

 

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

-Kiran

"bob" wrote:

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

Reply to Anonymous

Archived from groups: microsoft.public.development.device.drivers,microsoft.public.windowsxp.device_driver.dev (More info?)

 

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


"bob" wrote:

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

Reply to Anonymous
Tom's Hardware > Forum > Windows XP > Device Driver > Windows XP Spool File Name
Go to:

There are 695 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them