Re: Print / page dimensions



craigslist.jg@xxxxxxxxx wrote:
I'm in the process of building an "Internet Explorer" specific based
Intranet site. One of the requirements is to print a footer at the
bottom of each page when they print out a particular document.

Any way to access the client's page dimensions as observed when you
click "print preview" ? It'd be nice to obtain at least the page
"height" sans the header / footer area.

The best I could do, with a lot of trial and error, is get a pixel
height that seems to work in most of our user's environments. Although
sometimes you're left with more "blank space" at the bottom, it
generally seems to work. I just thought I'd ask to see if anyone has
ran into anything like this.


Well I am sort of engaged in this right now: However I completely sidestepped the problem and do it all server side.

I.e all docs are generated by PHP server side, and each user is detected, and his favorite printer set up as a queue on the same server, driving the printers over the network.

PHP generates postcript files and spits them to the users local printq.

No javascript at all, in this instance!

I mention it because it was the only way I could guarantee clean uncluttered print output for things like invoices and delivery notes etc.

Over a WAN I'd generate PDFS and get the user to download & print them., or maybe RTF.



Thanks.

.



Relevant Pages

  • Re: Curious about top posts
    ... >> You don't read a book or newspaper article from bottom to ... so why would you set-up your newsgroup post that way? ... The fundamental architecture of Usenet is ... from server to server, eventually arriving on someone else's server ...
    (alt.tv.survivor)
  • Re: match machine name to user name
    ... :>: query the server from a client for a username based on a machine name. ... :> It reads better if you post inline or at the bottom. ... Is it better to use the script to poll the server or to ...
    (microsoft.public.scripting.vbscript)
  • Re: Footers - where are they measured from?
    ... When your bottom margin is 3 cm and the footer margin is 1 cm, ... the footer is at 1 cm (that is, Word allows 1 cm between the footer and the ... > "Suzanne S. Barnhill" wrote in message ...
    (microsoft.public.word.docmanagement)
  • Re: lines getting cut off
    ... If you have set the bottom margin to 0cm, the footer is definitely in the non-printable area. ... Only professional printers have the capability of printing close to the edge of the page and often printing right to the edge is achieved by using over-size pages and trimming off the excess after printing. ...
    (microsoft.public.word.application.errors)
  • Re: Modify Heading1 Style to be numbered but not show numbers
    ... This will put the page number on all pages at the bottom, ... Double click in the body to close the footer. ... click on Page Layout, Breaks, Section Breaks, Odd Page. ... At the bottom of Chapter two's first footer, format the page number ...
    (microsoft.public.word.numbering)