Always rasterize content to be printed using a software rasterizer
Toujours rastériser le contenu à imprimer à l’aide d’un module de rastérisation de logiciel
Explanation
Determines whether the XPS Rasterization Service or the XPS-to-GDI conversion (XGC) is forced to use a software rasterizer instead of a Graphics Processing Unit (GPU) to rasterize pages.
This setting may improve the performance of the XPS Rasterization Service or the XPS-to-GDI conversion (XGC) on machines that have a relatively powerful CPU as compared to the machine’s GPU.
Détermine si le service de rastérisation XPS ou la conversion XPS vers GDI (XGC) doit utiliser un module de rastérisation de logiciel plutôt qu’une unité centrale graphique pour rastériser des pages.
Ce paramètre peut améliorer les performances du service de rastérisation XPS ou de la conversion XPS vers GDI (XGC) sur les ordinateurs dotés d’une UC assez puissante par rapport à l’unité centrale graphique de l’ordinateur.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers- Value name
ForceSoftwareRasterization
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: Printing/ForceSoftwareRasterization
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ForceSoftwareRasterization' -Value 1 -Type DWordDisable
# Disable: Printing/ForceSoftwareRasterization
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ForceSoftwareRasterization' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Printing/ForceSoftwareRasterization
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers'
Remove-ItemProperty -Path $k -Name 'ForceSoftwareRasterization' -ErrorAction SilentlyContinue