Skip to content

forthright48/print-bot

Repository files navigation

tojocky/node-printer#126

Required packages

sudo apt install libcups2-dev

The server needs to have CUPS installed and have all the printers added to it.

How to run the project?

  1. Download from github.
  2. Run npm install to install required modules.
  3. Start your mongodb server. Needs to be running on local server.
  4. Next we need to setup some configuration. Notice that there is a folder called secret with a config.demo.js file inside it. Open it and configure it and finally rename it as config.js. Never share the content of that file with anyone.
  5. Run npm run-script addAdmin to add an admin to db.
  6. Run npm start to start server.

TODO

Done

  1. Stop duplicate consecutive printing.
  2. Disable button on print.
  3. Cannot print more than 10 pages at once.
  4. View flash messages.
  5. Run without internet
  6. Add admin middleware to stop deleting jobs.
  7. Encrypt passwords
  8. Cannot print more than 50 pages in total.
  9. Instruction on top of page.
  10. Script to auto create secret folder with demo.
  11. What if printer assigned to user is not working? (Nothing. Make sure all printers are working correctly)

About

A simple print server for onsite contests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published