By default, Windows uses the folder %SystemRoot%\System32\spool\PRINTERS
to store spooled jobs. On our print server, PSRV
, this folder is C:\Windows\System32\spool\PRINTERS
. In some cases, particularly when your users generate large amounts of printed output, this folder and the volume could become full, which is not a good thing. To help you avoid issues, you can move the default spool
directory to a different folder (for example, C:\Spool
), or you could move the spool folder to a folder on another volume (for example, E:\Spool
).
There are two ways you can change the spool
directory. The first way is to use the classes inside the .NET Framework's System.Printing
namespace to update the folder name. The second, and probably the simplest, way is to update the registry with the folder to use for spooling. This recipe shows both methods.