Solved

Scan to PDF, Access VBA or VB6

Posted on 2010-08-19
8
2,567 Views
Last Modified: 2013-12-27
Since my users find scanner software to be too complicated, I would like to design a simple application to scan documents to .pdf files. One of the primary reasons I need to do this is so I can control where the document goes based on the user who is using the scanner.

I've experimented a little with some different code but I haven't found any optimal solution. It appears that my scanner only makes .bmp files if I use WIA in VBA. How can I convert the bmp to a pdf? Or do I need to convert the bmp to a jpg or tiff and then to a pdf?

I don't need the text to be searchable but it would be nice if you could highlight and select text in the document (certainly not required). I'm not going to be saving the document into the database. I'm just using Access because it's the coding environment I'm familiar with and my users are also familiar with Access.

Also, I do expect to use a scanner with an ADF so we can scan in multi-page documents.
0
Comment
Question by:HKComputer
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 16

Expert Comment

by:Sheils
ID: 33479385
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 33481477
0
 
LVL 4

Author Comment

by:HKComputer
ID: 33482103
boag2000,

Do you know where I can find any documentating and examples of automating Paperport using VBA? Can I keep the users completely out of the Paperport interface?
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 33482181
I have seen this done but it is akin to writing your own Scanning program, which might not be worth the trouble...
But if you're feelin' froggy, here is some reading:
http://www.microsoft.com/whdc/device/stillimage/WIA-arch.mspx
http://www.dynamsoft.com/Products/WebTWAIN_FAQ.aspx#What%20is%20Dynamic%20Web%20TWAIN


Most Scanners (and scanning Software) have options that will literally give you the choices:
Scan to Fax
Scan to File
Scan to PDF
Scan to OCR
Scan to Printer

In your case, the user need only select "Scan to PDF".

I mean if one software product is to "Complicated", then try another one.
Most programs will have some sort of trial version so that you can test it.

You could build you own, ...but why reinvent the wheel, if a $49 program does the same thing?

;-)

JeffCoachman
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 33482213
Clarification:

<I have seen this done, but in terms of programming, some are akin to writing your own Scanning program, which might not be worth the trouble...

Some SDK's/API's *are* simple, and will give you something like this:

Scan("DeviceName","Format","OutputFileName")
So here, this would be a function with three Arguments.
So in an actual App, the code would look something like this:
    Scan("ScanJet320","PDF","c:\YourFolder\YourPDF.PDF")

So check out the second link I posted, or Google for more.

;-)

Jeff

0
 
LVL 49

Accepted Solution

by:
Gustav Brock earned 500 total points
ID: 33483437
Go and check out csxImage:

http://www.chestysoft.com/ximage/default.asp

It is not free but it will save you hours and hours of trouble because scanners and drivers often do not comply to standards. Also, support is excellent.
We used it for a commercial document store application which ran for years with zero issues.

/gustav
0
 
LVL 4

Author Closing Comment

by:HKComputer
ID: 33713723
Looks like csxImage is the only "real" solution posted here. Thanks
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 33713996
You are welcome!

Also, the support from Simon Chester of Chestysoft is excellent. Well worth the money you'll have to pay for a license.

/gustav
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
If you are having problems installing printer drivers, or if documents repeatedly get stuck in the print queue even after re-installing the printer drivers, then follow these steps to solve the problems. Please note that the steps are shown both for…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now