-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Windows Server Automation with PowerShell Cookbook, Fifth Edition
By :

During the printing process, the Windows printer spooler in Windows uses an on-disk folder to hold the temporary files the printing process creates. If multiple users each print large documents to a single printer, the print queue, and the temporary folder can get quite large. By default, this folder is C:\Windows\System32\spool\PRINTERS
. You may wish to change the default spool folder on a separate physical storage device for a busy print server with multiple printers. Also, consider ensuring the volume is fail-safe (e.g., using hardware or software RAID).
Before running this recipe, you must set up the PSRV
printer server (you did this in the Installing and sharing printers recipe). Additionally, you need SalesPrinter1
created.
System.Printing
namespace and classesAdd-Type -AssemblyName System.Printing
$Permissions =
[System.Printing.PrintSystemDesiredAccess...