Your message dated Wed, 24 May 2023 12:40:12 +0900
with message-id <[email protected]>
and subject line Re: Bug#1036635: default papersize is always "letter"
has caused the Debian Bug report #1036635,
regarding default papersize is always "letter"
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1036635: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036635
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpaper-utils
Version: 1.1.29
Severity: normal
Hi, I tried with all pointing to "a4", but I get "letter".
```sh
$ ls -l /etc/papersize
-rw-r--r-- 1 root root 3 May 23 23:24 /etc/papersize
$ cat /etc/papersize
a4
$ LANG=ja_JP.UTF-8 LC_ALL=ja_JP.UTF-8 LC_PAPER=ja_JP.UTF-8 PAPERSIZE=a4
PAPERCONF=/etc/papersize paperconf -d
letter
```
There is something wrong? Or am I doing things wrong?
How can I set default paper size to "a4".
FYI:
$ LANG=ja_JP.UTF-8 LC_ALL=ja_JP.UTF-8 LC_PAPER=ja_JP.UTF-8 PAPERSIZE=a4
PAPERCONF=/etc/papersize locale
LANG=ja_JP.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="ja_JP.UTF-8"
LC_NUMERIC="ja_JP.UTF-8"
LC_TIME="ja_JP.UTF-8"
LC_COLLATE="ja_JP.UTF-8"
LC_MONETARY="ja_JP.UTF-8"
LC_MESSAGES="ja_JP.UTF-8"
LC_PAPER="ja_JP.UTF-8"
LC_NAME="ja_JP.UTF-8"
LC_ADDRESS="ja_JP.UTF-8"
LC_TELEPHONE="ja_JP.UTF-8"
LC_MEASUREMENT="ja_JP.UTF-8"
LC_IDENTIFICATION="ja_JP.UTF-8"
LC_ALL=ja_JP.UTF-8
So paperconf should be running under ja_JP.UTF8 (in the same papersize=a4
world.)
-- System Information:
Debian Release: 12.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-9-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libpaper-utils depends on:
ii libc6 2.36-9
ii libpaper1 1.1.29
libpaper-utils recommends no packages.
libpaper-utils suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi,
Thanks. I thought "default" as system default. OK, closed.
Osamu
On Tue, 2023-05-23 at 17:32 +0200, Giuseppe Sacco wrote:
> Hello,
>
> Il giorno mer, 24/05/2023 alle 00.19 +0900, Osamu Aoki ha scritto:
>
> [...]
> > Hi, I tried with all pointing to "a4", but I get "letter".
> > ```sh
> > $ ls -l /etc/papersize
> > -rw-r--r-- 1 root root 3 May 23 23:24 /etc/papersize
> > $ cat /etc/papersize
> > a4
> > $ LANG=ja_JP.UTF-8 LC_ALL=ja_JP.UTF-8 LC_PAPER=ja_JP.UTF-8 PAPERSIZE=a4
> > PAPERCONF=/etc/papersize paperconf -d
> > letter
> > ```
> > There is something wrong? Or am I doing things wrong?
> [...]
>
> you are asking for the default paper size, i.e., the one to be used when no
> configuration file is available. If you want the current paper size as per
> /etc/papersize, please remove the final "-d" from your command.
>
> It this what you were looking for?
>
> Bye,
> Giuseppe
--- End Message ---