← 返回命令列表

Linux command

paperconf 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show default paper size

paperconf

Show paper width

paperconf -w

Show paper height

paperconf -h

Show specific paper

paperconf -p [a4]

Show in millimeters

paperconf -m

说明

paperconf displays paper size information. Queries system paper settings. The tool shows dimensions and names. Part of libpaper.

参数

-p _PAPER_
Select the paper name to query (a4, letter, legal, …). Without this, the system default is used.
-d
Use libpaper's built-in default instead of the system setting.
-a
Iterate over every known paper.
-n
Print the paper name.
-N
Print the paper name with the first letter capitalized.
-s
Print size as width followed by height.
-w
Print width.
-h
Print height.
-c
Express dimensions in centimetres.
-m
Express dimensions in millimetres.
-i
Express dimensions in inches (default is PostScript points).
-z
Return an error when an unknown paper is given instead of falling back.

FAQ

What is the paperconf command used for?

paperconf displays paper size information. Queries system paper settings. The tool shows dimensions and names. Part of libpaper.

How do I run a basic paperconf example?

Run `paperconf` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -p _PAPER_ do in paperconf?

Select the paper name to query (a4, letter, legal, …). Without this, the system default is used.