* Re: [Printing-architecture] documents and braille [Was: cups-filters 1.4.0 released!] [not found] ` <20151220235820.GU4287@var.home> @ 2015-12-21 12:47 ` Till Kamppeter 2015-12-21 14:25 ` Samuel Thibault 0 siblings, 1 reply; 2+ messages in thread From: Till Kamppeter @ 2015-12-21 12:47 UTC (permalink / raw) To: Samuel Thibault, Debian-printing, printing-architecture, Adam Chester, Yann Soubeyrand On 12/20/2015 09:58 PM, Samuel Thibault wrote: > Hello, > > Till Kamppeter, on Mon 14 Dec 2015 23:02:48 -0200, wrote: >> Applications usually send only PDF when printing, CUPS usually >> accepts also images and plain text which is also covered by these. > > I'm wondering about this. Ideally the scenario that should work is: > > - user opens a libreoffice document > - user prints to an ink printer > - that sends a PDF to cups, which prints it > - user prints to an embosser with "ink" formatting option enabled > - that sends the .pdf file to cups, which uses filters to turn each of > its page into braille. > - user prints to an embosser with "braille" formatting option enabled > - that sends the .odt file to cups, which uses filters to turn that > into nicely-formatted braille. > > This would be really useful to happen this way, notably because since > braille takes a lot of room, page numbers are completely different > between ink document and embossed document. > > In some cases the user may want to get an exact equivalent to what would > be printed on an "ink" printer so as to be able to discuss about it > with other people, i.e. the page references are the same, etc. So going > through the PDF is what is expected here. > > In other cases the user wants his own document, with page numbers which > follow the braille formatting, footnotes printed on the same braille > page, etc. In that case, we really want the odt to be sent to CUPS for > processing by filters. > > Is it possible to have such option between libreoffice and CUPS? First, I would not call the two modes "ink" and "braille", but something like "Original layout" and "Braille-optimized layout". Second, LibreOffice does not send .odt files when clicking "Print" in the print dialog. By default it sends PDF, and in the settings you can switch it to PostScript, but there is always one of these two formats selected for all printers. At least the PDF sent by LibreOffice is not a bitmap of each page, but it contains the (searchable) text and instructions for formatting and layout (high-level/vector graphics), similar to what the .odt file contains. So it should be possible to extract the text and formatting and re-arrange it for the Braille output (as e-book readers can do it with PDFs or the "reflow" mode of the Adobe Reader on Android). I also doubt whether the LibreOffice developers would implement a feature request of sending print data in .odt format, but I would rather believe in that they would implement a feature request in giving optimizing options for the PDF of the print output, for example for e-book reader/braille embosser text-reflow-friendliness. Till ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Printing-architecture] documents and braille [Was: cups-filters 1.4.0 released!] 2015-12-21 12:47 ` [Printing-architecture] documents and braille [Was: cups-filters 1.4.0 released!] Till Kamppeter @ 2015-12-21 14:25 ` Samuel Thibault 0 siblings, 0 replies; 2+ messages in thread From: Samuel Thibault @ 2015-12-21 14:25 UTC (permalink / raw) To: Till Kamppeter Cc: printing-architecture, Adam Chester, Debian-printing, Yann Soubeyrand Hello, Till Kamppeter, on Mon 21 Dec 2015 10:47:27 -0200, wrote: > First, I would not call the two modes "ink" and "braille", but something > like "Original layout" and "Braille-optimized layout". Ok. > Second, LibreOffice does not send .odt files when clicking "Print" in the > print dialog. By default it sends PDF, and in the settings you can switch it > to PostScript, but there is always one of these two formats selected for all > printers. I know, that's precisely what I'd like to see optionally changed. > At least the PDF sent by LibreOffice is not a bitmap of each page, but it > contains the (searchable) text and instructions for formatting and layout > (high-level/vector graphics), similar to what the .odt file contains. So it > should be possible to extract the text and formatting and re-arrange it for > the Braille output (as e-book readers can do it with PDFs or the "reflow" > mode of the Adobe Reader on Android). I know, but that's extremely far from optimal: the structure is nicely encoded inthe odt file, while finding it out from the pdf file is at *best* a pain, and will not allow proper reformatting such as putting footnotes at the bottom of pages, renumbering page references, etc. > I also doubt whether the LibreOffice developers would implement a feature > request of sending print data in .odt format, I don't see why: this doesn't seem like a hard feature to implement. Another way would have been to emit an epub or a daisy document but that's way more involved, I wouldn't try to ask for this. > but I would rather believe in that they would implement a > feature request in giving optimizing options for the PDF of the > print output, for example for e-book reader/braille embosser > text-reflow-friendliness. This feature request is actually already pending, since this is equivalent to the general accessibility of PDF files. This is however still quite far from optimal, I would really not bet on this on the long run. Samuel ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-21 14:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <566F564D.9040000@gmail.com>
[not found] ` <20151215000648.GK2967@var.home>
[not found] ` <566F66B8.4060106@gmail.com>
[not found] ` <20151220235820.GU4287@var.home>
2015-12-21 12:47 ` [Printing-architecture] documents and braille [Was: cups-filters 1.4.0 released!] Till Kamppeter
2015-12-21 14:25 ` Samuel Thibault
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.