In earlier versions of Windows, a printer spool name was in the form of
XXXXX.SPL.
Print Data being saved in directory \windows\system32\spool\printers.
XXXXX were 5 decimal digits, equal to the jobid found in structure
JOB_INFO_2.
In my last version of Window XP-sp2, file names are now in the form
FPXXXXX.SPL and the XXXXX value does not match any more with the "JobId".
Strangely enough, if for a specific printer "Advanced Properties", function
"Keep printed documents" is activated, the structure of printer spool name is
back to the older version (5 decimal digits = JobId).
Could somebody be so kind to tell me how to predict the Printer Spool File
Name, for a specific "JobId".
Many thanks.

Re: Printer Spool File Name by Christoph

Christoph
Thu May 18 03:42:14 CDT 2006

With the new naming conventions you can not predict the spoolfile name for a
particular printjob. You would have to read the job id from the
corresponding .shd file.

But, it is possible to force the windows spooler back into using the old
naming conventions.

http://undocprint.printassociates.com/winspool/spool_files#force_jobid_in_spoolfile_names

--
Christoph Lindemann
Undocumented Printing
http://undocprint.printassociates.com/


"Guy Dehon" <guy.dehon@skynet.be.pleasenospam> wrote in message
news:64CD8CDE-9DFD-4716-BDA9-BE705FACEB72@microsoft.com...
> In earlier versions of Windows, a printer spool name was in the form of
> XXXXX.SPL.
> Print Data being saved in directory \windows\system32\spool\printers.
> XXXXX were 5 decimal digits, equal to the jobid found in structure
> JOB_INFO_2.
> In my last version of Window XP-sp2, file names are now in the form
> FPXXXXX.SPL and the XXXXX value does not match any more with the "JobId".
> Strangely enough, if for a specific printer "Advanced Properties",
> function
> "Keep printed documents" is activated, the structure of printer spool name
> is
> back to the older version (5 decimal digits = JobId).
> Could somebody be so kind to tell me how to predict the Printer Spool File
> Name, for a specific "JobId".
> Many thanks.



Re: Printer Spool File Name by guy

guy
Thu May 18 04:40:02 CDT 2006

I believe this is exactly the solution I was looking for !
Many thanks for your help, and the speed of your answer.



"Christoph Lindemann" wrote:

> With the new naming conventions you can not predict the spoolfile name for a
> particular printjob. You would have to read the job id from the
> corresponding .shd file.
>
> But, it is possible to force the windows spooler back into using the old
> naming conventions.
>
> http://undocprint.printassociates.com/winspool/spool_files#force_jobid_in_spoolfile_names
>
> --
> Christoph Lindemann
> Undocumented Printing
> http://undocprint.printassociates.com/
>
>
> "Guy Dehon" <guy.dehon@skynet.be.pleasenospam> wrote in message
> news:64CD8CDE-9DFD-4716-BDA9-BE705FACEB72@microsoft.com...
> > In earlier versions of Windows, a printer spool name was in the form of
> > XXXXX.SPL.
> > Print Data being saved in directory \windows\system32\spool\printers.
> > XXXXX were 5 decimal digits, equal to the jobid found in structure
> > JOB_INFO_2.
> > In my last version of Window XP-sp2, file names are now in the form
> > FPXXXXX.SPL and the XXXXX value does not match any more with the "JobId".
> > Strangely enough, if for a specific printer "Advanced Properties",
> > function
> > "Keep printed documents" is activated, the structure of printer spool name
> > is
> > back to the older version (5 decimal digits = JobId).
> > Could somebody be so kind to tell me how to predict the Printer Spool File
> > Name, for a specific "JobId".
> > Many thanks.
>
>
>