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

Re: index braille embosser

On 07/04/19 22:02, Keith Barrett wrote:

On 07/04/19 20:44, Samuel Thibault wrote:

Keith Barrett, le dim. 07 avril 2019 13:10:07 +0100, a ecrit:
On 06/04/2019 23:50, Samuel Thibault wrote:

Keith Barrett, le sam. 06 avril 2019 19:00:22 +0100, a ecrit:
The embosser is recognized by cupps which correctly identified it's version.

The first side of the first page works although the embossing begins at the
very top edge, ignoring the top margin.

Do you mean the top margin you configured on the embosser or in cups?
In cups, I presume that the settings in cups would override anything set on
the embosser?

With the Index driver, yes.

All I can find in the cupps log is lots of the following:-

Unrecognized control character in .brf file.

How do you feed input to cups exactly?
So far, I have used "Control p" and selected the index printer from within
plumer text editor, should I be doing something different?

The problem with printing from applications is that for now applications
send a pdf to cups, which then can only use pdftotext to produce a text
document for the embosser, with the obvious issues. I still have to
convince cups people that applications should be given the choice of
just sending their document. In the meanwhile, you can just directly
submit your document from the command line:

lp foo.txt
OK, thank you for this.  Now I have a top margin as expected but the line lengths seem to be wrong.

It appears that there is an equal margin on each side of the page but every second line is cut short with only one or two words contained on it.

I wonder if I need to change the paper size in cups?

I will carry out some more tests to see if I can find out what is going on.
Can you tell me if the braille file is stored anywhere to see if the line breaks corresponjd with the braille output?
I have spent some time testing and my findings are:-
1 When setting the top margin in cups, it seems to be ignored or inaccurate. I have it set to 1 inch but the braille is extremely close to the top of the page or some times runs off the top of the paper. This is using tractor feed paper so I am ruling out paper alignment at this stage.

2 Line length seems to be inconsistent. I have compared a braille document embossed on a pc running windows and duxbery embossing software and the line length appears to be 42 characters including spaces. On cups, the line length is 38 characters and the remainder are transposed to the next line so we have a line with 38 characters and the following line has 4 to 5 characters and so on. The lines break in the middle of a wor

3 As far as I can gather, changing the paper size in cups does not affect the line length. I only have one size of tractor feed and I would expect changing the paper size in cups would determine the length of the lines but it does not seem to be the case.

The file I am testing with was created in libre office and saved as a plain text file.

I would really like to get this working if possible so thank you for your help.

Also, as a point of interest, can I send anything other than text files using the lp command?




Reply to: