Newbie: Using elinks to convert html table to text file for printing on dot matrix printer
2011-12-06 11:23:34 GMT
Hi All,
I have just discovered elinks in my hunt for a Html->PrettyText solution.
A little background of my use-case:
My java application is formatting some data as html tables (basically simple reports) and sending them to my users' browser.
This
is shown nicely in their graphical browsers (firefox etc) but when
someone wishes to print it on text only (dot matrix) printer, the
printer sees the data as a graphical image and proceeds to print it very
slowly.
eg: character C would be printed in 3-4 passes by the printer - making it very very slow
I
am trying to pass this html string via a converter which will convert
it to text, keeping intact the column alignment for tables (i.e. keeping
intact the vertical alignment of cell data across the rows - by adding
extra spaces or wrapping text as required).
- Can I use elinks in a way where I give it a 'string' which is fully formed html page and get the text output which I can then send to the user's browser for fast printing?
Thanks in advance,
S.Singh
_______________________________________________ elinks-users mailing list elinks-users <at> linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
RSS Feed