ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Page Size - Match Original Size

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Sidney Egnew Posted - May 23 2019 : 17:59:39
Hello:

I use ImageEnMIO to provide scanning capability to my customers. I have a customer that wants to use a Canon DR-M160ii with their scanning application. The problem is this scanner always returns an 8 1/2 x 11 image. According to Canon, setting their option "Page Size" to "Match Original Size" should fix the problem. It does not and they don't have a solution. Checks are returned with black pixels to fill out the letter size image. Legal pages are truncated at letter size.

All the other scanners we use detect the paper height when scanning and set the image height to match. The Canon does not. So we tried eight different scanning programs to determine how to proceed. The scan images returned were the proper dimensions in only two cases. Dimensions for images scanned using CaptureOnTouch V4 Pro and LaserFiche were correct. All other software exhibited the same problem we are experiencing. Since two of the imaging programs were able to get back the correct images, it must be possible to do so with ImageEnMIO.

My acquisition code is shown below. What do I need to do differently?

Thanks, Sidney

        with ImageEnMIO do
        begin
          with AcquireParams do
          begin
            XResolution := 300;
            YResolution := 300;
            // Logic to set PixelType not shown...
            Orientation := ieaoPortrait;
            Rotation := iearNone;
            FeederEnabled := True;
            AutoFeed := True;
            DuplexEnabled := True;
            AcquireFrameEnabled := False;
            VisibleDialog := ShowAcquisitionDialogCheckbox.Checked;
            // Logic to set myTiffCompression not shown...
          end;
          TwainParams.AutoBorderDetection := True;
          TwainParams.AutoRotate := True;
          Acquire;
        end;
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 26 2019 : 18:33:25
Hi

Does setting the following make any difference to the issue:

TwainParams.UndefinedImageSize := True;

Nigel
Xequte Software
www.imageen.com