Scanning multiple pages

Questions, comments and suggestions concerning VintaSoftTwain.NET SDK.

Moderator: Alex

Scanning multiple pages

Postby srikanthgaddala » Fri Sep 03, 2010 10:30 am

Hi All,
I have a requirement that i need to scan a batch(probably more than 10 pages) but i want to save it as a single pdf document.
Example if i have scanned 10 pages from my scanner i need to save it as a sample.pdf where this sample.pdf contains those 10 pages in it.




Please help me to solve this.Thank you in advance..
if possible send me the code.


Srikanth.G
srikanthgaddala
 
Posts: 4
Joined: Fri Sep 03, 2010 10:24 am

Re: Scanning multiple pages

Postby Alex » Fri Sep 03, 2010 10:41 am

Hello Srikanth,

Please read this FAQ:
http://www.vintasoft.com/vstwain-dotnet-faq.html#Programming_AdfWithoutUi

Best regards, Alexander
Alex
Site Admin
 
Posts: 850
Joined: Thu Jul 10, 2008 11:21 am

Re: Scanning multiple pages

Postby srikanthgaddala » Fri Sep 03, 2010 11:10 am

Hi Alex,
Really thanks for your quick reply.
but my case is i need to save it as a pdf file.
let me explain you my requirement clearly.I have a C# application.when i click on scan button it should scan the multiple pages and should be saved as a single pdf file.Like i have explained in the previous post.
Thanks in advance

Sincerely ......
Srikanth Gaddala
srikanthgaddala
 
Posts: 4
Joined: Fri Sep 03, 2010 10:24 am

Re: Scanning multiple pages

Postby Alex » Fri Sep 03, 2010 11:19 am

Just change extension in filename from ".tif" to ".pdf" and acquired images will be saved in PDF document.

Code from FAQ:
Code: Select all
...
e.Image.Save("c:\multipage.tif")
...


New code:
Code: Select all
...
e.Image.Save("c:\multipage.pdf")
...


Best regards, Alexander
Alex
Site Admin
 
Posts: 850
Joined: Thu Jul 10, 2008 11:21 am

Re: Scanning multiple pages

Postby srikanthgaddala » Fri Sep 03, 2010 11:30 am

Thanks again Alex,
where can i find this DeviceManager and Device classes.i am getting the errors.under which name space they will be available?

Sincerely ,,,,,
Srikanth Gaddala
srikanthgaddala
 
Posts: 4
Joined: Fri Sep 03, 2010 10:24 am

Re: Scanning multiple pages

Postby Alex » Fri Sep 03, 2010 11:45 am

You need to use version 7.0 of VintaSoftTwain.NET SDK.

Best regards, Alexander
Alex
Site Admin
 
Posts: 850
Joined: Thu Jul 10, 2008 11:21 am

Re: Scanning multiple pages

Postby srikanthgaddala » Fri Sep 03, 2010 12:02 pm

yeah thanks Alex,
i found it.....
thank you very much..

sincerely..
Srikanth Gaddala
srikanthgaddala
 
Posts: 4
Joined: Fri Sep 03, 2010 10:24 am


Return to VintaSoftTwain.NET SDK Discussions

Who is online

Users browsing this forum: No registered users and 3 guests