Skip to content

biggerfisch/simple_print_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Print Server

A simple way to host a print webapp for a home or small business. Easier than configuring printers on ever-changing computers and simpler for guests to use too.

How it works

When a file is uploaded, the server calls the configured command on the path of the uploaded file (default command is lpr, which adds the file to the CUPS queue)

That's it. Improvements are in progress, but the core functionality is there now.

Limitations

At this time, this has only been tested with one printer and on Linux and OS X. I have no idea how it would work on Windows, BSD, etc.

Setting it up

  • Connect a printer to your server of choice
  • pip install -r requirements.txt
  • ./firstrun.py
  • ./run.py

And we're off to the races! Note that you may need to do one of

  • Edit run.py to pass 'host=0.0.0.0' in app.run()
  • Do something else to forward the local port

if you want other computers to see the server

Reboot Persistance

TODO

Screenshot

Example of running application

About

A simple webapp for sharing a printer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published