Printer settings

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • gizzeta

    Printer settings

    Hi all, I have a problem with printer settings.
    I want to let users to print an automatic generated image from a web page.
    the problem is that the image is big (little smaller than A4) and if I print
    the page from "File --> Print" the image is automatically resized or printed
    in more than one page, if I set the page properties from the File menu I can
    reduce print margin and cut off header and footer, and then it works fine.
    So I would like to set page properties form javascript to let users print
    the image with right dimensions.

    Can anyone help me?



  • Randy Webb

    #2
    Re: Printer settings

    gizzeta wrote:[color=blue]
    > Hi all, I have a problem with printer settings.
    > I want to let users to print an automatic generated image from a web page.[/color]

    OK, thats easy enough.
    [color=blue]
    > the problem is that the image is big (little smaller than A4) and if I print
    > the page from "File --> Print" the image is automatically resized or printed
    > in more than one page, if I set the page properties from the File menu I can
    > reduce print margin and cut off header and footer, and then it works fine.[/color]

    Thats the default behavior.
    [color=blue]
    > So I would like to set page properties form javascript to let users print
    > the image with right dimensions.[/color]

    You can't.
    [color=blue]
    > Can anyone help me?[/color]

    Yes.


    --
    Randy
    Chance Favors The Prepared Mind
    comp.lang.javas cript FAQ - http://jibbering.com/faq/

    Comment

    • William Morris

      #3
      Re: Printer settings

      "gizzeta" <gizzeta@hotmai l.com> wrote in message
      news:QVyCc.1557 5$GQ3.400892@tw ister2.libero.i t...[color=blue]
      > Hi all, I have a problem with printer settings.[/color]

      That's a complaint programmers have been muttering for yeeeaaarrrsss.. .
      [color=blue]
      > I want to let users to print an automatic generated image from a web page.
      > the problem is that the image is big (little smaller than A4) and if I[/color]
      print[color=blue]
      > the page from "File --> Print" the image is automatically resized or[/color]
      printed[color=blue]
      > in more than one page, if I set the page properties from the File menu I[/color]
      can[color=blue]
      > reduce print margin and cut off header and footer, and then it works fine.
      > So I would like to set page properties form javascript to let users print
      > the image with right dimensions.[/color]

      You can't get there from here without some third-party help. Take a go at
      www.meadroid.com and have a look at ScriptX. The free version lets you
      control margins, headers, and footers.

      - Wm


      --
      William Morris
      Product Development, Seritas LLC
      Kansas City, Missouri


      Comment

      Working...