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 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Printing Big (Huge... You dont belive how huge...) image in a browser

    Hi,

    This is a client side only request,

    I create a page dynamically looks like

    PHP Code:
    <center>
    <
    span style="font-size: 9pt; color: #00455a; font-family: Arial">One Line Text Here.</span>           
    <
    div><img id="Image1" style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px;
        border-right-width: 0px" 
    src="%image url here%"></td>
    </
    tr></div>
    <
    span style="font-size: 9pt; color: #00455a; font-family: Arial">Enother Text Here.</span>
    </
    center
    the image is long and automatically generated,

    When I send the page to the printer I can only see a part of the image, from the begging of the image to wherever fits one A4 piece of paper + the html.

    I need the image to be printed fully. Any Ideas how to make all Image available to printer ? (Re size is not an option ... I wish it was... )


    Thank for the Help and Excuse My English

  • #2
    Senior Coder jerry62704's Avatar
    Join Date
    Oct 2007
    Location
    Springfield, IL
    Posts
    1,100
    Thanks
    13
    Thanked 87 Times in 87 Posts
    You might specify dimensions to the picture or make sure that in its native form it is of the appropriate size.

    It would help of course if we had a link to the site as we can only speculate to the size of the image.
    .
    .
    ...and gladly would he learn and gladly teach

    Visit www.LiberalsWin.com for humor and the unique Bush/Obama Approval Polls

  • #3
    New to the CF scene
    Join Date
    Aug 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by jerry62704 View Post
    You might specify dimensions to the picture or make sure that in its native form it is of the appropriate size.

    It would help of course if we had a link to the site as we can only speculate to the size of the image.
    Hi Jerry,

    Thank for the reply

    Image is dynamically generated and size changes the same.
    Image could by 600px width and about 2500px height.

    The system is not currently connected to the internet.

    Specifying dimensions did not make any effect.
    P.S. I need to print the whole image, regardless to how much papers it will use. Resizing it to fit one page wont help me.

    If you want to reproduce this, just copy and paste it to a HTML file and use a big picture(maybe something like a desktop wall paper).


    Edit: The solution I implemented is slicing the big image into small ones... so that each slice would fit an A4 page.

    - e
    Last edited by edric; 08-28-2008 at 01:05 PM. Reason: Found Solution


  •  

    Posting Permissions

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