Toujours rastériser le contenu à imprimer à l’aide d’un module de rastérisation de logiciel
Always rasterize content to be printed using a software rasterizer
Explication
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.
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.
Registre
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers- Nom de la valeur
ForceSoftwareRasterization
| État | Valeur écrite |
|---|---|
| Activé | REG_DWORD = 1 |
| Désactivé | REG_DWORD = 0 |
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : 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 DWordDésactiver
# Désactiver : 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 DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : Printing/ForceSoftwareRasterization
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers'
Remove-ItemProperty -Path $k -Name 'ForceSoftwareRasterization' -ErrorAction SilentlyContinue