How to Change Default Printer Paper Size to A4 or Letter in Windows Using Registry, PowerShell, CMD, Group Policy, and Printer Configuration Methods
Managing printer paper size settings in Windows is an important task for IT administrators, enterprises, software developers, and advanced users. Incorrect d...
Managing printer paper size settings in Windows is an important task for IT administrators, enterprises, software developers, and advanced users. Incorrect default paper size settings often lead to printing issues such as content cutoff, scaling problems, margin mismatch, or printer errors.
The most common paper sizes used globally are:
| Paper Size | Code | Region |
|---|---|---|
| Letter | 1 | United States, Canada |
| Legal | 5 | Legal Documents |
| A4 | 9 | Most Countries Including India & Europe |
Windows allows paper size configuration through multiple methods including:
- Windows Registry
- PowerShell
- Command Prompt (CMD)
- Printer Preferences
- Group Policy
- Print Management
- Driver-Level DEVMODE Settings
- Enterprise Deployment Scripts
This article discusses all proven methods to change default printer paper size to A4 or Letter in Windows systems.
Understanding Windows Paper Size Codes
Windows internally stores paper sizes using numeric codes.
Common Paper Size Codes
| Code | Paper Size |
|---|---|
| 1 | Letter |
| 5 | Legal |
| 8 | A3 |
| 9 | A4 |
| 11 | A5 |
| 13 | B5 |
The most important values are:
-
1= Letter -
9= A4
These codes are used by:
- Windows International Settings
- Printer Drivers
- DEVMODE Structures
- Print APIs
- Enterprise Deployment Scripts
Method 1 — Change Default Paper Size Using Windows Registry
This is the most widely used and simplest method.
Registry Path
Open Registry Editor (regedit) and navigate to:
HKEY_CURRENT_USER\Control Panel\International
Locate or create the following String Value:
iPaperSize
Values
For Letter Size
iPaperSize = 1
For A4 Size
iPaperSize = 9
How It Works
The iPaperSize value defines the default paper standard used by Windows regional settings.
When applications or printer drivers rely on Windows international settings, they automatically use this configured paper size.
Registry Command Line Examples
Set Letter Size
REG ADD "HKCU\Control Panel\International" /v iPaperSize /t REG_SZ /d 1 /f
Set A4 Size
REG ADD "HKCU\Control Panel\International" /v iPaperSize /t REG_SZ /d 9 /f
PowerShell Equivalent
Set Letter
Set-ItemProperty -Path "HKCU:\Control Panel\International" -Name "iPaperSize" -Value "1"
Set A4
Set-ItemProperty -Path "HKCU:\Control Panel\International" -Name "iPaperSize" -Value "9"
Advantages
- Easy deployment
- Works for many applications
- Lightweight
- Ideal for scripts and installers
- Suitable for enterprise automation
Limitations
- Some printer drivers ignore it
- Existing printer preferences may override it
- Requires user logoff or reboot in some cases
Method 2 — Change Printer Preferences Manually
This is the most reliable method for single computers.
Steps
-
Open:
Control Panel → Devices and Printers - Right-click printer
-
Select:
Printing Preferences -
Change:
Paper Size → A4 or Letter - Apply settings
Why This Method Works Best
This method directly modifies the printer driver's DEVMODE configuration.
Unlike registry settings, this is:
- printer specific
- driver aware
- highly reliable
Method 3 — PowerShell Printer Configuration
Modern Windows versions support printer management through PowerShell.
List Installed Printers
Get-Printer
Set A4 Size
Set-PrintConfiguration -PrinterName "HP LaserJet Pro M404dn" -PaperSize A4
Set Letter Size
Set-PrintConfiguration -PrinterName "HP LaserJet Pro M404dn" -PaperSize Letter
Apply to All Printers
A4
Get-Printer | ForEach-Object {
Set-PrintConfiguration -PrinterName $_.Name -PaperSize A4
}
Letter
Get-Printer | ForEach-Object {
Set-PrintConfiguration -PrinterName $_.Name -PaperSize Letter
}
Verify Configuration
Get-PrintConfiguration -PrinterName "Printer Name"
Output:
PaperSize : A4
Common Error
Error:
The specified printer was not found.
HRESULT 0x80070709
Cause
Incorrect printer name.
Solution
Use:
Get-Printer
Then copy the exact printer name.
Method 4 — Restart Print Spooler
Sometimes Windows caches printer settings.
Restarting spooler refreshes configurations.
CMD
net stop spooler
net start spooler
PowerShell
Restart-Service spooler
Method 5 — Using PrintUIEntry
Windows provides a built-in printer management utility.
Command
rundll32 printui.dll,PrintUIEntry
Set Default Printer
rundll32 printui.dll,PrintUIEntry /y /n "Printer Name"
Export Printer Settings
rundll32 printui.dll,PrintUIEntry /Ss /n "Printer Name" /a "C:\printer.dat"
Restore Printer Settings
rundll32 printui.dll,PrintUIEntry /Sr /n "Printer Name" /a "C:\printer.dat"
Benefits
- Enterprise deployment
- Backup and restore printer configuration
- Suitable for cloned systems
- Useful in domain environments
Method 6 — DEVMODE Registry Editing
Windows stores printer preferences inside DEVMODE binary structures.
Locations include:
HKEY_CURRENT_USER\Printers\DevModePerUser
and
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers
Warning
These settings are:
- binary encoded
- driver dependent
- difficult to edit safely
Manual editing is not recommended unless building advanced enterprise tools.
Method 7 — Group Policy Deployment
Large organizations can deploy printer settings using:
- Group Policy Preferences
- Logon Scripts
- PowerShell Scripts
- Print Servers
Example PowerShell GPO Script
Set-ItemProperty -Path "HKCU:\Control Panel\International" -Name "iPaperSize" -Value "9"Get-Printer | ForEach-Object {
try {
Set-PrintConfiguration -PrinterName $_.Name -PaperSize A4
}
catch {
Write-Host "Failed:" $_.Name
}
}
Why Some Printers Ignore Registry Settings
Many modern printer drivers:
- use proprietary configurations
- override Windows defaults
- maintain separate preference profiles
Therefore:
- registry changes alone may fail
- direct printer preferences are more reliable
Best Recommended Solution
For Single PCs
Use:
- Printer Preferences
-
Registry
iPaperSize - Restart Spooler
For Enterprise Deployment
Use:
-
PowerShell
Set-PrintConfiguration - Group Policy
- PrintUIEntry backup/restore
- Login scripts
Troubleshooting Guide
Problem: Paper Size Keeps Resetting
Causes
- Driver updates
- Shared printer policies
- Vendor printer utilities
Solutions
- Reapply settings
- Disable vendor utilities
- Configure server-side defaults
Problem: Printer Ignores A4
Causes
- Application overrides
- Driver-level preference
- Incorrect tray configuration
Solutions
- Set tray paper size manually
- Reconfigure printer preferences
- Restart spooler
Important Notes for Developers
Software developers creating desktop applications or installers can automate printer setup using:
- PowerShell
- Registry Scripts
- PrintUIEntry
- Windows Print APIs
This is especially useful for:
- billing software
- GST applications
- ERP systems
- POS software
- invoice printing tools
Conclusion
Changing printer paper size in Windows can be done through multiple methods depending on the environment and reliability requirements.
Most Reliable Methods
| Scenario | Recommended Method |
|---|---|
| Single User PC | Printer Preferences |
| Enterprise Deployment | PowerShell + GPO |
| Installer Automation | Registry + PowerShell |
| Print Server Environment | PrintUIEntry |
| Advanced Driver Management | DEVMODE APIs |
The registry value:
1 = Letter
9 = A4
remains one of the most important settings for controlling Windows default paper standards.
#windows #printer #printing #a4 #letter #registry #powershell #cmd #printmanagement #sysadmin #windows10 #windows11 #printersettings #printserver #automation #itadmin #technicalguide #windowsregistry #printspooler #grouppolicy #printerdriver #networkprinter #sharedprinter #printconfiguration #devmode #printui #powershellscript #windowsadmin #enterpriseit #printerautomation #troubleshooting #itengineering #printersetup #printingguide #systemadministrator #windowscommands #registryhack #itpro #printermanagement #microsoftwindows #paperSize #officeprinter #printdefaults #administration #technology #windowsserver #printerdeployment #automationtools #technicalarticle #computerengineering
Was this guide useful?
Your answer helps us keep BISONKB accurate and practical.