8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-17 00:43:11 +00:00
re2o/printer/settings.py

31 lines
369 B
Python
Raw Normal View History

"""printer.settings
Define variables, to be changed into a configuration table.
"""
MAX_PRINTFILE_SIZE = 25 * 1024 * 1024 # 25 MB
ALLOWED_TYPES = ['application/pdf']
2018-09-08 12:04:44 +00:00
## 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,
}