FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Scan on Win Seven
Posts: 222
Joined: Mon Jun 04, 2012 12:00 PM
Scan on Win Seven
Posted: Tue Jun 26, 2012 05:07 PM

is there a sample to acquire a document on windows Seven with a scanner and save it on jpg format or save some documents into a pdf file ?
thanks

Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: Scan on Win Seven
Posted: Tue Jun 26, 2012 05:18 PM

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 222
Joined: Mon Jun 04, 2012 12:00 PM
Re: Scan on Win Seven
Posted: Tue Jun 26, 2012 06:21 PM

good I saw it

it use nconverte.exe but

why not insert a modify to save to pdf as Antonio made on Rpreview ?

Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: Scan on Win Seven
Posted: Tue Jun 26, 2012 07:33 PM
Try this example. Click on the scan button. Then click on the options, and change the file type to .pdf.
Then when you scan it will create .pdf.
You should be able to tell in the source what is going on.
http://code.google.com/p/fivewin-contributions/downloads/detail?name=testscancomplete.zip&can=2&q=
Posts: 222
Joined: Mon Jun 04, 2012 12:00 PM
Re: Scan on Win Seven
Posted: Wed Jun 27, 2012 11:04 AM

the problem I wanted a small scan function to -> pdf
to insert to an application
i prefer to not sent to final user many Dll
i saw on Rpreview Antonio made a pdf for all pages of rpreviews into a pdf..it not use extern dlls

Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: Scan on Win Seven
Posted: Wed Jun 27, 2012 02:41 PM

The scan software (dll) does that. I don't thing you need other dll's but if you want to convert an existing image to pdf then you can choose to use the scan software (dll) or converter like nconvert. If you are going to do scanning I don't think you can get away without some kind of dll, ocx, or exe to run the scanner.

Continue the discussion