Open in the explorer

For PDF files that have both landscape and portrait pages, print each in its own orientation.

Pour les fichiers PDF présentant des pages en paysage et en portrait, imprimez chacune des pages dans leur propre orientation.

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Microsoft Edge User Configuration › Policies › Administrative Templates › Windows Components › Microsoft Edge FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Microsoft EdgeFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Microsoft Edge
Supported on
Microsoft Edge on Windows 10, Version 1809 or later FR: Microsoft Edge sur Windows 10, version 1809 ou ultérieure
ADMX file
MicrosoftEdge.admx
Internal name
MicrosoftEdge/AllowMixedModePrintingInPdf

Explanation

With this policy, you can print PDF files based on per page orientation in Microsoft Edge.

If enabled, mixed mode printing is allowed.

If disabled, mixed mode printing is not allowed.

French text from Windows 11 26H2

Grâce à cette stratégie, vous pouvez imprimer des fichiers PDF en fonction de l’orientation de page dans Microsoft Edge.

Si cette option est activée, l’impression en mode mixte est autorisée.

Si cette option est désactivée, l’impression en mode mixte n’est pas autorisée.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\Main
HKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\Main
Value name
AllowMixedModePrintingInPDF
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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.

Computer (HKLM)

Enable

# Enable: MicrosoftEdge/AllowMixedModePrintingInPdf
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowMixedModePrintingInPDF' -Value 1 -Type DWord

Disable

# Disable: MicrosoftEdge/AllowMixedModePrintingInPdf
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowMixedModePrintingInPDF' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": MicrosoftEdge/AllowMixedModePrintingInPdf
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main'
Remove-ItemProperty -Path $k -Name 'AllowMixedModePrintingInPDF' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability

Windows 10

✓ 22H2✓ 21H2✓ 21H1✓ 20H2✓ 2004✓ 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server