diff options
Diffstat (limited to 'modes.py')
| -rw-r--r-- | modes.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modes.py b/modes.py new file mode 100644 index 0000000..e87b837 --- /dev/null +++ b/modes.py @@ -0,0 +1,8 @@ +import cups + +PRINTER = 'Canon_iP7200_series' + + +def print(): + conn = cups.Connection() + conn.printFile(PRINTER, 'base.jpg', 'title', {}) |
