Re: [BRLTTY] printing unicode braille patterns on BrailleBlazer printer

2023-12-29 Thread Jason J.G. White


On 29/12/23 00:55, peter.julien.ray...@gmail.com wrote:

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
Have you tried writing the file directly to the output device (i.e., 
under /dev), bypassing the printing layer just for testing purposes?___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] printing unicode braille patterns on BrailleBlazer printer

2023-12-29 Thread Lars Bjørndal
Hi, Peter!

You wrote:

> 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.

I don't know your printer, but most of them has either a menu or a possibility 
to set parameters through sending esc codes, e.g. the esc char followed by some 
characters. Did you try to turn the embosser into 8 dot mode. I suppose the 
default is 6 dot. You may also check which character set the embosser supports.

Hope this helps.

Lars

> Dave Mielke writes:
> >[quoted lines by peter.julien.ray...@gmail.com 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 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: d...@mielke.cc  | 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  
> 
> mail-to: peter.julien.ray...@gmail.com
> google scholar: 
> 
> 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: BRLTTY@brltty.app
> For general information, go to: http://brltty.app/mailman/listinfo/brltty
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty


Re: [BRLTTY] printing unicode braille patterns on BrailleBlazer printer

2023-12-28 Thread peter.julien.rayner
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 peter.julien.ray...@gmail.com 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 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: d...@mielke.cc  | 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  

mail-to: peter.julien.ray...@gmail.com
google scholar: 

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: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty


Re: [BRLTTY] printing unicode braille patterns on BrailleBlazer printer

2023-01-22 Thread Dave Mielke
[quoted lines by peter.julien.ray...@gmail.com 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 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: d...@mielke.cc  | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: +1 613 726 0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty


Re: [BRLTTY] printing unicode braille patterns on BrailleBlazer printer

2023-01-22 Thread Dave Mielke
[quoted lines by peter.julien.ray...@gmail.com on 2023/01/22 at 16:39 +1100]

>I'll attach an example (if the list allows attachments).

Yes, it does.

>Can brltty help with a mapping between the unicode braille patterns and 
>whatever encoding this printer is using?

I'm sure the printer is using ASCII braille. Yes, brltty's brltty-ttb command 
should be able to do what you're looking for. To save me some time, could you 
please let me know the first line in your attached file which contains Unicode 
braille patterns, i.e.the first line which the printer is garbelling?

-- 
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: d...@mielke.cc  | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: +1 613 726 0014 | Canada  K2A 1H7   |
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty


[BRLTTY] printing unicode braille patterns on BrailleBlazer printer

2023-01-21 Thread peter.julien.rayner
I have an ancient (25 years) braille printer, a Braille Blazer. It has
an 8-dot mode which works in some sense, e.g. will braille ascii
correctly. I want to braille a series of files with a mixture of
unicode patterns and ascii. I'll attach an example (if the list allows
attachments). For the curious it's a mixture of a bespoke braille
music notation and lyrics transcribed by louis.translateString. This
works fine on my refreshable braille display but the printer garbles
the music and embosses the lyrics correctly. Can brltty help with a
mapping between the unicode braille patterns and whatever encoding
this printer is using? If not, does anyone have the mapping for the
nonascii part?
pointers to documentation are of course fine
thanks in advance for any help
Peter

-- 
Peter Rayner (he/him)
the Inversion Lab
mobile +61 402 752 379
zoom id 4431343191, join at  

mail-to: peter.julien.ray...@gmail.com
google scholar: 

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


178
Description: Sacred Harp 178 notated
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty