A2ps - man page printing problem

John Horne john.horne at plymouth.ac.uk
Mon Aug 20 13:27:37 UTC 2007


On Mon, 2007-08-20 at 13:40 +0100, John Horne wrote:
> Hello,
> 
> I'm using F7 (64-bit) and a2ps version 4.13b-65. I tried to print out
> the 'visudo' man page on a postscript printer using the command:
> 
>     man visudo | a2ps -=lp -m
> 
> The man page was printed, but some parts of it were incorrect. Where the
> man page shows on my PC:
> 
>    digits, and the underscore (’_’) character.
> 
> The printed man page has:
> 
>    digits, and the underscore (aM-^@M-^Y_aM-^@M-^Y) character.
> 
Okay, I just noticed a reported bug of a similar problem
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=158890

I have my LANG set to 'en_US.UTF-8', so unicode characters are output.
If I run:

    LANG=en_US man visudo | a2ps -=lp -m

then it prints the underscore line (and others) correctly. Actually I
should use 'en_GB' since I'm in the UK, no idea why I didn't set this.


John.

-- 
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 233914
E-mail: John.Horne at plymouth.ac.uk       Fax: +44 (0)1752 233839




More information about the fedora-list mailing list