Pdf thumbnails / Pdf to jpg

Martin Zeller php 2 Comments

Do you want to create thumbnails for pdf files with PHP (or C#)? You can simply do this with ghostscript. Here’s the php way (it is very easy to convert this code to C#): First install ghostscript on your server. Download: http://ghostscript.com/releases/ Then write your code: This code will generate a jpg file with the content of the first page …

PDF: direct printing with .NET

Martin Zeller .net 46 Comments

>> Download Example project (VS 2005) In this article I will show you the results of my search to find a way to print a pdf with .NET. My task was to find a simple solution for an intranet web application where the user gets pdf reports (ActiveReports). Depending on configuration settings these pdf files should be displayed in the …