From 510407e91a1232f65e1ee7a8e4497e66a4f93634 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Fri, 2 Oct 2020 13:25:03 -0600 Subject: [PATCH] Update readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index fdad119..66a1237 100644 --- a/README.md +++ b/README.md @@ -6,5 +6,6 @@ Usage: * Example response: `{"printers": ["canon-123", "brother-etc"]}` * `print.php?action=print&printer=[printername]`: Print a PDF to the specified printer. The request body shall contain the PDF document. * Example curl command: `curl --data-binary "@/home/user/test.pdf" "http://localhost/print.php?action=print&printer=brother-etc"` + * Response: `{"printed": true}` Requires `lp`, `lpstat`, and `pdfinfo` commands to be available. \ No newline at end of file