pyrint
Copyright 2014 Order Bliss
Dequeue print request and pass them to a printer.
Install
pip install pyrint
Usage
Argument | Description |
---|---|
-h, --help | show this help message and exit |
--url | url to send requests to |
-v | print whats going on |
-r | rolling restarts |
--scan | test: scan for printer only |
test: print only | |
--provision | provision the device for use |
Run with bash at start up
Fun this shell script at start up of decive.
#!/bin/bash
if [ !pyrint ]; then
sudo pip install pyrint
pyrint --provision
fi
while TRUE; do
sudo pip install --upgrade pyrint
pyrint
done
#EOF