-
Notifications
You must be signed in to change notification settings - Fork 1
/
printui.conf.example
47 lines (42 loc) · 1.34 KB
/
printui.conf.example
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[server]
# IP to listen on (default: will listen on all addresses)
host = 0.0.0.0
# Port to listen on (default: 8013)
port = 8013
[log]
# Log level from CRITICAL, ERROR, WARNING, INFO or DEBUG (default: WARNING)
level = WARNING
# Additional debug output from bottle (default: false)
debug = false
[fonts]
# Use fonts installed to the system (default: true)
system_fonts = true
# Scan these paths for additional fonts (default: none)
# Multiple paths are seperated by a comma
additional_paths = /var/share/printuifonts,../additional_fonts/
[printer]
# Device identifier (default: auto discovery)
# Available protocols: file:///dev/lp1, usb://0x04f9:0x2015/000M6Z401370 or tcp://192.168.1.21:9100
#device = file:///dev/usb/lp1
# Backends to use for auto discovery, in this order (default: linux_kernel,pyusb)
discover = linux_kernel,pyusb
[defaults]
# Default values for the web interface
text =
label_size = auto
orientation = portrait
font = Minion Pro:Semibold,Linux Libertine:Regular,DejaVu Serif:Book
font_size = 100
align = center
margin_top = 24
margin_bottom = 45
margin_left = 35
margin_right = 35
copies = 1
threshold = 70
[website]
# Path where bottle serves static files from (default: module path)
#static_dir = static/
# URL to load static files from
# Only required if they are hosted independently
#static_url = https://mycdn.example.com/content/static