pdf

How to convert an image (i.e. pdf) for use in a LaTeX document?

What is the preferred way to convert various images, bitmap and vector, for use in a LaTeX and PDFLaTeX document? There are many ways to do this, some make use of standard inclusions in the various LaTeX packages, others give better results. ...

word xml to pdf on asp.net c#

I have a report written in MS Word .doc format, 40+ pages. Based on user input I have to change some lines and print it to PDF format. I am on windows hosting server, that means asp.net and c# language. Therefor I cannot use Word application or printer drivers. Basically I have two ideas how to get the PDF format.. - to save this .doc t...

Unable to convert a pdf file to a pdf file which I can search

How can you convert a pdf file which contains text to a file which I can search? ...

Converting a PDF to PNG

I'm trying to convert a PDF (at least the cover of one, I'm successfully extracting the first page of the PDF with pdftk) to a PNG. I'm using imagemagick to do the converstion: convert cover.pdf cover.png This works, but unfortunately the cover.png comes through incorrectly rendered (some of the alpha object in the PDF aren't rendered...

Can anyone recommend a good PDF reading library for .Net?

Can anyone recommend a good component for reading PDFs from .Net? Specifically, I want to read all the metadata of the document, including all the document properties (title, author, etc.). I really don't need to read the actual content of the document. Commercial products are fine. I read about PDFBox (for Java), but that seems pain...

How can I get the page orientation of a PDF page?

The function getPageDimensions (of CAM::PDF) returns same values for both portrait and landscape pages. How can I identify the orientation of a PDF page? I am using CAM::PDF Perl library and would like to know how to do this using this library. But any other means to identify this is also welcome (preferably using a Perl lib). Thanks. ...

Converting PCL to PDF

I am looking to create (as a proof-of-concept) an OCaml (preferably) program that converts PCL code to PDF format. I am not sure where to start. Is there a standardized algorithm for doing so? Is there any other advice available for accomplishing this task? Thanks! ...

How to get the X,Y coordinates of a point in a PDF

I have a PDF template file. It has a bunch of fields I need to write to using PHP. How can I easily determine the xy coordinates of a field in the file? Right now I am using xy locations but trial and error is very time consuming. Is there a better way to do this? Or even an easy way to get the xy coordinates of a point in a pdf file? ...

Good Web-book application stack?

I'm wondering is there any open-source solution for web-book creation like "The Django Book" has? It has a really usable web interface, comments system (with comments targeted on certain peace of text), pdf nightly auto-generation, with whole content pulled from repo... ...

Displaying PDFs in Silverlight

Hi, I want to make a PDF document reader, and the only thing I've found to help me is "Amyuni PDF Suite" that will turn the PDF into XAML and stream that. Are there any other controls for displaying PDFs in Silverlight? Or could I add an IFrame into Silverlight and let the client render it? Cheers Nik ...

How to include page in PDF in PDF document in Python

I am using reportlab toolkit in Python to generate some reports in PDF format. I want to use some predefined parts of documents already published in PDF format to be included in generated PDF file. Is it possible (and how) to accomplish this in reportlab or in python library? I know I can use some other tools like PDF Toolkit (pdftk) bu...

How to dynamically create high-res pdf based on template

Trying to figure out the best way to have a templated brochure that creates to PDF. If there is a template that has a text area and an image area, that template is defined already, then at publish time, get the user values, and plug them into the areas and publish as either high-res or low-res. Is this a InDesign server implementation on...

Firefox 3.0.7 is crashing when embedding a PDF using the object tag.

I'm attempting to embed a PDF file into a HTML page using the object tag. The following HTML crashes Firefox 3.0.7: <object id="pdfObject40" type="application/pdf" data="/file.ashx?id=40" width="432" height="600"> <param name="src" value="/file.ashx?id=40" /> </object> I don't have a problem in Internet Explorer. ...

Converting a multiple-page PDF to a single image

I'm attempting to convert a PDF into a single image using GhostScript. Only the first page is converted, while my intention is to generate a horrendously tall PNG/JPG image with all the pages concatenated together. These are the parameters I'm currently passing to the GhostScript DLL (via a .NET application): pdf2img -dNOPAUSE -dBATC...

PDF permissions management with ASP.NET - Timeout Issue

I have a website that has several PDF files. I need to have quite a few of them locked down with the standard ASP.NET authentication (in a folder with web.config that denies anonymous users). I set PDF files to get handled by the ASP.NET worker process and added: <add type="System.Web.StaticFileHandler" path="*.pdf" verb="*" /> to m...

Is there a way to disable the printing of the additional header and footer information in Firefox?

We were using htmldoc but unfortunately it does not support UTF-8. I tried using the Mozilla Firefox command-line printPDF extension but it placed the URL on the upper right of every page of the PDF which unfortunately isn't acceptable because these files are client-facing. I've also heard of Prince but it simply costs too much. Is th...

Can a PDF file's print dialog be opened with Javascript?

I know how to open a webpage in a new window and add javascript so the print dialog pops up. Is there a way to do a similar thing with a PDF file? ...

LoadIFilter() returns -2147467259 for some PDF files

I am trying to use Adobe IFilter to search PDF files. My code is written in C# and I am using p/invoke to get an instance of IFilter: [DllImport("query.dll", SetLastError = true, CharSet = CharSet.Unicode)] private extern static int LoadIFilter( string pwcsPath, [MarshalAs(UnmanagedType.IUnknown)] object pUnkOute...

view pdf in program(delphi) by use free library(not activeX)

Is there are any open source or free-ware library to display PDF file in my Delphi program? I had looked for one, but most of them are commercial or not fully functional. PS: this solution need to be cross platform by using wine. ...

How to convert chm to pdf

I have two types of document: CHM and PDF, but I'd rather like it if they all were in PDF format. I am looking for some good way to change it. Has anyone good ideas? I'll appreciate it. Update: Thanks for eveyone who helped me. :) ...