Files
tldr/pages.zh/common/cupsd.md

36 lines
754 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# cupsd
> CUPS打印服务器的服务器守护进程。
> 更多信息:<https://openprinting.github.io/cups/doc/man-cupsd.html>。
- 在后台启动 `cupsd`,即作为守护进程:
`cupsd`
- 在前台启动 `cupsd`
`cupsd -f`
- 按需[l]aunch `cupsd`(通常由 `launchd``systemd` 使用):
`cupsd -l`
- 使用指定的[`c`]`upsd.conf`配置文件启动 `cupsd`
`cupsd -c {{path/to/cupsd.conf}}`
- 使用指定的 `cups-file`[`s`]`.conf`配置文件启动 `cupsd`
`cupsd -s {{path/to/cups-files.conf}}`
- [t]est `cupsd.conf`配置文件的错误:
`cupsd -t -c {{path/to/cupsd.conf}}`
- [t]est `cups-file`[`s`]`.conf`配置文件的错误:
`cupsd -t -s {{path/to/cups-files.conf}}`
- 显示帮助:
`cupsd -h`