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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Hi noob here, some quick pointers?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

cosworth

United Kingdom
7 Posts

Posted - Oct 18 2017 :  11:36:26  Show Profile  Reply
Hi I'm just starting out with ImageEn. My project is scanning from an ADF scanner, Epson DS570W. I will be providing the file name and path and hopefully scanning straight to a folder. single pages and multi-page documents (invoices)

Can anyone give some pointers to demos that would be most useful for this. I have been looking through them, but there's a lot of them.

Also is the book worth buying, does it cover more than the demos.

xequte

39142 Posts

Posted - Oct 19 2017 :  00:36:21  Show Profile  Reply
Hi

For acquisition demos, either look at
Demos\ImageAcquisition\Twain\TwainDemo.dpr for a pure Twain scanning
or
Demos\ImageAcquisition\AllAcquire\AllAcquire.dpr if you want to support both Twain and WIA scanners.

The book is very detailed and written by Bill Miller, a long time ImageEn user who you will see a lot of on this forum. It also includes many more demos.




Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

cosworth

United Kingdom
7 Posts

Posted - Oct 19 2017 :  08:22:56  Show Profile  Reply
Hi Nigel
I've been looking at those, All Acquire scans all the documents and shows them, but how do I save them as a single pdf file? I found some save examples for ImageENView but not ImageENMView

Thanks
Chris
Go to Top of Page

xequte

39142 Posts

Posted - Oct 19 2017 :  14:40:45  Show Profile  Reply
Hi Chris

If all the images are in a TImageEnMView you can use:

ImageEnMView.MIO.SaveToFilePDF('D:\output.pdf');

https://www.imageen.com/help/TImageEnMIO.SaveToFilePDF.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

cosworth

United Kingdom
7 Posts

Posted - Oct 20 2017 :  05:27:45  Show Profile  Reply
Hi Nigel
I tried that first, first I put it at the end of the Acquire button event, then I put it on it's own button event. I get an error "Cannot create file"D:\test.pdf", The Device is not ready"
I missing something...
Regards
Chris
Go to Top of Page

cosworth

United Kingdom
7 Posts

Posted - Oct 20 2017 :  07:27:38  Show Profile  Reply
ok, got a bit further. Bill sent me an example over that used a save to picture dialogue. this works if I save the file as a tiff, what do I need to save it as a pdf?
Go to Top of Page

cosworth

United Kingdom
7 Posts

Posted - Oct 20 2017 :  10:28:11  Show Profile  Reply
ok, forget all that, I'm too dumb to be allowed near technology, well at least these last few days I am. My D: drive is a cd, it should be E:
Go to Top of Page

w2m

USA
1990 Posts

Posted - Oct 20 2017 :  10:52:34  Show Profile  Reply
Add this filter string to the SavePictureDialog.Filter in the IDE:
All (*.pdf;*.gif;*.png;*.jpg;*.jpeg;*.bmp;*.jpg;*.jpeg;*.gif;*.png;*.ico;*.emf;*.wmf;*.tif;*.tiff)|*.pdf;*.gif;*.png;*.jpg;*.jpeg;*.bmp;*.ico;*.tif;*.tiff|Adobe PDF (*.pdf)|*.pdf|GIF Image (*.gif)|*.gif|Portable Network Graphics (*.png)|*.png|JPEG Image File (*.jpg)|*.jpg|JPEG Image File (*.jpeg)|*.jpeg|Bitmaps (*.bmp)|*.bmp|Icons (*.ico)|*.ico|TIFF Images (*.tif)|*.tif|TIFF Images (*.tiff)|*.tiff

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: