Activer l’impression des couleurs et des images d’arrière-plan
Turn on printing of background colors and images
Explication
Ce paramètre de stratégie spécifie si Internet Explorer imprime les couleurs et les images d’arrière-plan lorsque l’utilisateur imprime une page Web. L’inclusion des couleurs et des images d’arrière-plan peut réduire la vitesse et la qualité d’impression de la page, selon les capacités de votre imprimante.
Si vous activez ce paramètre de stratégie, l’impression des couleurs et des images d’arrière-plan est activée. L’utilisateur ne peut pas la désactiver.
Si vous désactivez ce paramètre de stratégie, l’impression des couleurs et des images d’arrière-plan est désactivée. L’utilisateur ne peut pas la réactiver.
Si vous ne configurez pas ce paramètre de stratégie, l’utilisateur peut activer ou désactiver l’impression des couleurs et des images d’arrière-plan.
This policy setting specifies whether Internet Explorer prints background colors and images when the user prints a webpage. Including background colors and images might reduce the speed at which a page is printed and the quality of the printing, depending on the capabilities of the printer.
If you enable this policy setting, the printing of background colors and images is turned on. The user cannot turn it off.
If you disable this policy setting, the printing of background colors and images is turned off. The user cannot turn it on.
If you do not configure this policy setting, the user can turn on or turn off the printing of background colors and images.
Registre
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main- Nom de la valeur
Print_Background
| État | Valeur écrite |
|---|---|
| Activé | REG_SZ = yes |
| Désactivé | REG_SZ = no |
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 : inetres/BackgroundColors
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Print_Background' -Value 'yes' -Type StringDésactiver
# Désactiver : inetres/BackgroundColors
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Print_Background' -Value 'no' -Type StringRevenir à « Non configuré »
# Revenir à « Non configuré » : inetres/BackgroundColors
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main'
Remove-ItemProperty -Path $k -Name 'Print_Background' -ErrorAction SilentlyContinue