On 2019.04.30 18:12, Dale wrote:
Howdy,
As some know, I got a printer. Now I'm trying to get some info and
print it using LOo for the most part. This is the way I do this. I
go
to a web page, sites will vary, and I highlight what I want and copy
it
to the clipboard. I then go to LOo and paste it as HTML, since that
is
what it is. At that point, LOo fetches things like pics and such to
place on the document. It takes a little time and I avoid copying
videos since it can't print a video. For the most part, this works
great. It takes a minute or so to fetch the pics and such and
everything looks fine. I remove anything I don't want such as ads and
such. Basically, it looks like the web page but I can edit it to make
fonts larger etc. However, sometimes it doesn't work.
[snip ......]
One important thing to remember is that when you copy/paste part of a
web page, it is not a complete HTML document, but only part of one.
There are lots of things you probably didn't copy, many of which are
not actually visible, such as css definitions, for example. You may
also end up with invalid HTML if what you copied does not have
correctly matched opening and closing tags for all the parts you
copied. When I do this type of thing to get a good print, I do a "Save
as..." in the browser, and then open the HTML doc in LO and delete what
I don't want. I also sometimes try saving as a plain LO doc, instead
of HTML, but always saving a copy before I make that change, as I've
found it has an inconsistent effect - depending (probably) on how the
original HTML was created. A lot of web pages seem to have been
created by tools which create very convoluted HTML, often with lots of
javascript assisting in the layout, and I don't believe that LO can do
anything with js (although I'm not absolutely certain about that.)
I'm sure others will have more concrete suggestions.
Jack