System Printer Driver Run-time Diagnostic Logging
Driver debug logging should only be used to capture the state of the driver when a failure is expected.
The log file will grow even when the printer is idle, and there is no limit to the size. This will also have
a slight impact on system performance.
You must have administrator privileges to perform the following commands. (On Vista, you will need
to right-click on the Command Prompt icon, and select "Run as administrator" when opening the
prompt to restart the spooler. You will also need to run the .reg files as administrator, which means you
either should run regedit as admin and import the .reg file, or run the .reg files from an elevated
command prompt.)
Values -
Turn driver debugging on
Run SLPDriverDebugOn.reg - either double click, or on Vista, type the name of the file (with path if
necessary) in an elevated command prompt.
Agree to the prompts about changing the registry.
Open a command prompt (or use the current elevated prompt if Vista).
Execute the following 2 lines in the command prompt:
net stop spooler
net start spooler
The debug file will be written to C:\slp.log.
Turn driver debugging off
Run SLPDriverDebugOff.reg - either double click, or on Vista, type the name of the file (with path if
necessary) in an elevated command prompt.
Agree to the prompts about changing the registry.
Open a command prompt (or use the current elevated prompt if Vista).
Execute the following 2 lines in the command prompt:
net stop spooler
net start spooler