✏️ 正在编辑: locale2papersize
路径:
/usr/share/language-tools/locale2papersize
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
#!/bin/sh -pe # # locale2papersize outputs the paper size "a4" or "letter" based on # the height and width in the locale that is passed as an argument. export LC_PAPER=$1 height=$( locale height ) width=$( locale width ) if [ "$height" = 279 -a "$width" = 216 ]; then size=letter else size=a4 fi echo $size
💾 保存文件
← 返回文件管理器