Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Jul 2002
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Printing Question

    Hi guys,

    We have developed a website and in the process of launching it. This issue just came up today.

    When printing any page form our site, using browser's print option or window.print(), the pages are getting cut-off.

    If I go an change the orientation to "landscape" it seems to be printed ok.

    Question: What could be the solution to tell browser to print the page in "LandScape".

    Please respond ASAP ....

    Any help is appreciated.

    Thanks,
    Nitesh

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    TEXAS . . . 'nuf said
    Posts
    468
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I could be wrong, but I don't know of any way to change the printing properties. Those are 'settings' on the user's computer that you're not supposed to be able to change.

    You can search the "old forum" (see upper right corner of page) for "print landscape" to see if you can find any decent information on the subject.
    Gordo
    "In the End, we will remember not the words of our enemies, but the silence of our friends."
    - Martin Luther King Jr. (1929-1968)

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Posts
    676
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Printing Question

    Originally posted by NRastogi
    Question: What could be the solution to tell browser to print the page in "LandScape".
    nra...
    you could just a have® printing instructions listed somewhere on your site where ya just a mention® in order to just a void® having the 'right' side of the pages 'clipped/cutoff' thattt the viewer will/would have to just a tell® their printer to print in landscape mode...

    just a nother® suggestion...:O)))
    The New JustaBuster Version 2.0 OR JustaBusta Lite V2.0
    ...just a special® thanx kinda hugs to jkd n' nex ...:O)))

    CommemorateWTC.com --Please lend your support

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You can account for printing by bearing in mind the following two things:

    1 - a page specified in pixels will print at the same pixel size, but a page specified in percentages will translate to percentages of page size. So - <table width="770" ... will go over the edge, but <table width="100%" will fit perfectly

    2 - the pixel width of an A4 page is about 600

  • #5
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by brothercake
    You can account for printing by bearing in mind the following two things:

    1 - a page specified in pixels will print at the same pixel size, but a page specified in percentages will translate to percentages of page size. So - <table width="770" ... will go over the edge, but <table width="100%" will fit perfectly

    2 - the pixel width of an A4 page is about 600
    Adding to this good stuff by brothercake, remember that you can specify different style sheets by media (assuming the browsers you target aren't antiques like Netscape 4).

    http://www.w3.org/TR/CSS2/media.html#at-media-rule


  •  

    Posting Permissions

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