Unified printing for CMU on multiple devices.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api
.gitignore
README.md
requirements.txt
run_server.py

README.md

Print-Scottylabs

Unified printing for CMU on multiple devices.

API format

POST request

Input type Name
text andrew_id
file file
number copies
radio sides [1]

[1] Values must be one of one-sided, two-sided-long-edge, two-sided-short-edge.

JSON response

Success example:

{
  "message": "Successfully printed hello_world.pdf",
  "status_code": 200
}

Failure example:

The status code will default to 400, Bad Request.

{
  "message": "Please submit a valid Andrew ID.",
  "status_code": 400
}