How To Share A Printer Over The Network: Comprehensive Local Network Setup Guide
Transform any local USB or direct-attached printer into a shared network resource across Windows and macOS environments by enabling local print spooler sharing, adjusting network firewall rules, and assigning static local IP routing. Configuring these parameters eliminates physical reconnects, minimizes peripheral costs, and establishes a reliable multi-device printing workstation.
Essential Network Prerequisites & Hardware Readiness Checklist
Before initiating local network print sharing, verify that both host and client machines reside on the exact same logical subnet mask (typically 255.255.255.0) and share identical Local Area Network (LAN) routing pathways. Sharing requires one host system to act as a print server or a network router equipped with an integrated print server.
- Essential Gear and Hardware Requirements:
- Host Computer: Windows 10/11 Pro/Home or macOS (Ventura/Sonoma/Sequoia) connected continuously to the target printer via USB 2.0/3.0.
- Client Computers: Any device running Windows, macOS, or Linux connected to the same Wi-Fi or Ethernet network.
- Target Printer: Functional desktop printer with up-to-date vendor drivers installed on the host.
- Network Router: Local router providing static IP assignment or reliable DHCP reservations.
- Mandatory Technical Standards:
- Host local profile must be designated as a Private Network rather than a Public Network to permit localized protocol discovery.
- Host system must have administrative privileges enabled to modify print spooler services and SMB file/printer sharing firewall exceptions.
- Host PC must remain powered on and awake for client printing attempts to execute successfully.
- Time and Operational Benchmarks:
- Estimated Setup Duration: 15 to 30 minutes for complete host-and-client deployment.
- Financial Budget: Zero additional capital expenditure using native OS network sharing protocols.
Step-by-Step Configuration Strategy for Windows and macOS Environments
Step 1: Configure Host Computer Network Sharing Discovery Settings
- Open the Control Panel on the host Windows machine by pressing Windows Key + R, typing control, and pressing Enter.
- Navigate to Network and Internet, then open Network and Sharing Center.
- Click Change advanced sharing settings in the left-hand navigation pane.
- Expand the Private network profile section. Select Turn on network discovery and check the box for Turn on automatic setup of network connected devices.
- Select Turn on file and printer sharing under the same profile tab.
- Expand the All Networks profile tab. Choose 128-bit encryption to help protect media sharing connections. Under Password-protected sharing, select Turn off password-protected sharing if working within a trusted home network, or keep it enabled for strict corporate environments requiring authenticated accounts.
- Save changes and exit the window.
Pro-Tip: If the host network profile is set to Public, Windows Defender Firewall automatically blocks incoming print requests via SMB protocol rules. Ensure the network is toggled to Private under Settings > Network & Internet > Ethernet/Wi-Fi properties.
Step 2: Enable Printer Sharing on the Host System
- Open Settings by pressing Windows Key + I, then navigate to Bluetooth & devices, then Printers & scanners.
- Click on the installed local printer you intend to broadcast across the network to open its configuration page.
- Select Printer properties from the available settings menu.
- Switch to the Sharing tab in the pop-up properties window.
- Click Change Sharing Options if the parameters are greyed out to grant administrative access.
- Check the box labeled Share this printer.
- Assign a clear, brief Share name without spaces or special characters (for example, HP_LaserJet_Office). Keeping the share name under 15 characters ensures full legacy netbios and cross-platform compatibility.
- Check Render print jobs on client computers to offload spool processing performance overhead from the host machine.
- Click Apply, then click OK.
Step 3: Configure Network Firewall Exceptions and Port Access
- Open Windows Search, type defender firewall, and select Windows Defender Firewall.
- Click Allow an app or feature through Windows Defender Firewall in the left menu.
- Scroll through the listed features until locating File and Printer Sharing.
- Verify that both Private and Public checkboxes adjacent to File and Printer Sharing are explicitly checked.
- If using third-party firewall security suites, create custom inbound rules allowing TCP traffic on ports 139 and 445, alongside UDP traffic on ports 137 and 138. For Internet Printing Protocol (IPP) configurations, permit inbound TCP traffic over port 631.
Warning: Disabling the host system firewall entirely to fix communication issues creates severe security risks across the local network. Always create specific service exceptions for file and printer sharing rather than turning off system protection features.
Step 4: Map and Connect Client Computers to the Shared Resource
- Obtain the host machine computer name or IPv4 address. On the host, open Command Prompt, type ipconfig, and note the IPv4 Address (for example, 192.168.1.50).
- Move to the client computer connected to the same network.
- Press Windows Key + R to launch the Run dialog box.
- Enter the Universal Naming Convention path pointing to the host using double backslashes, followed by the host name or host IP address: \192.168.1.50 or \HOST-PC-NAME.
- Press Enter. A Windows Explorer window will appear, listing all shared resources hosted by that target machine.
- Right-click the shared printer icon (such as HP_LaserJet_Office) and select Connect.
- Windows will prompt to download and auto-install print drivers over the network from the host. Confirm administrative approval if prompted.
- Send a test page from the client system via Settings > Bluetooth & devices > Printers & scanners to verify connection routing.
Step 5: Configure Cross-Platform Sharing on macOS Systems
- Open System Settings on the host Mac connected directly to the printer via USB.
- Navigate to General in the left sidebar, then select Sharing.
- Locate Printer Sharing in the list of services and toggle the information button next to it.
- Check the box next to the local printer you wish to share across the LAN.
- Set permissions for Everyone to Can Print or restrict access to specific local user groups.
- To connect from a client Mac, navigate to System Settings > Printers & scanners, click Add Printer, Scanner, or Fax, select the Default tab, click the discovered printer broadcast via Bonjour/AirPrint, and click Add.
How to Share and configure a Printer in a network. | PDF
Technical Protocol Matrix and Network Port Specifications
Selecting the correct printer sharing protocol depends on host infrastructure, security criteria, and client operating systems across the network.
| Protocol Standard | Native Network Port | Primary Operating System | Bandwidth & Overhead | Security Encryption Level |
|---|---|---|---|---|
| SMB/CIFS (Server Message Block) | TCP 445, TCP 139 | Windows / Windows LANs | Low Latency / Moderate Bandwidth | NTLMv2, Kerberos, SMB AES-128/256 |
| IPP (Internet Printing Protocol) | TCP 631 | macOS / Linux / Windows | Minimal Latency / Very Low Bandwidth | TLS/SSL (HTTPS Encryption) |
| LPR/LPD (Line Printer Daemon) | TCP 515 | UNIX / Legacy Enterprise | Low Latency / Legacy Overhead | Unencrypted (Plaintext Stream) |
| Bonjour / mDNS | UDP 5353 | Apple / AirPrint Infrastructure | Zero Latency / Multicast Overhead | Local Link-Local Multicast Security |
Resolving Local Network Print Sharing Failures and Error Codes
Scenario 1: Windows Client Throws Error 0x0000011b or 0x00000709 When Connecting
- Root Cause: Security updates targeting remote procedure call (RPC) vulnerability CVE-2021-34481 enforce authentication levels that reject non-administrator print spooler requests over SMB channels.
- Actionable Fix: On the host computer, open Registry Editor by typing regedit in the Run menu. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print. Right-click the Print folder, create a new DWORD (32-bit) Value named RpcAuthnLevelPrivacyEnabled, and explicitly set its Value data to 0. Open Services (services.msc), locate Print Spooler, and click Restart. Reconnect the client system.
Scenario 2: Client Computer Fails to Locate Host PC or Shared Resource on Network
- Root Cause: Network interface profile misconfiguration on either host or client, blocking NetBIOS/mDNS broadcast packets across the router switch.
- Actionable Fix: Ensure both machines are set to Private Network mode. On the client system, press Windows Key + R, type cmd, and ping the host IPv4 address directly (for example, ping 192.168.1.50). If packets time out, reconfigure router parameters to disable Isolation Mode or AP Isolation, which isolates connected wireless clients from local LAN assets.
Scenario 3: Print Jobs Hang in Spooler Queue Indefinitely on the Host Machine
- Root Cause: Corrupted spool files (
.SPLor.SHDtemporary queue items) blocking the local spooler directory from clearing execution tasks. - Actionable Fix: On the host machine, open Command Prompt as Administrator. Execute net stop spooler to halt the background service. Open File Explorer and navigate to C:\Windows\System32\spool\PRINTERS. Select all files inside this folder and delete them entirely. Return to Command Prompt and execute net start spooler to resume normal queue operations.
Scenario 4: macOS Client Continuous Credential Prompts or "Filter Failed" Errors
- Root Cause: Architecture driver discrepancies between CUPS rendering on the host and raster output from the client system.
- Actionable Fix: On the client Mac, open System Settings > Printers & scanners. Control-click inside the printer list panel and select Reset printing system. Re-add the shared printer using the Generic PCL Printer or Generic PostScript Printer driver instead of automatic auto-select vendor profiles.
Frequently Asked Questions
Must the host computer remain powered on to print over the network?
Yes, when sharing a printer connected directly via USB, the host computer acts as the print server. If the host PC is powered down, in sleep mode, or disconnected from the network, client systems will be unable to transmit print spools to the shared device.
How do I share a USB printer over a network without keeping a host PC running?
To share a USB printer without a host PC, connect the printer's USB cable directly to a Wi-Fi router equipped with a USB print server port, or purchase an external standalone Ethernet/Wi-Fi hardware print server adapter. Configure the routing parameters via the router's web admin panel.
Why does Windows ask for network credentials when connecting to a shared printer?
Windows prompts for credentials when Password-protected sharing is enabled on the host computer under Advanced Sharing Settings. To connect, enter the username and password of an administrative account that exists on the host machine, or disable password-protected sharing under network settings on the host PC.
Is sharing a printer over Wi-Fi different from sharing over an Ethernet LAN connection?
The underlying protocols (SMB, IPP, Bonjour) function identically whether connected over Wi-Fi or physical Ethernet cables, provided both connections communicate on the same local IP subnet. Ethernet provides lower latency and prevents job drops during heavy print transmission compared to wireless environments.
Why do client computers lose connection to the shared printer after a reboot?
If the host computer obtains its local IP address dynamically via DHCP, restarting the host can change its assigned IP address, breaking client mapping paths. Resolve this by assigning a static IP address to the host computer in network adapter settings or binding its MAC address in the router settings.
Optimize Your Infrastructure for Seamless Office Printing
Setting up local print sharing restores productivity across multi-device households and demanding office workstations without requiring expensive hardware upgrades. Follow this guide to ensure your local print network remains stable, secure, and accessible across all operating systems.