-
Notifications
You must be signed in to change notification settings - Fork 15
/
ipp-usb.conf
98 lines (88 loc) · 3.31 KB
/
ipp-usb.conf
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# ipp-usb.conf: example configuration file
# Networking parameters
[network]
# TCP ports for HTTP will be automatically allocated in the following range
http-min-port = 60000
http-max-port = 65535
# Enable or disable DNS-SD advertisement
dns-sd = enable # enable | disable
# Network interface to use. Set to `all` if you want to expose you
# printer to the local network. This way you can share your printer
# with other computers in the network, as well as with iOS and Android
# devices.
interface = loopback # all | loopback
# Enable or disable IPv6
ipv6 = enable # enable | disable
# Local user authentication by UID/GID
[auth uid]
# Syntax:
# operations = users
#
# Operations are comma-separated list of following operations:
# all - all operations
# config - configuration web-console
# fax - faxing
# print - printing
# scan - scanning
#
# Users have the following suntax:
# user - user name
# @group - all users that belongs to the group
#
# Users and groups may be specified either by names or by
# numbers. "*" means any
#
# Note, if user/group is not known in the context of request
# (for example, in the case of non-local network connection),
# "*" is used for matching, which will only match wildcard
# rules.
#
# User/group names are resolved at the moment of request
# processing (and cached for a couple of seconds), so running
# daemon will see changes to the /etc/passwd and /etc/group
#
# Examples:
# fax, print = lp, @lp # Allow CUPS to do its work
# scan = * # Allow any user to scan
# config = @wheel # Only wheel group members can do that
all = *
# Logging configuration
[logging]
# device-log - per-device log levels
# main-log - main log levels
# console-log - console log levels
#
# parameter contains a comma-separated list of
# the following keywords:
# error - error messages
# info - informative messages
# debug - debug messages
# trace-ipp, trace-escl, trace-http - very detailed per-protocol traces
# trace-usb - hex dump of all USB traffic
# all - all logs
# trace-all - alias to all
#
# Note, trace-* implies debug, debug implies info, info implies error
device-log = all
main-log = debug
console-log = debug
# Log rotation parameters:
# max-file-size - max log file before rotation. Use suffix M
# for megabytes or K for kilobytes
# max-backup-files - how many backup files to preserve during rotation
#
max-file-size = 256K
max-backup-files = 5
# Enable or disable ANSI colors on console
console-color = enable # enable | disable
# ipp-usb queries IPP printer attributes at the initialization time
# for its own purposes and writes received attributes to the log.
# By default, only necessary attributes are requested from device.
#
# If this parameter is set to true, all printer attributes will
# be requested. Normally, it only affects the logging. However,
# some enterprise-level HP printers returns such huge amount of
# data and do it so slowly, so it can cause initialization timeout.
# This is why this feature is not enabled by default
get-all-printer-attrs = false # false | true
# vim:ts=8:sw=2:et