Hmm, I'm getting back to this after only a year's break ...
To recap I have output which mixes ascii and unicode braille patterns
and I need to print these on an ancient printer (a Braille Blazer from
1998) which seems to understand North American Braille Computer Code
(nabcc). It's an 8-dot printer and the notation I'm using has a lot of
dot 8 (i.e high bit set). The translation seems to work, i.e checking
the dot patterns that correspond to the 8-bit characters *after*
translation seem to match the original. I can't, however, print them.
This is over a USB-parallel adapter. Things with dot 8 present don't
seem to be printing correctly. A capital b (dots 1 2 7) will appear
before each such character and frequently the printed character will
be offset by 0x80 from the desired, as iff the high bit was being
ignored. I suspect this is either a printer or Linux device driver
problem  but in case anyone has either a brltty explanation or
workaround I thought I'd try here. Any pointers very much appreciated.
regards
Peter

Dave Mielke writes:
>[quoted lines by [email protected] on 2023/01/22 at 16:39 +1100]
>
>>Can brltty help with a mapping between the unicode braille patterns and 
>>whatever encoding this printer is using? 
>
>This command should do what you're looking for:
>
>   brltty-trtxt -6 -i en-nabcc -o en-nabcc <inputFile >outputFile
>
>The -6 option removes dots 7 and 8. If you'd like to keep those dots then 
>don't use it.
>
>The -i and -o options specify the input and output text tables to use.
>
>-- 
>I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
>Dave Mielke            | 2213 Fox Crescent | WebHome: http://Mielke.cc/
>EMail: [email protected]  | Ottawa, Ontario   | Twitter: @Dave_Mielke
>Phone: +1 613 726 0014 | Canada  K2A 1H7   |

-- 
Peter Rayner (he/him), Honorary Professorial Fellow, University of Melbourne
mobile +61 402 752 379
zoom id 4431343191, join at  
<https://unimelb.zoom.us/j/4431343191?pwd=a1E5Z3JEOTRVQUJsaVdRbVUvR1QyZz09>
mail-to: [email protected]
google scholar: 
<https://scholar.google.com.au/citations?user=H3up71wAAAAJ&hl=en>
I acknowledge the Traditional Custodians of the land on which I work, the 
Wurundjeri people of the Kulin nation, and pay my respect to their Elders, past 
and present
I am sending this email when convenient for me, please only respond when 
convenient for you
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Reply via email to