[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Graphics (braille) embossing




Hello,

In case it helps, last time I looked at this, both margins and papersize set in cupps were ignored.
Using an index basic d embosser.


On 22/05/2020 14:33, Sebastian Humenda wrote:
Hi Samuel

I am warming up this rather old thread, since I finally got around to
experiment a bit.

Sebastian Humenda, le jeu. 20 févr. 2020 08:39:04 +0000, a ecrit:
There is software for Windows, not part of the standard embosser driver, which
can print SVG and black/white, 50 DPI pictures, so I was wondering whether
somebody did something similar on Debian?

Yes, I did :)
See the Braille Embossing section of /usr/share/doc/cups-filters/README.gz

Thanks for implementing  this :-). Where is the upstream source of this file?
I found the set up to be astonishingly simple, not remotely comparable with
the set up on Windows that I needed to do :-(.

Samuel Thibault schrieb am 20.02.2020, 23:11 +0100:
Sebastian Humenda, le jeu. 20 févr. 2020 22:17:56 +0100, a ecrit:
How good is the interpretation of the layout?

It's simply liblouis.

Ok, so I'll need to take a look there. The first results with the embosser
looked strange, a mixture of English and German grade 2 braille...

How would I adjust settings such as the language to emboss?

As usual with cups, in the http://localhost:631 web interface, or on the
fly on the command line.

I had the impression that it simply ignored settings that I have set in the
printer tab of my text editor (pluma), but I need a more reliable way to test
this. When I print from pluma, it always inserts the path to the file at the
top of the printed result, any clue why?

After a while, printing stopped working. I investigated the print command that
cups showed:

ile2brl -p -Chyphenate=yes -CliteraryTextTable=en-us-brf.dis,en-GB-g2.ctb,de-g2.ctb,de-de-comp8.ctb,braille-patterns.cti -CinputTextEncoding=UTF8 -CbraillePages=yes -CbraillePageNumberAt=bottom -CpageNumberBottomSeparateLine=yes -CprintPages=no -CpageSeparator=no -CpageSeparatorNumber=yes -CcontinuePages=no -CcellsPerLine=27 -ClinesPerPage=26 | | addmargins

First I figured out that liblouisxml-data was missing, should this be added as
a dependency?
Second, there seems to be no addmargins in the Debian archive, is this an
oversight?
Last but not least, there's a double pipe, I suppose dash doesn't like this.

When I pipe "hi" into the above text (with addmargins removed) I get an error
like pasted below this e-mail. Any idea what is going wrong?

I'd need to try it out myself. I'd think that curves are much more precise
with ~50 DPI,

Yes, but I'm unsure one can feel the difference that much.

I have tried to plot a diagram that has two close lines and it shows as one
line in the printed version. It is better when using Gnuplot with its ASCII
output module. I am not sure whether the issue is the missing resolution or
the conversion beforehand.

Thanks
Sebastian
===
Begin read_configuration_file
found table /usr/share/liblouis/tables/en-us-g2.ctb
found table /usr/share/liblouis/tables/en-us-g1.ctb
found table /usr/share/liblouis/tables/chardefs.cti
found table /usr/share/liblouis/tables/loweredDigits6Dots.uti
found table /usr/share/liblouis/tables/latinLetterDef8Dots.uti
found table /usr/share/liblouis/tables/litdigits6Dots.uti
found table /usr/share/liblouis/tables/braille-patterns.cti
found table /usr/share/liblouis/tables/en-us-g1.ctb
found table /usr/share/liblouis/tables/chardefs.cti
found table /usr/share/liblouis/tables/loweredDigits6Dots.uti
found table /usr/share/liblouis/tables/latinLetterDef8Dots.uti
found table /usr/share/liblouis/tables/litdigits6Dots.uti
found table /usr/share/liblouis/tables/braille-patterns.cti
found table /usr/share/liblouis/tables/en-us-comp8.ctb
found table /usr/share/liblouis/tables/loweredDigits6Dots.uti
found table /usr/share/liblouis/tables/latinLetterDef8Dots.uti
Cannot resolve table 'nemeth.ctb'
1 errors found.
nemeth.ctb could not be compiled
liblouisutdml.ini:38: Table 'nemeth.ctb' cannot be found.
liblouisutdml.ini:38: invalid mathexprTableName
found table /usr/share/liblouis/tables/compress.cti
found table /usr/share/liblouis/tables/en-us-g2.ctb
found table /usr/share/liblouis/tables/en-us-g1.ctb
found table /usr/share/liblouis/tables/chardefs.cti
found table /usr/share/liblouis/tables/loweredDigits6Dots.uti
found table /usr/share/liblouis/tables/latinLetterDef8Dots.uti
found table /usr/share/liblouis/tables/litdigits6Dots.uti
found table /usr/share/liblouis/tables/braille-patterns.cti
Cannot resolve table 'nemeth.ctb'
1 errors found.
nemeth.ctb could not be compiled
preferences.cfg:108: Table 'nemeth.ctb' cannot be found.
preferences.cfg:108: invalid mathexprTableName
found table /usr/share/liblouis/tables/en-us-brf.dis
found table /usr/share/liblouis/tables/en-GB-g2.ctb
found table /usr/share/liblouis/tables/de-g2.ctb
found table /usr/share/liblouis/tables/de-de-comp8.ctb
found table /usr/share/liblouis/tables/braille-patterns.cti
found table /usr/share/liblouis/tables/en-gb-g1.utb
found table /usr/share/liblouis/tables/text_nabcc.dis
found table /usr/share/liblouis/tables/ukchardefs.cti
found table /usr/share/liblouis/tables/loweredDigits6Dots.uti
found table /usr/share/liblouis/tables/latinLetterDef6Dots.uti
found table /usr/share/liblouis/tables/litdigits6Dots.uti
found table /usr/share/liblouis/tables/braille-patterns.cti
found table /usr/share/liblouis/tables/de-g0.utb
found table /usr/share/liblouis/tables/de-chardefs6.cti
found table /usr/share/liblouis/tables/digits6DotsPlusDot6.uti
found table /usr/share/liblouis/tables/latinLetterDef6Dots.uti
found table /usr/share/liblouis/tables/de-accents.cti
found table /usr/share/liblouis/tables/de-g0-core.uti
Duplicate emphasis class: italic
Duplicate emphasis class: underline
Duplicate emphasis class: bold
found table /usr/share/liblouis/tables/litdigits6Dots.uti
found table /usr/share/liblouis/tables/countries.cti
found table /usr/share/liblouis/tables/de-g2-core.cti
/usr/share/liblouis/tables/de-g2-core.cti:32: error: More than 128 characters
/usr/share/liblouis/tables/de-g2-core.cti:33: error: More than 128 characters
/usr/share/liblouis/tables/de-g2-core.cti:34: error: More than 128 characters
found table /usr/share/liblouis/tables/de-g2-core-patterns.dic
found table /usr/share/liblouis/tables/braille-patterns.cti
found table /usr/share/liblouis/tables/braille-patterns.cti
3 warnings issued
3 errors found.
en-us-brf.dis,en-GB-g2.ctb,de-g2.ctb,de-de-comp8.ctb,braille-patterns.cti could not be compiled
,hyphenate yes
literaryTextTable en-us-brf.dis,en-GB-g2.ctb,de-g2.ctb,de-de-comp8.ctb,braille-patterns.cti
inputTextEncoding UTF8
braillePages yes
braillePageNumberAt bottom
pageNumberBottomSeparateLine yes
printPages no
pageSeparator no
pageSeparatorNumber yes
continuePages no
cellsPerLine 27
linesPerPage 26
:2: Table 'en-us-brf.dis,en-GB-g2.ctb,de-g2.ctb,de-de-comp8.ctb,braille-patterns.cti' cannot be found.
,hyphenate yes
literaryTextTable en-us-brf.dis,en-GB-g2.ctb,de-g2.ctb,de-de-comp8.ctb,braille-patterns.cti
inputTextEncoding UTF8
braillePages yes
braillePageNumberAt bottom
pageNumberBottomSeparateLine yes
printPages no
pageSeparator no
pageSeparatorNumber yes
continuePages no
cellsPerLine 27
linesPerPage 26
:2: invalid literaryTextTable
Finish read_configuration_file
Begin read_configuration_file
Cannot resolve table 'nemeth.ctb'
1 errors found.
nemeth.ctb could not be compiled
liblouisutdml.ini:38: Table 'nemeth.ctb' cannot be found.
liblouisutdml.ini:38: invalid mathexprTableName
Cannot resolve table 'nemeth.ctb'
1 errors found.
nemeth.ctb could not be compiled
preferences.cfg:108: Table 'nemeth.ctb' cannot be found.
preferences.cfg:108: invalid mathexprTableName
found table /usr/share/liblouis/tables/en-us-brf.dis
found table /usr/share/liblouis/tables/en-GB-g2.ctb
found table /usr/share/liblouis/tables/de-g2.ctb
found table /usr/share/liblouis/tables/de-de-comp8.ctb
found table /usr/share/liblouis/tables/braille-patterns.cti
found table /usr/share/liblouis/tables/en-gb-g1.utb
found table /usr/share/liblouis/tables/text_nabcc.dis
found table /usr/share/liblouis/tables/ukchardefs.cti
found table /usr/share/liblouis/tables/loweredDigits6Dots.uti
found table /usr/share/liblouis/tables/latinLetterDef6Dots.uti
found table /usr/share/liblouis/tables/litdigits6Dots.uti
found table /usr/share/liblouis/tables/braille-patterns.cti
found table /usr/share/liblouis/tables/de-g0.utb
found table /usr/share/liblouis/tables/de-chardefs6.cti
found table /usr/share/liblouis/tables/digits6DotsPlusDot6.uti
found table /usr/share/liblouis/tables/latinLetterDef6Dots.uti
found table /usr/share/liblouis/tables/de-accents.cti
found table /usr/share/liblouis/tables/de-g0-core.uti
Duplicate emphasis class: italic
Duplicate emphasis class: underline
Duplicate emphasis class: bold
found table /usr/share/liblouis/tables/litdigits6Dots.uti
found table /usr/share/liblouis/tables/countries.cti
found table /usr/share/liblouis/tables/de-g2-core.cti
/usr/share/liblouis/tables/de-g2-core.cti:32: error: More than 128 characters
/usr/share/liblouis/tables/de-g2-core.cti:33: error: More than 128 characters
/usr/share/liblouis/tables/de-g2-core.cti:34: error: More than 128 characters
found table /usr/share/liblouis/tables/de-g2-core-patterns.dic
found table /usr/share/liblouis/tables/braille-patterns.cti
found table /usr/share/liblouis/tables/braille-patterns.cti
3 warnings issued
3 errors found.
en-us-brf.dis,en-GB-g2.ctb,de-g2.ctb,de-de-comp8.ctb,braille-patterns.cti could not be compiled
,hyphenate yes
literaryTextTable en-us-brf.dis,en-GB-g2.ctb,de-g2.ctb,de-de-comp8.ctb,braille-patterns.cti
inputTextEncoding UTF8
braillePages yes
braillePageNumberAt bottom
pageNumberBottomSeparateLine yes
printPages no
pageSeparator no
pageSeparatorNumber yes
continuePages no
cellsPerLine 27
linesPerPage 26
:2: Table 'en-us-brf.dis,en-GB-g2.ctb,de-g2.ctb,de-de-comp8.ctb,braille-patterns.cti' cannot be found.
,hyphenate yes
literaryTextTable en-us-brf.dis,en-GB-g2.ctb,de-g2.ctb,de-de-comp8.ctb,braille-patterns.cti
inputTextEncoding UTF8
braillePages yes
braillePageNumberAt bottom
pageNumberBottomSeparateLine yes
printPages no
pageSeparator no
pageSeparatorNumber yes
continuePages no
cellsPerLine 27
linesPerPage 26
:2: invalid literaryTextTable
Finish read_configuration_file
Starting new document
Cannot open main table (null)



Reply to: