Re: [PLUG] Downloading wide web page displays on a square monitor

2021-11-08 Thread Rich Shepard

On Mon, 8 Nov 2021, Tomas Kuchta wrote:


Or you could try different browser, such as google chrome


Or, I use a different entry into the database. :-) It was first suggested
(by the database tutorials) to use the maps tab. Then I leared that to
download the data instead of only looking at it, start with the export tab.

Regards,

Rich


Re: [PLUG] Downloading wide web page displays on a square monitor

2021-11-08 Thread Tomas Kuchta
If you really believe that it is caused by the lack of wide screen. You
could start vncserver -geometry 1920x1080
Then vncviewer :1
In it open the browser in full screen, load the page, print the page, 
Get off vncviewer, vncserver -kill :1

Or you could try different browser, such as google chrome

-T

On Mon, Nov 8, 2021, 16:35 Rich Shepard  wrote:

> On Mon, 8 Nov 2021, Robert Citek wrote:
>
> > This sounds like a job for Python's Pandas library, which can parse HTML
> > tables into data frames and export to CSV, for example.
> >
> > I'd be happy to try that out if you can e-mail a copy of the html file
> that
> > you downloaded, the one with html and javascript noise.
>
> Robert,
>
> I can handle .html, but the only way to get html is by saving. Here's an
> example:
> 
> http://www.w3.org/1999/xhtml;>
> 
>  

Re: [PLUG] Downloading wide web page displays on a square monitor [RESOLVED]

2021-11-08 Thread Rich Shepard

On Mon, 8 Nov 2021, Rich Shepard wrote:


I can handle .html, but the only way to get html is by saving. Here's an
example:


Robert,

The program manager called me and he put me on the proper path to get the
data I need. Turns out I had selected the wrong initial place to access the
database. Now I know where to go I'll grab all geochemical and biological
data available for all the monitoring locations I need.

Thanks for your help,

Rich


Re: [PLUG] Downloading wide web page displays on a square monitor

2021-11-08 Thread Rich Shepard

On Mon, 8 Nov 2021, Robert Citek wrote:


This sounds like a job for Python's Pandas library, which can parse HTML
tables into data frames and export to CSV, for example.

I'd be happy to try that out if you can e-mail a copy of the html file that
you downloaded, the one with html and javascript noise.


Robert,

I can handle .html, but the only way to get html is by saving. Here's an
example:

http://www.w3.org/1999/xhtml;>


Re: [PLUG] Downloading wide web page displays on a square monitor

2021-11-08 Thread Robert Citek
Gotcha.  This sounds like a job for Python's Pandas library, which can
parse HTML tables into data frames and export to CSV, for example.

I'd be happy to try that out if you can e-mail a copy of the html file that
you downloaded, the one with html and javascript noise.

Regards,
- Robert


On Mon, Nov 8, 2021 at 2:14 PM Rich Shepard 
wrote:

> On Mon, 8 Nov 2021, Robert Citek wrote:
>
> > What are you really trying to do?  Get the data in an electronic format,
> or
> > print it on paper, or something else? - Robert
>
> Download digital data that can be analyzed.
>
> Rich
>


Re: [PLUG] Downloading wide web page displays on a square monitor

2021-11-08 Thread Rich Shepard

On Mon, 8 Nov 2021, Robert Citek wrote:


What are you really trying to do?  Get the data in an electronic format, or
print it on paper, or something else? - Robert


Download digital data that can be analyzed.

Rich


Re: [PLUG] Downloading wide web page displays on a square monitor

2021-11-08 Thread Robert Citek
What are you really trying to do?  Get the data in an electronic format, or
print it on paper, or something else? - Robert

On Mon, Nov 8, 2021 at 2:05 PM Rich Shepard 
wrote:

> On Mon, 8 Nov 2021, Robert Citek wrote:
>
>
> > onto different pages.  If so, then maybe "fit to page" ( or some scaling
> > factor ) followed by `pdfposter` might fit your bill.
> > http://manpages.ubuntu.com/manpages/bionic/man1/pdfposter.1.html
>
> Robert,
>
> Could be. Then I'd need to extract the text and put that all together.
>
> > FWIW, the link you provided didn't show any data, only an error message
> > saying "No results were found" even after logging in with 'orpublic'
>
> Probably because you didn't follow the path I did.
>
> Most agencies proving environmetal data have a checkbox on each page to
> download the displayed data as a tab- or comma-separated file. Other DEQ
> pages do, but apparently this program doesn't.
>
> Thanks,
>
> Rich
>


Re: [PLUG] Downloading wide web page displays on a square monitor

2021-11-08 Thread Rich Shepard

On Mon, 8 Nov 2021, Robert Citek wrote:



onto different pages.  If so, then maybe "fit to page" ( or some scaling
factor ) followed by `pdfposter` might fit your bill.
http://manpages.ubuntu.com/manpages/bionic/man1/pdfposter.1.html


Robert,

Could be. Then I'd need to extract the text and put that all together.


FWIW, the link you provided didn't show any data, only an error message
saying "No results were found" even after logging in with 'orpublic'


Probably because you didn't follow the path I did.

Most agencies proving environmetal data have a checkbox on each page to
download the displayed data as a tab- or comma-separated file. Other DEQ
pages do, but apparently this program doesn't.

Thanks,

Rich


Re: [PLUG] Downloading wide web page displays on a square monitor

2021-11-08 Thread Robert Citek
It sounds like what you want is to "tile" the page and print separate tiles
onto different pages.  If so, then maybe "fit to page" ( or some scaling
factor ) followed by `pdfposter` might fit your bill.

http://manpages.ubuntu.com/manpages/bionic/man1/pdfposter.1.html

FWIW, the link you provided didn't show any data, only an error message
saying "No results were found" even after logging in with 'orpublic'

Regards,
- Robert


On Mon, Nov 8, 2021 at 12:41 PM Rich Shepard 
wrote:

> On Mon, 8 Nov 2021, Rich Shepard wrote:
>
> >> What comes to mind is the “fit to print” ( or similarly named ) option.
>
> > That might end up a 2pt font. :-)
>
> I zoomed out until all columns displayed, set the page size to US Legal and
> the orientation to landscape. Printed a .pdf to file. The font was large
> and
> only the left-most columns are displayed; mupdf doesn't allow me to scroll
> across.
>
> Running pdftotext doesn't add any new information; only what's seen in the
> .pdf file.
>
> Rich
>


Re: [PLUG] Downloading wide web page displays on a square monitor

2021-11-08 Thread Rich Shepard

On Mon, 8 Nov 2021, Rich Shepard wrote:


What comes to mind is the “fit to print” ( or similarly named ) option.



That might end up a 2pt font. :-)


I zoomed out until all columns displayed, set the page size to US Legal and
the orientation to landscape. Printed a .pdf to file. The font was large and
only the left-most columns are displayed; mupdf doesn't allow me to scroll
across.

Running pdftotext doesn't add any new information; only what's seen in the
.pdf file.

Rich


Re: [PLUG] Downloading wide web page displays on a square monitor

2021-11-08 Thread Rich Shepard

On Mon, 8 Nov 2021, Robert Citek wrote:


What comes to mind is the “fit to print” ( or similarly named ) option.


Robert,

That might end up a 2pt font. :-)


Is the website publicly accessible? If so, can you post the URL so that we
can try out solutions?


Rather than providing the path to get there here's a representative page:


If you need to log into the Ambient Water Quality Monitoring System's
database and can't find your way to the portal ask me and I'll provide
directions. Anyone can log in with the username and password 'orpublic'
(without quotes, of course.)

Rich


Re: [PLUG] Downloading wide web page displays on a square monitor

2021-11-08 Thread Robert Citek
Hello Rich,

What comes to mind is the “fit to print” ( or similarly named ) option.

Is the website publicly accessible?  If so, can you post the URL so that we
can try out solutions?

Regards,
- Robert


On Mon, Nov 8, 2021 at 12:22 PM Rich Shepard 
wrote:

> I use HP/Compaq LA1951g 19" square monitors (1280x1024 dpi default
> resolution).
>
> On occasion, such as today, I try to print from firefox a web page of a
> data
> table that is too wide to see all on the monitor. I can scroll horizontally
> but only the visible portion of the table is printed.
>
> When I try to save the page I get all the html/javascript code in which the
> signal is buried in the page code noise.
>
> Might there be a way of downloading these pages?
>
> Rich
>


[PLUG] Downloading wide web page displays on a square monitor

2021-11-08 Thread Rich Shepard

I use HP/Compaq LA1951g 19" square monitors (1280x1024 dpi default
resolution).

On occasion, such as today, I try to print from firefox a web page of a data
table that is too wide to see all on the monitor. I can scroll horizontally
but only the visible portion of the table is printed.

When I try to save the page I get all the html/javascript code in which the
signal is buried in the page code noise.

Might there be a way of downloading these pages?

Rich