javascript thread: Printing Problem. Please help!
Thanks for staying with me on this, Gary. I appreciate your time.
I have no problem with printing single images so they fit onto a printed
page. But I need to insert a page break between images so that a single
print operation can print multiple images, one-per-page.
I look forward to seeing what you come up with. Thanks again.
- Jeff
> Jeff:
>
> The width of the "screen" of the printer is directly proportional to its
> height. If you use the auto sizing and design (by trial and error) the
page
> so that it prints correctly on one printer, it should print correctly on
> most of them. That is not to say that it is not a pain, designing the
page,
> but if you create an image, the size that just fits on the printer, then
load
> it into your browser and adjust the browser till it is just ever so
slightly
> larger (so the scroll bars just barely disappear on the screen) than the
image,
> you can flip to the test page and see if it turns on the scrollbars. If
it does,
> the page will be modified by the printer and possible break images..
I'll try
> to take a look at this later this week, and see if I can modify my
script so
> that it will work for you. Good Luck
>
> Gary
>
> -----Original Message-----
> From: jeffg22@a... [mailto:jeffg22@a...]
> Sent: Saturday, May 19, 2001 3:51 PM
> To: javascript
> Subject: [javascript] RE: Printing Problem. Please help!
>
>
> > Jeff:
> >
> > The thing to realize is that currently, the printer appears as
> > a 640 pixel screen. Thus, if you adapt the sizes and by trial and
error
> > adjust your page, it should work every time on the printer. I'll have
to
> > get back to the Ninnescape Nastigator
> > problems. I realy don't even know if the code still dosn't
> > work with NN-4 or 6. (To be fair, 6 is a major improvement,
> > but allas, mot that use NN also do not upgrade. AAAAAAAAAA!
> >
> > Gary W. Sherwin, Webmaster
> > Plants_and_Fungi Guide
> > http://members.nbci.com/sherwingws/Plants_and_Fungi/
> >
> >
> >
> Thanks for your guidance, Gary -
>
> I don't really have a problem with the width of the images; my issue is
> with the length. The length will vary with each image, but will be less
> than the size of a sheet of paper. My problem is how can I get each
image
> to start at the top of a page rather than multiple images/page, or,
worse,
> having images cut in half by the page break.
>
> I have tried inserting a transparent filler image (size set by
computation
> based on principal image size). I have gotten it to work perfectly on my
> printer, and then verified that images are cut in half on another printer
> (same printer mfr - HP). I'm guessing that printer drivers have a role
in
> this problem, and, of course, I have no control over the users' drivers.
>
> Hence I was looking for a coded/scripted 'page break' function for a
print
> operation, or something similar.
>
> - Jeff
>
>