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

Re: Braille embossing on Debian Bullseye



Hi Samuel

Samuel Thibault schrieb am 18.04.2022, 16:57 +0200:
>Sebastian Humenda, le dim. 17 avril 2022 20:51:04 +0200, a ecrit:
>> E [16/Apr/2022:15:11:58 +0200] [Job 12] Job submission timed out.
>> E [16/Apr/2022:15:11:58 +0200] [Job 12] Aborting job because it has no files.
>> E [16/Apr/2022:15:24:17 +0200] [CGI] ippfind (PID 19352) stopped with status 1!
>> E [16/Apr/2022:15:24:17 +0200] [cups-deviced] PID 19344 (driverless) stopped with status 1!
>> 
>> The embosser stopped after 2/3rd of the page
>
>So it indeed started printing the image, but didn't manage to finish it?

Yes, it did. I tried to print the Debian Logo of which I only got a "C", the
rest didn't fit apparently.

>> and refused to interact with to any key press. I had to force-reboot
>> it.
>
>Uh, perhaps there is a low-level communication problem, was that through
>USB or Ethernet?

It is connected via USB. I am going to  test whether I can figure something
out with more logging verbosity once I have access again.

>> Dissecting this further, I figured out that some translation tables seem to be
>> missing:
>> 
>> $ echo 'Hello, world!' |strace file2brl -p -Chyphenate=yes -CliteraryTextTable=en-us-brf.dis,en_GB.tbl,de-g2.ctb,braille-patterns.cti  -CinputTextEncoding=UTF8 -CbraillePages=yes -CbraillePageNumberAt=bottom -CpageNumberBottomSeparateLine=yes -CprintPages=yes -CprintPageNumberAt=top -CpageNumberTopSeparateLine=yes -CpageSeparator=yes -CpageSeparatorNumber=yes -CcontinuePages=yes -CcellsPerLine=29 -ClinesPerPage=27
>> [output without strace, config cropped]
>> :2: invalid literaryTextTable
>[...]
>> openat(AT_FDCWD, "/usr/share/liblouis/tables/braille-patterns.cti", O_RDONLY) = 6
>> stat("/usr/share/liblouisutdml/lbu_files/en-us-brf.dis,en_GB.tbl,de-g2.ctb,braille-patterns.cti", 0x7fffd96dd9b0) = -1 ENOENT (No such file or directory)
>> 
>> It seems as if the format to pass multiple braille tables is wrong. The list
>> seems to be interpreted like a literal file name. Any suggestions on how to
>> fix this?
>
>Mmm, I'm not getting any issue with:
>
>echo 'Hello, world!' | file2brl -p -Chyphenate=yes -CliteraryTextTable=en-us-brf.dis,en_GB.tbl,de-g2.ctb,braille-patterns.cti  -CinputTextEncoding=UTF8 -CbraillePages=yes -CbraillePageNumberAt=bottom -CpageNumberBottomSeparateLine=yes -CprintPages=yes -CprintPageNumberAt=top -CpageNumberTopSeparateLine=yes -CpageSeparator=yes -CpageSeparatorNumber=yes -CcontinuePages=yes -CcellsPerLine=29 -ClinesPerPage=27

Ok, I have the issue on both of my Debian Bullseye systems.

$ file2brl --version
file2brl (liblouisutdml) 2.9.0
Copyright (C) 2013 ViewPlus Technologies, Inc. and JJB Software, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John J. Boyer.

Thanks
Sebastian

Attachment: signature.asc
Description: PGP signature


Reply to: