Coder Social home page Coder Social logo

web-printer's Introduction

Web Printer

Make printers without Ethernet or Wifi connection available on LAN.

If a printer does not have any Ethernet or Wifi connection it's not possible to print directly from other machine in the local network. This flask app creates a webeserver that can accepts and prints documents. The webserver is accessible from any machine on the LAN, thus document can be printed on the isolated printer directly from any machine on the LAN.

๐Ÿ› ๏ธ Setting up:

  1. Clone this repo in a computer where the printer is locally connected via USB.
  2. Check the full name of the printer with lpstat -p -d and modify web_printer.py file with the name.
  3. Install flask and run the server with python web_printer.py or using gunicorn with gunicorn -w 4 'web_printer:app' -b '0.0.0.0:8080'
  4. Go to the IP address of the host machine with port 8080 (or whatever you provided), the webserver should be available there. For example, if the machine IP is 192.168.31.111, then the webserver is accessible at http://192.168.31.111:8080/. You can submit print jobs using this web-page.

web-printer's People

Contributors

koushikphy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.