generating images for IE to print

S

Sergei Shelukhin

I need to generate an image to print on a small card (15cm x 5cm), the
image will be cut from the standart a4 sheet; it was done by MS Access
proggie before and I'm rewriting it into ASP.NET.
I generate the image using GDI and write it to utput stream using Jpeg
encoder and appropriate mime type in the header.
Problem is, image is printed poorly qualitywise, I can't figure out how
to affect size/quality ratio.
I use all possible high-quality params on Bitmap and Graphics object
and Quality = 100 paramter for the encoder.
I am able to affect size AND quality by altering image's pixel size,
so I either get a huge high-quality image, or a small low-quality
image. How do I get a small high-quality image? Do I set some
parameters in GDI or change some IE settings, or both?

Is there any other way to print the image?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top