I need to create a single pdf file from a directory with multiple file types. There will be images( tiff, jpeg, bmp, png ), pdf files, word documents and excel files. I need to do this without the user seeing any applications opening during this process.
What's the best way to do this? Does anyone have any sample code for this? I'll be coding the project in C#.
Thanks in advance for the direction,
Drew
Creating a pdf file from directory with multiple file types
-
- Posts: 2
- Joined: Mon Apr 04 2005
Hello,
The best way is to write a code that opens each file in it respective application (while opening the application in the background so it will not be visible to the end user), print the file than close the application.
We have samples online but we do not have a C# one, if you wish to get a C# sample please contact support@amyuni.com
Hope this helps.
The best way is to write a code that opens each file in it respective application (while opening the application in the background so it will not be visible to the end user), print the file than close the application.
We have samples online but we do not have a C# one, if you wish to get a C# sample please contact support@amyuni.com
Hope this helps.
-
- Posts: 2
- Joined: Mon Apr 04 2005
Can you point me to the samples that show how to determine the respective applications and open them? Also, doesn't this assume we'll be able to automate each application?
Any good suggestions for typical file types (tiff, jpg, bmp, gif, png, etc) as far as applications that should be standard on every windows box and support automation? Or for an application that we can install quitely that can open all these, print, and support automation?
Any good suggestions for typical file types (tiff, jpg, bmp, gif, png, etc) as far as applications that should be standard on every windows box and support automation? Or for an application that we can install quitely that can open all these, print, and support automation?
Hello,
You can find samples on using the PDF Converter including samples on convert Word or Excel document to PDF Programatically at: http://www.amyuni.com/en/support/technotes.html
You can aslo launch your application with the verb print to print your documents.
For the images, you can use any image viewer, like iview by example to view the images and print them. I didn't try iview myself.
Hope this helps.
You can find samples on using the PDF Converter including samples on convert Word or Excel document to PDF Programatically at: http://www.amyuni.com/en/support/technotes.html
You can aslo launch your application with the verb print to print your documents.
For the images, you can use any image viewer, like iview by example to view the images and print them. I didn't try iview myself.
Hope this helps.