-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml
More file actions
33 lines (28 loc) · 1.03 KB
/
config.toml
File metadata and controls
33 lines (28 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[telegram]
token = "Token from @botfather"
allowed_users = ["Your nickname here"]
language = "en/ru"
[devices]
printer = "Name of printer from CUPS web interface"
scanner = "Path to scanner from scanimage -L"
[print]
# All supported paper sizes described at libcups/src/options.rs:152
paper_size = "F8X10/A3/A4/A5/A6/Letter/Legal..."
orientation = "Portrait/Landscape"
sides = "OneSide/TwoSidedPortrait/TwoSidedLandscape"
color_mode = "Auto/Color/Monochrome"
quality = "Draft/Normal/High"
[scan]
preview_dpi = 100
page_dpi = 300
page_quality = 75
[scan.common_options]
# Custom settings specifically for your printer.
# Parameters and keys must always be enclosed in quotes, even if they are numbers.
#
# To get a list of settings, you can either you can use 2 variants:
# 1. `scanimage -d "device" -A` and then take the parameter names and valid values from there (without the `--` prefix)
# 2. Run `mfp3000bot` with the `--verbose` flag and start scanning.
# Options for specific scanner. Just for tests
# [scanner."v4l:/dev/video0"]
# mode = "color"