lp
Print files. See also:
lpstat,lpoptions. More information: https://manned.org/lp.
- Print the output of a command to the default printer (see
lpstatcommand):
echo "test" | lp
- Print a file to the default printer:
lp
- Print a file to a named printer (see
lpstatcommand):
lp -d
- Print
ncopies of a file to the default printer:
lp -n
- Print only certain pages to the default printer (print pages 1, 3-5, and 16):
lp -P 1,3-5,16
- Resume printing a job:
lp -i -H resume
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
