Scanning multiple pages

Questions, comments and suggestions concerning VintaSoft Twain .NET SDK.

Moderator: Alex

Post Reply
srikanthgaddala
Posts: 4
Joined: Fri Sep 03, 2010 1:24 pm

Scanning multiple pages

Post by srikanthgaddala » Fri Sep 03, 2010 1:30 pm

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

Alex
Site Admin
Posts: 1464
Joined: Thu Jul 10, 2008 2:21 pm

Re: Scanning multiple pages

Post by Alex » Fri Sep 03, 2010 1:41 pm

Hello Srikanth,

Please read this FAQ:
http://www.vintasoft.com/docs/vstwain-d ... eeder.html

Best regards, Alexander

srikanthgaddala
Posts: 4
Joined: Fri Sep 03, 2010 1:24 pm

Re: Scanning multiple pages

Post by srikanthgaddala » Fri Sep 03, 2010 2:10 pm

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

Alex
Site Admin
Posts: 1464
Joined: Thu Jul 10, 2008 2:21 pm

Re: Scanning multiple pages

Post by Alex » Fri Sep 03, 2010 2:19 pm

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

srikanthgaddala
Posts: 4
Joined: Fri Sep 03, 2010 1:24 pm

Re: Scanning multiple pages

Post by srikanthgaddala » Fri Sep 03, 2010 2:30 pm

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

Alex
Site Admin
Posts: 1464
Joined: Thu Jul 10, 2008 2:21 pm

Re: Scanning multiple pages

Post by Alex » Fri Sep 03, 2010 2:45 pm

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

Best regards, Alexander

srikanthgaddala
Posts: 4
Joined: Fri Sep 03, 2010 1:24 pm

Re: Scanning multiple pages

Post by srikanthgaddala » Fri Sep 03, 2010 3:02 pm

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

sincerely..
Srikanth Gaddala

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests