Update readme
This commit is contained in:
parent
febd65e980
commit
510407e91a
@ -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.
|
Loading…
x
Reference in New Issue
Block a user