Results 1 to 9 of 9

Thread: javascript/css : print report with header

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2001
    Location
    asia
    Posts
    87

    Unhappy javascript/css : print report with header

    how can i print a list of report that can have header and footer on each of them not only on the first page but each of the printed report. ( from ie window to A4 paper size window ) .

    hop to c reply soon. thanks

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Oct 2001
    Location
    asia
    Posts
    87
    wow....

    i guest no one know bout this ! though one

    ' a question is a mystery .....still a mystery...... until someone resolved it'

  3. #3
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    Originally posted by ZUWARI
    wow....

    i guest no one know bout this ! though one

    ' a question is a mystery .....still a mystery...... until someone resolved it'
    I dont think you have access to Printer Object from html page through JavaScript. You can merely call the Printing window dialog box thats all.

    Sorry to break the bad news ..
    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    It may be possible that the CSS2 print profile has a way of putting a header and footer on every page. I even have a faint idea of how that would work.

    Unfortunatly I don't think that there's a single browser out there that actually supports it.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  5. #5
    Lively Member
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    96
    you can let people print a document which isn't the same as the one they see..
    add your header and foother there...

    other way: http://developer.irt.org/script/1437.htm
    http://www.raketje.com coming..............soon................

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Oct 2001
    Location
    asia
    Posts
    87

    thanks

    hmmmm..... if that so. Okie

  7. #7
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Originally posted by bekkel
    you can let people print a document which isn't the same as the one they see..
    add your header and foother there...

    other way: http://developer.irt.org/script/1437.htm
    The other way is strictly IE-only.
    The first way isn't practical because it requires you to know the page size in order to place header and footer on every page.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  8. #8
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    Originally posted by CornedBee
    The other way is strictly IE-only.
    The first way isn't practical because it requires you to know the page size in order to place header and footer on every page.
    And also they will have to install or have the ActiveX installed on their system in order for it to work on IE.
    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

  9. #9
    Lively Member
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    96
    if someone want's to print a page I let them open an new popup window with the text and add a header and foother to it... and give an print order...... no adresbar etc.. only standard buttons
    http://www.raketje.com coming..............soon................

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width