This error occurs when the file /etc/papersize is missing.
Just run the following command to correct this error.
sudo echo "letter" > /etc/papersize
man papersize for a detailed help about papersize.
But indeed there is a bug because a2ps should fallback to a default
value if /etc/papersize doesn't exists.
Since this bug has enough information provided for a developer to begin
work, I'm going to mark it as confirmed and let them handle it from
here. Thanks for taking the time to make Ubuntu better!
** Changed in: a2ps (Ubuntu)
Status: New => Confirmed
** Summary changed:
- a2ps exits with 'unknown medium libpaper' error
+ a2ps exits with 'unknown medium libpaper' error when file /etc/papersize is
missing
--
a2ps exits with 'unknown medium libpaper' error when file /etc/papersize is
missing
https://bugs.launchpad.net/bugs/149551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs