Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: Print a Real Image Size in Inches prints HUGE image
Started by bjames at 10-08-2007 12:26. Topic has 5 replies.

Print Search « Previous Thread Next Thread »
  10-08-2007, 12:26
bjames is not online. Last active: 7/11/2008 6:36:01 AM bjames

Top 50 Posts
Joined on 03-13-2006
Posts 35
Print a Real Image Size in Inches prints HUGE image

Attachment: PrintRealSize_source.zip
Reply Quote
Hello,

Forgive me, this post contains information that I've found in other posts, however, the other posts specify that when using the tutorial, the image size is still small. When I use the code in the Real Image Size tutorial, the printed image is HUGE.

I've been trying to figure out the LEAD printing functionality. First, I tried to print using the simple method... The size of the printed image looked a little smaller than it should and the quality wasn't quite as good.. I began searching the forums and looking through the help file.

Then I tried to use the "Print a Real Image Size in Inches" tutorial line for line..

I tested with the suggested \Images\ocr1.tif image..

Attached to this call is the tested image (from LEAD), the print preview screen shot, and a scanned image of the printed image all in a zip file. The vb.net test project is also included.

It appears that the image is blown up HUGE and barely any of it is printed on a single page.. As I said, the code is taken straight from the tutorial..

Is this expected behavior?

Any ideas??

Thanks in advance.


   Report 
  10-08-2007, 12:27
bjames is not online. Last active: 7/11/2008 6:36:01 AM bjames

Top 50 Posts
Joined on 03-13-2006
Posts 35
Re: Print a Real Image Size in Inches prints HUGE image
Reply Quote
BTW.. here are some debugging values to assist..

e.MarginBounds.Width = 650
e.MarginBounds.Height = 900

e.Graphics.DpiX = 600.0
e.Graphics.DpiY = 600.0

g.DpiX = 96.0
g.DpiY = 96.0

RasterImageViewer1.Image.ImageWidth = 2544
RasterImageViewer1.Image.XResolution = 300

RasterImageViewer1.Image.ImageHeight = 3294
RasterImageViewer1.Image.YResolution = 300

Thanks..
   Report 
  10-09-2007, 3:34
Qasem Lubani is not online. Last active: 9/28/2008 12:30:21 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,090
Re: Print a Real Image Size in Inches prints HUGE image
Reply Quote
I have tested the issue here and I want to report it to our engineers. Can you please send me an email to support@leadtools.com from a valid email address? Also, include your serial number in the email I would also like to send you the latest patches download instructions.

Please mention this forum post in your email.
Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
  10-10-2007, 2:23
Qasem Lubani is not online. Last active: 9/28/2008 12:30:21 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,090
Re: Print a Real Image Size in Inches prints HUGE image
Reply Quote

I have reported this issue under incident number 6269AMN. If you would like to ask about the status in the future please refer to the incident number.

 

I have also sent you download instructions to download the latest patches.
Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
  10-11-2007, 13:25
bjames is not online. Last active: 7/11/2008 6:36:01 AM bjames

Top 50 Posts
Joined on 03-13-2006
Posts 35
Re: Print a Real Image Size in Inches prints HUGE image
Reply Quote
Thanks for the replies.

Here is the situation... We are developing an application for a customer and the application will print a sheet of paper with a barcode... Then they will scan later and we will read the barcode.

When the barcode sheet is printed, the quality is bad because of the issue stated above. If we can't print the barcode clearly, then we have no use in purchasing the barcode functionality.

I've been looking around the ePrint help file but I can't find a simple example in code that will

Load an image file and print the image to the printer.

Will using ePrint solve the problem? Can you please explain to me how I can simply load an image and print using eprint in code?

I'm under a very serious deadline.

Thanks.
   Report 
  10-16-2007, 8:41
Qasem Lubani is not online. Last active: 9/28/2008 12:30:21 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,090
Re: Print a Real Image Size in Inches prints HUGE image
Reply Quote
LEADTOOLS ePrint is not related to the issue at hand here. The main problem in the code is in the handling of the DPI values retrieved from the printer and image.

Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
Post
LEAD Support Fo... » Developer » Printing » Re: Print a Real Image Size in Inches prints HUGE image

Powered by Community Server, by Telligent Systems