Skip to content

rhmunna143/lan-print-share

Repository files navigation

LAN Print Share

A cross-platform desktop application for sharing printers over a local network (LAN).

Features

Server Mode

  • Automatically detect USB-connected printers
  • Select which printers to share on the network
  • View connected clients and print queue
  • mDNS broadcasting for automatic discovery

Client Mode

  • Discover shared printers on the network
  • Manual IP connection option
  • Print documents (PDF, images, text, Word documents)
  • Configure print settings (copies, page range, orientation)
  • View recent print jobs

Getting Started

Prerequisites

  • Node.js 18 or higher
  • npm or yarn

Installation

# Install dependencies
npm install

# Start development mode
npm run dev:electron

Building for Production

# Build the application
npm run build

The built application will be in the release directory.

Technology Stack

  • Electron - Cross-platform desktop framework
  • React - UI framework
  • TypeScript - Type-safe JavaScript
  • Tailwind CSS - Styling
  • Vite - Build tool
  • bonjour-service - mDNS discovery
  • electron-store - Settings persistence

Project Structure

lan-print-share/
├── src/
│   ├── main/           # Electron main process
│   │   ├── services/   # Backend services
│   │   └── utils/      # Utilities
│   ├── preload/        # Preload scripts
│   ├── renderer/       # React frontend
│   │   ├── components/ # UI components
│   │   ├── context/    # React context
│   │   └── styles/     # CSS styles
│   └── shared/         # Shared types and constants
├── assets/             # Icons and images
└── package.json

License

MIT

About

Share Printers Over LAN When Windows Fails Free, open-source desktop application for sharing USB printers over your local network. No more error 0x0000011b or 0x0000007e.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors