Sets layout for printing: registry value PrintingWebpageLayout (Recommended)ComputerHKLM\Software\Policies\Microsoft\Edge\Recommended

Policy ID
PrintingWebpageLayout_recommended
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Edge version 93, Windows 7 or later
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Category
Microsoft Edge - Default Settings (users can override) › Printing

Registry

PrintingWebpageLayout

REG_DWORDComputerUser
Enabled value
Depends on the option value
Element
Sets layout for printing
Options
ItemStored value
Sets layout option as portrait0
Sets layout option as landscape1
Apply with .reg · CMD · PowerShell
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge\Recommended]

; Options (use only one)
; Sets layout option as portrait
"PrintingWebpageLayout"=dword:00000000
; Sets layout option as landscape
"PrintingWebpageLayout"=dword:00000001
CMD
:: Options (use only one)

:: Sets layout option as portrait
reg add "HKLM\Software\Policies\Microsoft\Edge\Recommended" /v "PrintingWebpageLayout" /t REG_DWORD /d 0 /f
:: Sets layout option as landscape
reg add "HKLM\Software\Policies\Microsoft\Edge\Recommended" /v "PrintingWebpageLayout" /t REG_DWORD /d 1 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge\Recommended' -Force | Out-Null

# Options (use only one)
# Sets layout option as portrait
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\Recommended' -Name 'PrintingWebpageLayout' -PropertyType DWord -Value 0 -Force | Out-Null
# Sets layout option as landscape
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\Recommended' -Name 'PrintingWebpageLayout' -PropertyType DWord -Value 1 -Force | Out-Null
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge\Recommended]

; Options (use only one)
; Sets layout option as portrait
"PrintingWebpageLayout"=dword:00000000
; Sets layout option as landscape
"PrintingWebpageLayout"=dword:00000001
CMD
:: Options (use only one)

:: Sets layout option as portrait
reg add "HKCU\Software\Policies\Microsoft\Edge\Recommended" /v "PrintingWebpageLayout" /t REG_DWORD /d 0 /f
:: Sets layout option as landscape
reg add "HKCU\Software\Policies\Microsoft\Edge\Recommended" /v "PrintingWebpageLayout" /t REG_DWORD /d 1 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge\Recommended' -Force | Out-Null

# Options (use only one)
# Sets layout option as portrait
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\Recommended' -Name 'PrintingWebpageLayout' -PropertyType DWord -Value 0 -Force | Out-Null
# Sets layout option as landscape
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\Recommended' -Name 'PrintingWebpageLayout' -PropertyType DWord -Value 1 -Force | Out-Null