8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-28 15:42:25 +00:00
re2o/printer/settings.py
2018-12-06 17:57:37 +01:00

30 lines
369 B
Python

"""printer.settings
Define variables, to be changed into a configuration table.
"""
MAX_PRINTFILE_SIZE = 25 * 1024 * 1024 # 25 MB
ALLOWED_TYPES = ['application/pdf']
## Config
## Depreciation
depr = 2.16
PRICES = {
'Depreciation': depr,
'A3': 0.670,
'A4': 2.1504,
'Color': 9.0 + depr,
'Greyscale': 0.9 + depr,
'Staples': 1.3333,
}