473,320 Members | 1,612 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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

2
Hi,

This is a client side only request,

I create a page dynamically looks like

[HTML]<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>[/HTML]


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
Aug 27 '08 #1
2 1081
FLEB
30
Can you cut the output image up into a number of shorter "slice" images, then use multiple img tags to reconstruct it? I'm figuring that since there would then be more img tags (in effect, more individual pieces of content), the pages should print.

If you can't do that on the server-side, you might be able to get creative with the CSS "clip" property. put multiple copies of the img tag into DIVs, then clip them down to simulate slices of the image. You'll have to look up the specifics on this one, since I'm personally not that versed in clip.
Aug 27 '08 #2
edric
2
Thank you, I slice the image on server side.
It works fine.
Aug 28 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Jody Gelowitz | last post by:
I am having a problem with printing selected pages. Actually, the problem isn't with printing selected pages as it is more to do with having blank pages print for those pages that have not been...
1
by: Nir | last post by:
Hi All, I print from the explorer using javascript - window.print(). I want to know when the printing was finish. Is there a way to get the information in the statusbar ? {when the...
1
by: ABF | last post by:
Hello, I have a concern. I have created a small printing framework and it is taking a lot of memory. Simply put, the framework iterates through objects that implement a "printable" interfaces....
3
by: Ram Naresh Talluri | last post by:
Hi, I have huge data to print arround 1lakh recod on one streach . I given it directly to print by using javascript function Window.Print(); But the application hang I used tr's... to view the...
4
by: venkat | last post by:
Hi all, I need print a webpage from internet explorer. The page may contain images, links, stylesheets etc. how will i send all these things to server side for printing. I am using asp.net with...
3
by: Ahmad Abu-Raddad | last post by:
Hey Guys, Does anyone knows of a way to print HTML source directly to the printer (Server Side)?. I tried the PrintDocument class and the e.Graphics.DrawString and e.Graphics.DrawImage() but...
2
by: Mo | last post by:
Hi, I like to print a barcode gif image (no header, footer, etc) when the user click on a button. any ideas on how this can be done? Thanks, Mo
8
by: Neo Geshel | last post by:
Greetings. BACKGROUND: My sites are pure XHTML 1.1 with CSS 2.1 for markup. My pages are delivered as application/xhtml+xml for all non-MS web clients, and as text/xml for all MS web...
8
by: Frank Rizzo | last post by:
I am trying to print huge images (much bigger than target paper). I try and use e.PageSettings.HardMarginX and e.PageSettings.HardMarginY in the PrintDocument's PrintPage event to try and...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.