← 返回命令列表

Linux command

paperconfig 命令

文本

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

常用示例

Set default paper size

paperconfig -p [a4]

Set to letter size

paperconfig -p letter

Reconfigure interactively

dpkg-reconfigure libpaper1

说明

paperconfig sets the system-wide default paper size used by the libpaper library (e.g., a4, letter, legal). Applications that query libpaper (such as many printing and TeX tools) use this value as their default. The tool rewrites /etc/papersize to hold the chosen paper name. Available paper names can be listed with paperconf -a.

参数

-p _PAPER_
Set paper size.
-h, --help
Display help.

FAQ

What is the paperconfig command used for?

paperconfig sets the system-wide default paper size used by the libpaper library (e.g., a4, letter, legal). Applications that query libpaper (such as many printing and TeX tools) use this value as their default. The tool rewrites /etc/papersize to hold the chosen paper name. Available paper names can be listed with paperconf -a.

How do I run a basic paperconfig example?

Run `paperconfig -p [a4]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -p _PAPER_ do in paperconfig?

Set paper size.