Clearing Spool File

  • Thread starter Thread starter Vitalijus J. Karalius
  • Start date Start date
V

Vitalijus J. Karalius

We have a situation where a Win2k pro machine with a networked printer
(HP4000) is re-printing documents on reboot.

Although all the documents have already been printed, if this particular
machine is rebooted, somehow the spool file is recreated and it tries to
re-print all of them once again. We have to clear the documents manually.

TIA for any suggetions to correct this behavior.
 
Thank you, will give that a try.

I believe I have the most recent drivers...


Alan Morris(MSFT) said:
Disable Bidirectional on the Port tab of Printer Properties. You also can
check if HP has an updated driver for this device that fixed this issue.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

Vitalijus J. Karalius said:
We have a situation where a Win2k pro machine with a networked printer
(HP4000) is re-printing documents on reboot.

Although all the documents have already been printed, if this particular
machine is rebooted, somehow the spool file is recreated and it tries to
re-print all of them once again. We have to clear the documents manually.

TIA for any suggetions to correct this behavior.
 
Alan -

Disabling Bidirectional did not eliminate the problem. The HP drivers are
current. Maybe you could suggest how the documents are being "recovered" to
the spool file on reboot? All of the documents were printed normally prior
to the reboot. Is there a registry setting that would force the spool file
to empty?

TIA


Vitalijus J. Karalius said:
Thank you, will give that a try.

I believe I have the most recent drivers...


Alan Morris(MSFT) said:
Disable Bidirectional on the Port tab of Printer Properties. You also can
check if HP has an updated driver for this device that fixed this issue.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

Vitalijus J. Karalius said:
We have a situation where a Win2k pro machine with a networked printer
(HP4000) is re-printing documents on reboot.

Although all the documents have already been printed, if this particular
machine is rebooted, somehow the spool file is recreated and it tries to
re-print all of them once again. We have to clear the documents manually.

TIA for any suggetions to correct this behavior.
 
there is nothing in the registry
The spool files are located in \windows\system32\spool\printers by default.
I normally change this directory in my testing (Printers Folder / File
/Server Properties / Advanced). I do not think the files are being
recovered. Have you confirmed that the jobs are not listed in the printer
queue as "Sent to printer"?

Make sure that Keep printed jobs is not enabled for this queue (Properties /
Advanced).

The Win2k machine is sharing out the printer or has a connection to a shared
printer? If the machine has an RPC connection, the jobs are never stored on
the client machine.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

Vitalijus J. Karalius said:
Alan -

Disabling Bidirectional did not eliminate the problem. The HP drivers are
current. Maybe you could suggest how the documents are being "recovered" to
the spool file on reboot? All of the documents were printed normally prior
to the reboot. Is there a registry setting that would force the spool file
to empty?

TIA


Vitalijus J. Karalius said:
Thank you, will give that a try.

I believe I have the most recent drivers...


Alan Morris(MSFT) said:
Disable Bidirectional on the Port tab of Printer Properties. You also can
check if HP has an updated driver for this device that fixed this issue.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

We have a situation where a Win2k pro machine with a networked printer
(HP4000) is re-printing documents on reboot.

Although all the documents have already been printed, if this particular
machine is rebooted, somehow the spool file is recreated and it
tries
 
Alan Morris(MSFT) said:
there is nothing in the registry
OK

The spool files are located in \windows\system32\spool\printers by
default.

and that's where they are on this machine which has the shared printer
attached.
I normally change this directory in my testing (Printers Folder / File
/Server Properties / Advanced).

I understand that doing this can speed up printing a bit - not being in the
root directory - but I cannot see why this would have an effect on print
jobs being reprinted on reboot.

I do not think the files are being
recovered.

Start/settings/printers show now documents for the HP printer. Logged off
the user, and without rebooting, logged on as administrator. There are a
number of spool files visible in the /printers folders. Under printers - it
shows documents -0- for the HP printer. Everything is hunky-dory until you
reboot the machine with the attached printer - then start/settings/printer
shows 10 documents. It then attempts to reprint everything The user needs
to go to file/cancel all doucuments to clear the docs + clear the first one
which arrives at the printer on reboot.

the user cannot open the system32.../printer folder - so I presume the
system is controlling the spool files. One presumes they are marked as
having been printed once the jobs are done - hence 0 under documents for
that printer (or any other....)

However, when the machine is rebooted, these files "resurrect" (lose their
"already printed" status?) and start printing again - they have to be
manually cleared by an administrator, since the user does not have
privelages for that folder, or can be cleared by the user going to
start/setting/printers and cancelling all the print jobs for the printer.

Have you confirmed that the jobs are not listed in the printer
queue as "Sent to printer"?

how would I do that? The printer shows as ready to print, if something had
been sent, it would print (and does).
Make sure that Keep printed jobs is not enabled for this queue (Properties /
Advanced).

This was the first thing we tried. It was not enabled from the get-go. We
did enable + apply, then uncheck enable and applied. No change in behavior.
The Win2k machine is sharing out the printer or has a connection to a shared
printer? If the machine has an RPC connection, the jobs are never stored on
the client machine.

the Win2k machine is sharing its printer with the network. Rebooting other
machines on the network does not cause the printer to reprint documents.


Thanks for taking the time to help with this issue. I get the feeling that
this may be an issue with permissions and the HP drivers trying to clear the
spool file as the user. Have not tried to recreate the issue as
administrator.
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

Vitalijus J. Karalius said:
Alan -

Disabling Bidirectional did not eliminate the problem. The HP drivers are
current. Maybe you could suggest how the documents are being "recovered" to
the spool file on reboot? All of the documents were printed normally prior
to the reboot. Is there a registry setting that would force the spool file
to empty?

TIA


Vitalijus J. Karalius said:
Thank you, will give that a try.

I believe I have the most recent drivers...


Disable Bidirectional on the Port tab of Printer Properties. You
also
can
check if HP has an updated driver for this device that fixed this issue.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no
rights.

We have a situation where a Win2k pro machine with a networked printer
(HP4000) is re-printing documents on reboot.

Although all the documents have already been printed, if this particular
machine is rebooted, somehow the spool file is recreated and it
tries
to
re-print all of them once again. We have to clear the documents
manually.

TIA for any suggetions to correct this behavior.
 
I see what is happening. The spool files are printing but somewhere when
the spooler attempts to physically delete the files this is failing. The
files are marked as Printed and are removed from the queue view but since
they never are successfully removed from the disk when the spooler is
restarted it will read the files that are located on the disk and schedule
them to print.

There are two solutions
1) change the spool directory to another disk (use default security)

2) check the permissions on \windows\system32\spool\printers. If a system
admin ACLS the system32 directory and locks it down hard including
subdirectories, also includes the ..\spool\printers and the spooler while
still functioning does not return sufficient data to the admin to clue them
in exactly why some things fail. If you revert to the default setting this
should work.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

Vitalijus J. Karalius said:
Alan Morris(MSFT) said:
there is nothing in the registry
OK

The spool files are located in \windows\system32\spool\printers by
default.

and that's where they are on this machine which has the shared printer
attached.
I normally change this directory in my testing (Printers Folder / File
/Server Properties / Advanced).

I understand that doing this can speed up printing a bit - not being in the
root directory - but I cannot see why this would have an effect on print
jobs being reprinted on reboot.

I do not think the files are being
recovered.

Start/settings/printers show now documents for the HP printer. Logged off
the user, and without rebooting, logged on as administrator. There are a
number of spool files visible in the /printers folders. Under printers - it
shows documents -0- for the HP printer. Everything is hunky-dory until you
reboot the machine with the attached printer - then start/settings/printer
shows 10 documents. It then attempts to reprint everything The user needs
to go to file/cancel all doucuments to clear the docs + clear the first one
which arrives at the printer on reboot.

the user cannot open the system32.../printer folder - so I presume the
system is controlling the spool files. One presumes they are marked as
having been printed once the jobs are done - hence 0 under documents for
that printer (or any other....)

However, when the machine is rebooted, these files "resurrect" (lose their
"already printed" status?) and start printing again - they have to be
manually cleared by an administrator, since the user does not have
privelages for that folder, or can be cleared by the user going to
start/setting/printers and cancelling all the print jobs for the printer.

Have you confirmed that the jobs are not listed in the printer
queue as "Sent to printer"?

how would I do that? The printer shows as ready to print, if something had
been sent, it would print (and does).
Make sure that Keep printed jobs is not enabled for this queue
(Properties
/
Advanced).

This was the first thing we tried. It was not enabled from the get-go. We
did enable + apply, then uncheck enable and applied. No change in behavior.
The Win2k machine is sharing out the printer or has a connection to a shared
printer? If the machine has an RPC connection, the jobs are never
stored
on
the client machine.

the Win2k machine is sharing its printer with the network. Rebooting other
machines on the network does not cause the printer to reprint documents.


Thanks for taking the time to help with this issue. I get the feeling that
this may be an issue with permissions and the HP drivers trying to clear the
spool file as the user. Have not tried to recreate the issue as
administrator.
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

Vitalijus J. Karalius said:
Alan -

Disabling Bidirectional did not eliminate the problem. The HP drivers are
current. Maybe you could suggest how the documents are being
"recovered"
to
the spool file on reboot? All of the documents were printed normally prior
to the reboot. Is there a registry setting that would force the spool file
to empty?

TIA


Thank you, will give that a try.

I believe I have the most recent drivers...


Disable Bidirectional on the Port tab of Printer Properties. You also
can
check if HP has an updated driver for this device that fixed this issue.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no
rights.

We have a situation where a Win2k pro machine with a networked printer
(HP4000) is re-printing documents on reboot.

Although all the documents have already been printed, if this
particular
machine is rebooted, somehow the spool file is recreated and it tries
to
re-print all of them once again. We have to clear the documents
manually.

TIA for any suggetions to correct this behavior.
 
We had the same problem when PGP 8.0 was installed on the
clients. Disabling the taskicon solved the problem.

/nik
-----Original Message-----
I see what is happening. The spool files are printing but somewhere when
the spooler attempts to physically delete the files this is failing. The
files are marked as Printed and are removed from the queue view but since
they never are successfully removed from the disk when the spooler is
restarted it will read the files that are located on the disk and schedule
them to print.

There are two solutions
1) change the spool directory to another disk (use default security)

2) check the permissions on \windows\system32 \spool\printers. If a system
admin ACLS the system32 directory and locks it down hard including
subdirectories, also includes the ..\spool\printers and the spooler while
still functioning does not return sufficient data to the admin to clue them
in exactly why some things fail. If you revert to the default setting this
should work.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh; [ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

Vitalijus J. Karalius said:
\spool\printers by
default.

and that's where they are on this machine which has the shared printer
attached.


I understand that doing this can speed up printing a
bit - not being in
the
root directory - but I cannot see why this would have an effect on print
jobs being reprinted on reboot.

I do not think the files are being

Start/settings/printers show now documents for the HP printer. Logged off
the user, and without rebooting, logged on as administrator. There are a
number of spool files visible in the /printers folders.
Under printers -
it
shows documents -0- for the HP printer. Everything is hunky-dory until you
reboot the machine with the attached printer - then start/settings/printer
shows 10 documents. It then attempts to reprint everything The user needs
to go to file/cancel all doucuments to clear the docs +
clear the first
one
which arrives at the printer on reboot.

the user cannot open the system32.../printer folder - so I presume the
system is controlling the spool files. One presumes they are marked as
having been printed once the jobs are done - hence 0 under documents for
that printer (or any other....)

However, when the machine is rebooted, these files "resurrect" (lose their
"already printed" status?) and start printing again - they have to be
manually cleared by an administrator, since the user does not have
privelages for that folder, or can be cleared by the user going to
start/setting/printers and cancelling all the print jobs for the printer.

Have you confirmed that the jobs are not listed in the printer

how would I do that? The printer shows as ready to print, if something had
been sent, it would print (and does).
this queue
(Properties
/

This was the first thing we tried. It was not enabled from the get-go. We
did enable + apply, then uncheck enable and applied. No
change in
behavior.
connection to a
shared
jobs are never
stored
on

the Win2k machine is sharing its printer with the network. Rebooting other
machines on the network does not cause the printer to reprint documents.


Thanks for taking the time to help with this issue. I get the feeling that
this may be an issue with permissions and the HP
drivers trying to clear
the
spool file as the user. Have not tried to recreate the issue as
administrator.
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh; [ln];kbhowto

This posting is provided "AS IS" with no warranties,
and confers no
rights.
Alan -

Disabling Bidirectional did not eliminate the
problem. The HP drivers
are
current. Maybe you could suggest how the documents
are being
"recovered"
to
the spool file on reboot? All of the documents were
printed normally
prior
to the reboot. Is there a registry setting that
would force the spool
file
to empty?

TIA


Thank you, will give that a try.

I believe I have the most recent drivers...


Disable Bidirectional on the Port tab of
Printer Properties. You
also
can
check if HP has an updated driver for this device that fixed this
issue.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx? scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no
warranties, and confers
no

.
 
Do you know why?

Nik said:
We had the same problem when PGP 8.0 was installed on the
clients. Disabling the taskicon solved the problem.

/nik
-----Original Message-----
I see what is happening. The spool files are printing but somewhere when
the spooler attempts to physically delete the files this is failing. The
files are marked as Printed and are removed from the queue view but since
they never are successfully removed from the disk when the spooler is
restarted it will read the files that are located on the disk and schedule
them to print.

There are two solutions
1) change the spool directory to another disk (use default security)

2) check the permissions on \windows\system32 \spool\printers. If a system
admin ACLS the system32 directory and locks it down hard including
subdirectories, also includes the ..\spool\printers and the spooler while
still functioning does not return sufficient data to the admin to clue them
in exactly why some things fail. If you revert to the default setting this
should work.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh; [ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

Vitalijus J. Karalius said:
there is nothing in the registry

OK

The spool files are located in \windows\system32 \spool\printers by
default.

and that's where they are on this machine which has the shared printer
attached.

I normally change this directory in my testing (Printers Folder / File
/Server Properties / Advanced).

I understand that doing this can speed up printing a
bit - not being in
the
root directory - but I cannot see why this would have an effect on print
jobs being reprinted on reboot.

I do not think the files are being
recovered.

Start/settings/printers show now documents for the HP printer. Logged off
the user, and without rebooting, logged on as administrator. There are a
number of spool files visible in the /printers folders.
Under printers -
it
shows documents -0- for the HP printer. Everything is hunky-dory until you
reboot the machine with the attached printer - then start/settings/printer
shows 10 documents. It then attempts to reprint everything The user needs
to go to file/cancel all doucuments to clear the docs +
clear the first
one
which arrives at the printer on reboot.

the user cannot open the system32.../printer folder - so I presume the
system is controlling the spool files. One presumes they are marked as
having been printed once the jobs are done - hence 0 under documents for
that printer (or any other....)

However, when the machine is rebooted, these files "resurrect" (lose their
"already printed" status?) and start printing again - they have to be
manually cleared by an administrator, since the user does not have
privelages for that folder, or can be cleared by the user going to
start/setting/printers and cancelling all the print jobs for the printer.

Have you confirmed that the jobs are not listed in the printer
queue as "Sent to printer"?


how would I do that? The printer shows as ready to print, if something had
been sent, it would print (and does).

Make sure that Keep printed jobs is not enabled for
this queue
(Properties
/
Advanced).


This was the first thing we tried. It was not enabled from the get-go. We
did enable + apply, then uncheck enable and applied. No
change in
behavior.
The Win2k machine is sharing out the printer or has a connection to a
shared
printer? If the machine has an RPC connection, the
jobs are never
stored
on
the client machine.


the Win2k machine is sharing its printer with the network. Rebooting other
machines on the network does not cause the printer to reprint documents.


Thanks for taking the time to help with this issue. I get the feeling that
this may be an issue with permissions and the HP
drivers trying to clear
the
spool file as the user. Have not tried to recreate the issue as
administrator.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh; [ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no
rights.

Alan -

Disabling Bidirectional did not eliminate the problem. The HP drivers
are
current. Maybe you could suggest how the documents
are being
"recovered"
to
the spool file on reboot? All of the documents were printed normally
prior
to the reboot. Is there a registry setting that would force the spool
file
to empty?

TIA


Thank you, will give that a try.

I believe I have the most recent drivers...


Disable Bidirectional on the Port tab of Printer Properties. You
also
can
check if HP has an updated driver for this device that fixed this
issue.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx? scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no
warranties, and confers
no
rights.

We have a situation where a Win2k pro machine with a networked
printer
(HP4000) is re-printing documents on reboot.

Although all the documents have already been printed, if this
particular
machine is rebooted, somehow the spool file is recreated and it
tries
to
re-print all of them once again. We have to clear the documents
manually.

TIA for any suggetions to correct this behavior.


.
 
Back
Top