EEE Windows Printer Configuration Guide
Applicable to EEE installations running on Windows Server or Windows 11.
This guide assumes network connectivity between the EEE application server and the physical printer or remote Windows print server. Magenta Cloud installations without such connectivity use alternative printing mechanisms.
Recommended printer configurations
Wherever possible, configure printers as machine-wide local print queues on the EEE application server. This avoids per-user printer installation, simplifies administration and improves EEE print submission performance.
| Physical printer configuration | EEE print queue port | Driver |
|---|---|---|
| Network-attached label printer | Standard TCP/IP | Generic / Text Only |
| Network-attached receipt/text printer | Standard TCP/IP | Generic / Text Only |
| Network-attached A4/page printer | Standard TCP/IP | Appropriate manufacturer or universal driver |
| Store-shared label printer | Local Port (UNC path) | Generic / Text Only |
| Store-shared receipt/text printer | Local Port (UNC path) | Generic / Text Only |
| Store-shared A4/page printer | Local Port (UNC path) | Compatible manufacturer or universal driver |
Text printers include label printers, receipt printers, stock receipt slip printers and other printers receiving native printer commands or preformatted RAW text.
Generic / Text Only is appropriate where EEE generates printer-ready output, such as ZPL or receipt printer escape sequences. Formatted page printing, including text reports rendered using the Windows graphical printing subsystem, requires an appropriate page printer driver.
All the configurations above are system-global (machine-wide) and can be established by an administrator without logging in as the EEE application pool user.
Network printer protocol selection
- Prefer Standard TCP/IP ports (RAW TCP 9100) for supported printers.
- Avoid automatic WSD (Web Services for Devices) printer installation for centrally managed EEE printing where practical.
- Printers discovered using WSD frequently also support Standard TCP/IP printing.
- Check the printer's embedded web interface to determine supported and enabled printing protocols.
- For page printers that do not support RAW TCP printing, consider IPP/IPPS or manufacturer-specific drivers and port monitors.
- Do not assume IPP/IPPS is suitable for native RAW label or receipt printer output.
- If direct network printing is impractical, use a store-shared printer with a local UNC port on the EEE server.
Printer procurement
When selecting new printers for use with EEE, preferred characteristics are:
- RAW TCP 9100 support.
- Compatibility with the Windows version running EEE, particularly Windows Server.
- Stable IP addressing, either static or DHCP reservation.
- Appropriate native printer language support for label and receipt printers.
- Availability of supported manufacturer or universal drivers for page printers.
Network-attached printer – preferred configuration
Use where the EEE application server can communicate directly with the physical printer over the network.
Manual configuration
- Open Printers & Scanners or the classic Add Printer wizard.
- Select Add Printer, then Add Manually.
- Select Add a local printer or network printer with manual settings.
- Create a new Standard TCP/IP Port.
- Enter the printer's IP address or DNS name.
- Configure RAW protocol, port 9100 (assuming supported by the printer).
- Select the appropriate printer driver.
- Assign a meaningful, unique printer name.
- Printer sharing is not required on the EEE server.
PowerShell (elevated)
Add-PrinterPort -Name "IP_10.134.1.101" `
-PrinterHostAddress "10.134.1.101" `
-PortNumber 9100
Add-Printer -Name "Store001-Label1" `
-DriverName "Generic / Text Only" `
-PortName "IP_10.134.1.101"
For page printers, substitute the appropriate installed driver name.
EEE printer name: Store001-Label1
Scope: System-global. No per-user configuration required.
Requirements
- Stable printer IP address or DNS name.
- Network routing and firewall access from the EEE server to the printer.
- TCP 9100, or another protocol/port supported by the printer.
- If SNMP status monitoring causes incorrect offline indications, check SNMP connectivity and configuration.
Store-shared printer – preferred shared printer configuration
Use where the physical printer is USB-attached to a store PC, or where direct network access to the printer is unavailable.
Configure and share the printer on the store PC first.
Manual configuration on the EEE server
- Open Printers & Scanners or the classic Add Printer wizard.
- Select Add Printer, then Add Manually.
- Select Add a local printer or network printer with manual settings.
- Create a new port of type Local Port.
- Enter the full UNC path of the remote printer share as the port name.
- Select the appropriate printer driver.
- Assign a meaningful, unique local printer name.
- Printer sharing is not required on the EEE server.
PowerShell (elevated)
Add-PrinterPort -Name "\\store001pc.example.com\label"
Add-Printer -Name "Store001-Label1" `
-DriverName "Generic / Text Only" `
-PortName "\\store001pc.example.com\label"
For page printers, substitute the appropriate installed driver name.
EEE printer name: Store001-Label1
Scope: System-global. No per-user configuration required.
Requirements
- Remote printer is shared and accessible.
- Remote print permissions and SMB authentication are correctly configured.
- Prefer fully qualified DNS names (FQDNs) over IP addresses for Windows printer shares.
- For page printers, ensure the locally installed driver generates output compatible with the remote printer.
- The store PC hosting the shared printer must be operational for queued jobs to be delivered.
Important: Machine-wide installation does not automatically grant access to the remote printer share.
The security context used by the Windows spooler or port monitor to deliver print jobs may differ from the EEE application pool identity. Successful installation or printing by an administrator does not establish that unattended printing will work.
Always validate by printing from EEE itself.
Store-shared printer – traditional printer connection (legacy)
This method is supported but is not preferred for new EEE installations. It introduces a dependency on the Windows user profile and may result in slower print submission.
Manual configuration
- Run under the Windows account used by the EEE application pool.
- Open Printers & Scanners or the classic Add Printer wizard.
- Select Add Printer, then Add Manually.
- Select a shared printer by name.
- Enter the UNC path, preferably using the FQDN.
PowerShell (under EEE user account)
Add-Printer -ConnectionName "\\store001pc.example.com\label"
EEE printer name: \\store001pc.example.com\label
Do not use the Windows friendly display name (e.g. label on store001pc.example.com). Verify the actual printer name using Get-Printer under the EEE user account.
Scope: Normally per-user. Configure under the EEE application pool identity.
Additional considerations
- If EEE cannot see a printer connection installed under its application pool identity, check the IIS application pool's Load User Profile setting.
- Driver installation may require administrative privileges.
- Avoid specifying an uninstalled remote UNC printer directly in EEE. Synchronous remote printing API calls can introduce significant delays, particularly when printing multiple labels.
- Existing working printer connections do not need to be migrated unless performance, reliability or administration issues warrant it.
Running printer configuration as another user
There is no need to log out of Windows to configure a per-user printer connection, provided the required account supports Run As.
These procedures apply to ordinary local or domain user accounts with known passwords. They are not applicable to all service account types, such as IIS virtual application pool identities.
Launch PowerShell as the EEE user
From CMD, for a domain account:
runas /profile /user:DOMAIN\EEEUser powershell.exe
For a local account:
runas /profile /user:.\EEEUser powershell.exe
Enter the account password when prompted. In the resulting PowerShell window:
whoami Add-Printer -ConnectionName "\\store001pc.example.com\label" Get-Printer | Format-Table Name,Type,DriverName,PortName
Launch the printer installation UI as the EEE user
From CMD:
runas /profile /user:DOMAIN\EEEUser "rundll32.exe printui.dll,PrintUIEntry /il"
This invokes the classic Add Printer wizard under the specified user account.
Alternatively, from PowerShell or CMD already running as that user:
rundll32.exe printui.dll,PrintUIEntry /il
Or, from CMD running as that user, connect directly to a specific shared printer:
rundll32.exe printui.dll,PrintUIEntry /in /n"\\store001pc.example.com\label"
The PrintUI commands are documented for Windows 11 and Windows Server 2022/2025. Actual wizard behaviour may vary with Windows version and security policy.
Notes
- The account must be permitted to log on using Run As.
- Driver installation may require administrative privileges.
- Do not use /netonly, as this does not change the local user profile.
- Prefer the classic printer wizard over attempting to launch the modern Windows Settings application under another identity.
- Do not relax service account security restrictions merely to install printers. Prefer machine-wide queues instead.
Useful PowerShell commands
List installed printers
Get-Printer |
Format-Table Name,Type,DriverName,PortName -AutoSize
A printer of type Local is a locally installed queue. A printer of type Connection is a connection to a remote shared printer.
Use the exact printer name returned in the Name column when configuring EEE.
List installed drivers
Get-PrinterDriver | Select-Object Name
Install Generic / Text Only driver (elevated)
Add-PrinterDriver -Name "Generic / Text Only"
Assumes the driver is available in the Windows driver store. If unavailable, install the driver using the Windows printer installation wizard or other appropriate driver installation procedure.
List configured ports
Get-PrinterPort |
Format-Table Name,PrinterHostAddress,PortNumber
Check connectivity to a network-attached printer
Test-NetConnection 10.134.1.101 -Port 9100
Check connectivity to a Windows printer share
Test-NetConnection store001pc.example.com -Port 445
For traditional shared printer connections using RPC over TCP, additional RPC connectivity may be required.
A successful TCP connectivity test does not establish that authentication or printing will succeed.
List pending print jobs
Get-PrintJob -PrinterName "Store001-Label1"
Remove a printer and its port (elevated)
Remove-Printer -Name "Store001-Label1" Remove-PrinterPort -Name "IP_10.134.1.101"
Ensure the port is not used by another printer before removing it.
Bulk provisioning of network-attached printers
For large deployments, printer queues can be provisioned centrally using PowerShell and a CSV file.
Example Printers.csv
Name,IPAddress,DriverName Store001-Label1,10.134.1.101,Generic / Text Only Store001-Label2,10.134.1.102,Generic / Text Only Store001-Receipt1,10.134.1.103,Generic / Text Only Store002-Label1,10.134.2.101,Generic / Text Only
PowerShell (elevated)
Import-Csv C:\Temp\Printers.csv | ForEach-Object {
$port = "IP_$($_.IPAddress)"
if (-not (Get-PrinterPort -Name $port -ErrorAction SilentlyContinue)) {
Add-PrinterPort -Name $port `
-PrinterHostAddress $_.IPAddress `
-PortNumber 9100 `
-ErrorAction Stop
}
if (-not (Get-Printer -Name $_.Name -ErrorAction SilentlyContinue)) {
Add-Printer -Name $_.Name `
-DriverName $_.DriverName `
-PortName $port `
-ErrorAction Stop
}
}
- All required printer drivers must be installed beforehand.
- This example creates missing queues and ports; it does not modify or validate existing configurations.
- The script stops on a printer or port creation failure.
- Review the CSV file and test with a small subset of printers before bulk deployment.
- The same general approach can be adapted to provision printers using UNC Local Ports.
Security considerations
- Restrict printer network access to authorised systems.
- RAW TCP 9100 printing is normally unauthenticated and unencrypted. Use trusted networks or appropriately secured network connections.
- Never expose Windows printer shares, print spooler RPC services or RAW TCP printing ports directly to the public Internet.
- Grant the EEE application pool identity Print permission on the local printer queues.
- For UNC Local Ports, ensure the remote printer permissions accommodate the security context actually used for job delivery.
- Do not weaken Windows Point and Print restrictions, RPC authentication policies or service account logon restrictions to facilitate printer installation.
- Do not enable unnecessary printer sharing on the EEE application server.
- Use supported printer drivers obtained from trusted sources.
Troubleshooting and general recommendations
- Prefer machine-wide local queues over per-user printer connections.
- Use Standard TCP/IP ports for directly accessible network printers.
- Use UNC Local Ports for store-shared printers.
- Use meaningful, consistent queue names incorporating store code and printer purpose.
- Use spooled printing rather than Print directly to the printer.
- Validate remote authentication under the actual operating context.
- Use FQDNs rather than IP addresses for Windows printer shares.
- Check printer ports, drivers and permissions using the PowerShell commands above.
- Successful submission to a local queue does not guarantee physical printing.
- Jobs may remain queued during printer or WAN outages and print automatically when connectivity is restored.
- Avoid repeatedly submitting the same print request when jobs are already queued.
- Check both the local and remote queues when troubleshooting store-shared printers.
Testing RAW printing without a physical printer
For testing Generic / Text Only output without a physical printer, create a Local Port pointing to a fixed filename on the print server, for example:
C:\Temp\PrintOutput.prn
- Ensure the destination directory exists and is writable by the relevant printing process.
- Do not use the FILE: port, which requires interactive filename selection and may fail when printing remotely or unattended.
- Subsequent print jobs may overwrite the output file.
- This configuration is intended for testing only.
To test direct RAW submission to a remote printer share from CMD:
echo Hello > C:\Temp\test.txt copy /b C:\Temp\test.txt \\store001pc.example.com\label
This tests direct SMB RAW print submission. It does not exercise the same Windows printing API path used by EEE and is not a substitute for testing from EEE itself.
Only perform this test against a suitable text printer or test queue.
Commissioning checklist
Before considering a printer configuration complete:
- Confirm the correct printer driver and port are configured.
- Confirm the exact printer queue name is configured in EEE.
- Verify permissions and authentication.
- Print from EEE itself, not just from the Windows printer installation wizard.
- Confirm the physical output is correct.
- For label printers, test both a single SKU and a batch containing multiple different SKUs.
- For receipt/text printers, check applicable formatting, escape sequences, paper feed and cutter operation.
- For page printers, check paper size, orientation, margins, trays and duplex settings as applicable.
- Confirm acceptable EEE response time.
- Where practical, test behaviour during printer or network unavailability and subsequent recovery.
- Confirm unattended printing remains operational without an administrator or the EEE user being interactively logged on.
Summary
The preferred EEE printing architecture is a machine-wide local print queue on the EEE application server.
- For directly accessible network printers, use a Standard TCP/IP Port wherever supported.
- For store-shared printers, use a Local Port with the remote printer's UNC path.
- For RAW label and receipt/text printing, use the Generic / Text Only driver.
- For formatted page printing, use an appropriate manufacturer or universal driver.
- Retain traditional per-user shared printer connections where necessary for compatibility.
This approach simplifies deployment, avoids unnecessary user-profile dependencies and reduces the impact of remote printing communication delays on EEE application responsiveness.