View Single Post
  #3  
Old July 22nd 17, 04:52 AM posted to microsoft.public.windowsxp.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Print a Web Page

freen wrote:
I am trying to print a very long webpage with pictures and text.
I also tried printing as a PDF.
Nothing works.
Either I get only one page or I get several messed up pages but never
all would be pages.
I tried to save as .html and then print and that was all messed up also.

Is there some app that can do this?


Just declare a printer pagesize which is big enough to hold
the entire page.

PDF probably goes to 32676 (signed 16-bit coordinate space).
At 300 DPI, that's about a 108" page or so.

This is a portion of the Yahoo News page, printed on 24"x108"
paper, just to illustrate how much content you could get.
The web page was actually over 300" long, so even my print
driver isn't good enough for that. The output is actually
three pages, with the usual lack of a guarantee that page 2
and page 3 are complete. This is 1/10th actual scale (and, while
printed at 100DPI so I wouldn't run out of RAM).

https://s18.postimg.org/kyjya0gex/sample3.gif

If you had a "print to TIF" driver, perhaps the coordinate
space on that would exceed signed 16-bit numbers. Then the
problem is, is GDIplus up to the job, of whatever passes
for the successor to the 16-bit GDI (a part of Windows).

And if you comment is "well, that page isn't very clear",
I had to limit the content to fit within the postimg.org
limits. If I opened the output .ps file with GIMP
and I had a big enough GIMP-swap file, I could open it at
300DPI. My other machine is big enough to do crazy ****
like that. I've worked on .psb files on that machine,
which is something Irfanview can allow you to view.
PSB is the Photoshop option which allows really big
images to be processed.

To beat these web monkeys at their game, you need
as large a virtual surface for rendering, as possible.

The print driver on this machine is

HP DesignJet 750C

which uses a PostScript output driver for 36" roll-fed paper.
We used to have one at work. You would never do huge artwork
on it, because of material cost. And that driver has the
108" limit vertically.

There are also "Universal Print Drivers" that you can
abuse for the same purpose, with large page capability.
That's a bit trickier to trace down, then do a "Print to File"
install. The labeling method, doesn't really allow me after
the fact, to figure out where I got mine. Microsoft
writes those, then the various printer manufacturers customize
them. It's intended to reduce the work required to
continue supporting older printers.

Now, this one, only goes to 17"x36", which isn't really enough.
The "Custom" dialog shows the max dimensions.

https://s1.postimg.org/ujwhc5uxr/universal.gif

Back in my Unix days, you had display software which
allowed declaring virtual desktops. You couldn't view the
virtual desktop on your screen. Maybe you could open a web
browser in a 4000x3000 virtual desktop. And by setting the
starting X,Y,L,W you could make it fill practically the
whole virtual desktop. Then, you'd do the Unix equivalent
of PrintScreen. But it's pretty hard working with stuff
that you can't see, and "sampling" it to get your output.

Regular print drivers, tend to stop at Tabloid (11x17),
so your prints vary from Letter (8.5x11) to Tabloid (11"x17"),
which isn't a lot of options. But there are a few print
drivers that go to at least 108" in the long dimension,
which helps a little bit with the printing problem.

Paul
Ads