https://github.com/tyilo/auprint
Allows you to setup Aarhus University's printers on their prt11.uni.au.dk server
https://github.com/tyilo/auprint
aarhus-universitet printing
Last synced: 11 months ago
JSON representation
Allows you to setup Aarhus University's printers on their prt11.uni.au.dk server
- Host: GitHub
- URL: https://github.com/tyilo/auprint
- Owner: tyilo
- Created: 2017-02-28T13:59:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-09-22T12:48:21.000Z (over 3 years ago)
- Last Synced: 2025-06-28T21:09:05.698Z (12 months ago)
- Topics: aarhus-universitet, printing
- Language: Python
- Homepage:
- Size: 42 KB
- Stars: 9
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# auprint
Allows you to setup Aarhus University's printers on their `prt11.uni.au.dk` server.
For other possible ways of printing on Aarhus University's printers see https://matfystutor.dk/wiki/Printere (danish)
Requires CUPS, smbclient and python3 to work.
Additionally your user must have permissions to add printers using `lpadmin`.
Adding printer admin permissions to an user
==
If you do not have permission to add a printer using `lpadmin`, you probably just need to add your user to a specific group.
On Arch Linux this should work:
```
sudo gpasswd sys -a "$(id -un)"
```
On Ubuntu this should work:
```
sudo gpasswd lpadmin -a "$(id -un)"
```
After adding yourself to the group, you will need to logout and login again to make the changes take effect.
TODO
==
- Use pycups instead of using cups CLI for doing stuff
- Maybe use https://munki.au.dk/public/printer_info.plist instead of `smbclient` for listing printers