473,766 Members | 2,060 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to generate a PDF file with C# ?

Hi,

I'm making a program which uses a scanner which is enable
to can multiple pages.
I want to save all the scanned images into a PDF FILE.

Does exist an API which can generate PDF FILE in .NET ?

Best Regards,

François
Jul 21 '05 #1
4 43227
Check out

http://itextsharp.sourceforge.net/

regards,
Abhishek.
Dehaibe François wrote:
Hi,

I'm making a program which uses a scanner which is enable
to can multiple pages.
I want to save all the scanned images into a PDF FILE.

Does exist an API which can generate PDF FILE in .NET ?

Best Regards,

François


Jul 21 '05 #2
Dehaibe François <f.*******@skyn et.be> wrote:
I'm making a program which uses a scanner which is enable
to can multiple pages.
I want to save all the scanned images into a PDF FILE.

Does exist an API which can generate PDF FILE in .NET ?


Not that I've used any of them, but:

http://sourceforge.net/projects/pdflibrary/
http://www.pdftron.com/net/index.html
http://siberix.com/pdf/

might help you.

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #3
There are a bunch of options, some commercial and some free.

In no particular order:

1. XMLPDF, by Visual Programming - http://www.xmlpdf.com/
Generate an XML file that conforms to their schema, then generate a PDF from
that XML file.
This one is Commercial.

---------------------------------
2. a version of Crystal Reports included in Visual Studio .NET does PDF
export.
See
http://www.crystaldecisions.com/prod...comparison.asp

---------------------------------
3. PdfCreator for .NET -
Free.
http://www.gotdotnet.com/Community/U...8-603ef212d0db

---------------------------------
4. PdfCreator printer driver - (this is different from the above)
see
http://sector7g.wurzel6.de/pdfcreator/index_en.htm
Apparently you just print to a PDF printer driver. You need to specify an
output filename.

---------------------------------
5. itextsharp - http://itextsharp.sourceforge.net/
Free, and GPL.
This depends on SharpZiplib -
http://www.icsharpcode.net/OpenSourc.../Download.aspx

Of itextsharp, What I found... It works as advertised. I only
used the basic features. I did not do page layout or graphics,
just basic text, tables, lists. I did the "XML to PDF"
translation. (something like FOP).

http://itextsharp.sourceforge.net/tu...7.html#xml2pdf

You can see a few simple examples here, with source code, and a few notes I
had about usage:
http://dinoch.dyndns.org:8080/cheeso/itext/

---------------------------------
6. http://sourceforge.net/projects/pdflibrary/

---------------------------------
7. http://www.pdftron.com/net/index.html

---------------------------------
8. http://siberix.com/pdf/

---------------------------------
9. nFop - XSL FO for .NET
http://nfop.sourceforge.net/

--
Dino Chiesa
Microsoft Developer Division
d i n o c h @ o n l i n e . m i c r o s o f t . c o m
"Jon Skeet [C# MVP]" <sk***@pobox.co m> wrote in message
news:MP******** *************** *@msnews.micros oft.com...
Dehaibe François <f.*******@skyn et.be> wrote:
I'm making a program which uses a scanner which is enable
to can multiple pages.
I want to save all the scanned images into a PDF FILE.

Does exist an API which can generate PDF FILE in .NET ?


Not that I've used any of them, but:

http://sourceforge.net/projects/pdflibrary/
http://www.pdftron.com/net/index.html
http://siberix.com/pdf/

might help you.

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #4
annother product:

PDFControl by wpCubed GmbH - http://www.wptools.de
is able to convert metafiles into PDF file (high quality text +
vectors)

Julian
Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2343
by: Tim:. | last post by:
Hi Can someone tell me how I generate a new XML file that I can then use with an XSLT file. I am trying to use an XML file generated from Microsoft Project or even better generate an XML file from the project file (MPP File) itself. Which I can then use with an XSLT file I am new to XML and want to create a project viewer using XML, ASP and XHTML. I have an idea of how this should work but would really appritiate any help someone can...
0
2417
by: Almoni | last post by:
Hi, I have a few .xsd files that include each other in the following way: <!-- lets call the main schema file AA.xsd and it includes BB.xsd inside it --> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
4
2078
by: Stephen | last post by:
I need to generate input XML for another application by serialising classes defined in an XSD document. The code below will generate the XML I require but I need to generate this in memory rather than creating a file. I assume I should be using System.IO.MemoryStream but can't get this to work. ' XML will be serialized to file.xml, in UTF-8, with BOM. Dim tw As New System.Xml.XmlTextWriter( _ New System.IO.FileStream("file.xml",...
2
6932
by: PeterW | last post by:
I have an xml file from which I want to generate an xsd schema and at a later stage a cs class. The xml file has a mix of defined namespaces and also an empty namespace. These are defined as follows: <silcn:silcn xmlns:silcn='http://silcn.org/200309' xmlns='http://xmlprobe.com/200312'> it contains an element <report> off the root and also a separate <Silcn:report> again off the root.
0
2259
by: ward | last post by:
Greetings. Ok, I admit it, I bit off a bit more than I can chew. I need to complete this "Generate Report" page for my employer and I'm a little over my head. I could use some additional assistance. I say additional because I've already had help which is greatly appreciated. I do try to take the time and understand the provided script in hopes on not having to trouble others on those. But here it goes...
6
3074
by: comp.lang.php | last post by:
/** * Generate the random security image * * @access public * @param $willUseFilePath (default false) boolean to determine if you will be using a file path * @param mixed $filePath (optional) file path to store image resource object contents * @see actual_path */
13
2953
by: vm98123 | last post by:
Hi, could someone please give me a clue to this one: I do have an xml-File and an xslt-File so that a browser can display the xml-file. What I am trying to do is convert this to pdf or tiff. I know that with fop you can convert xml + xsl-fo to pdf.
82
4628
by: robert bristow-johnson | last post by:
here is a post i put out (using Google Groups) that got dropped by google: i am using gcc as so: $ gcc -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man -- infodir=/usr/share/info --enable-shared --enable-threads=posix -- enable-checking=release --with-system-zlib --enable-__cxa_atexit --
2
7391
by: bthubbard | last post by:
This may not be the best group in which to post this. If there is a better location please direct me there. I have been experimenting with Sandcastle to generate CHM help file documentation for some of our projects. I can configure a project(s) to generate the required XML Documentation file by editing the project properties via VS or I believe, if we were using one, a XML configuration file for MSBuild. We usually build our solutions...
23
2407
by: Geoff Cox | last post by:
Hello, Is it possible to use php to generate different menus for users who have access to files in different folders? For example, user Fred might be able to access files in folders A, B and F, whilst use Jane might be able to access files in folders A, D and E. I would want each user to only see text and links relevant to the files in their chosen folders...
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9404
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10168
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9959
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8833
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7381
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6651
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3929
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.