Re: Print a Real Image Size in Inches prints HUGE image
Started by bjames at 10-08-2007 12:26. Topic has 5 replies.
|
|
10-08-2007, 12:26
|
bjames
Joined on 03-13-2006
Posts 35
|
|
|
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
Joined on 03-13-2006
Posts 35
|
Re: Print a Real Image Size in Inches prints HUGE image
|
 
 
|
|
|
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

Joined on 08-13-2006
Posts 1,135
|
Re: Print a Real Image Size in Inches prints HUGE image
|
 
 
|
|
|
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-11-2007, 13:25
|
bjames
Joined on 03-13-2006
Posts 35
|
Re: Print a Real Image Size in Inches prints HUGE image
|
 
 
|
|
|
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

Joined on 08-13-2006
Posts 1,135
|
Re: Print a Real Image Size in Inches prints HUGE image
|
 
 
|
|
|
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
|
|
|
|
|
LEAD Support Fo... » Developer » Printing » Re: Print a Real Image Size in Inches prints HUGE image
|
|
Copyright LEAD Technologies, Inc. 2008
