Re: [elinks-users] Printing - no not the dump way

2012-05-19 Thread Chris Jones
On Fri, May 18, 2012 at 10:41:55PM EDT, Mayuresh wrote:
 On Fri, May 18, 2012 at 01:36:16PM -0400, Chris Jones wrote:

  Other options is to check out the ouput from lynx  w3m... though
  I doubt they do better than ELinks.
 
 Checked already. I prefer elinks output.

I did a quick test as well and noticed that ELinks does a better job
with bulleted lists, and in my setup jutifies the text - which I don't
mind since I read lots of man pages, but I guess some would find this
questionable with fixed-width fonts.

Elinks also has some color options, that might be significant for
highlighting and such but I haven't tested that yet. These days it can
be difficult to find a web page that renders correctly w/o js and css.

CJ

-- 
Have a nice day!
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Printing - no not the dump way

2012-05-18 Thread witekfl
The ELinks from the master branch draws nice looking frames in dumps.
 




___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Printing - no not the dump way

2012-05-18 Thread Chris Jones
On Fri, May 18, 2012 at 03:04:10AM EDT, witekfl wrote:

 The ELinks from the master branch draws nice looking frames in dumps.

Now you're telling me.. :-)

I indeed see it in the NEWS file:

* enhancement: ``elinks --dump'' uses box-drawing characters if
* supported by the charset.

I haven't tried it, but this looks promising. 

Thanks for the good news.

CJ

-- 
Hi! My name is bobby...
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Printing - no not the dump way

2012-05-18 Thread Mayuresh
On Fri, May 18, 2012 at 12:51:18AM -0400, Chris Jones wrote:
 | $ elinks -dump-width nnn -dump URL | lpr -P PDF 

Will try that out. Thanks.

Not sure how it would know it should fill the gaps left between line
drawing character though.

 Only other thing that comes to mind is that if it's just the tables
 bothering you, you might be able to write a script to postprocess the
 output of ?elinks -dump? and replace the pluses and dashes by the
 better-looking line-drawing characters and add it as a filter to the
 pipe above.

Yes. Sounds a bit challenging with + used in table corners as well as
within table etc. (for example).

Mayuresh
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Printing - no not the dump way

2012-05-18 Thread Mayuresh
On Fri, May 18, 2012 at 01:36:16PM -0400, Chris Jones wrote:
 Other options is to check out the ouput from lynx  w3m... though
 I doubt they do better than ELinks.

Checked already. I prefer elinks output.
Mayuresh.
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Printing - no not the dump way

2012-05-17 Thread Mayuresh
On Thu, May 17, 2012 at 03:18:49PM -0400, Chris Jones wrote:
  Any way to print as it appears in elinks?
 
 maybe the cups-pdf package.?

How would that print as it appears in elinks? Does elinks have interface
with it?

I have tried html2ps as well as printing to pdf from firefox etc. Point is
getting _same_ view as in elinks.

-dump comes close to it, though does not exactly match. E.g. there will be
gaps in | symbol that draws vertical lines in text dump. When elinks
renders it visually, there are no gaps.

Mayuresh.
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users