pdf

Export Gridview TemplateField Problem to PDF

I am using iTexhSharp library to Export a Gridview Table with couple of BoundFields and TemplateFields, There is no problem with BoundFields, but All the TemplateFields are blank in Exported PDF File? Any Ideas? ...

How do I print an existing PDF from a code-behind page?

I've seen a few questions like this around SO but couldn't find anything that's right for me. The chain of events that I would like to occur is as follows: User clicks an ASP.NET button control This fires that button's onclick event, which is a function foo() in the C# codebehind foo() calls some other (unimportant) function which crea...

Previewing PDF and PowerPoint files with Silverlight/Flash

I'm looking for code or a good control to preview PDFs and PPTs with Silverlight or Flash. It would be great if it has nice page-curl functionality. We want our customers to be able to have a look at their reports in a spiffy way. ...

Quickly adding a cover page to a pre-linearized PDF for streaming to browser?

Question 298829 describes how linearizing your PDFs lets them stream page-by-page into the user's browser, so the user doesn't have to wait for the whole document to download before starting to view it. We have been using such PDFs successfully, but now have a new wrinkle: We want to keep the page-by-page streaming, but we also want to i...

PHP Converting Excel (.xls) to pdfs

Is there any php/java/open source software converters or php libraries that will convert an xls file to a pdf document? Rundown: Have pre-existing code generating xls spreadsheets (circa 2002-2006, pre open xml version I believe), need to turn them into pdfs for various reasons. Been searching everywhere including here. I think I just ...

Fast PDF Compression Library for .NET

I need a fast PDF Compression library for .NET that will allow me to run 10 concurrent threads each compressing a separate PDF file to around 10% of its original size. Any suggestions? (I have already tried out the product from neeviaPDF.com. It is not as fast as I need.) ...

Getting Crystal to properly embed TT fonts in a PDF

Has anyone run into problems getting Crystal XI to embed fonts when displaying reports via the web (served by RAS) and then exporting to PDF? We have a barcode font that we use in a few reports, and it worked fine via the web viewer and when exporting to PDF. When we moved our reporting server from a 2000 box to a 2003 box, the font is...

Can any one tell me how to write a simple C++ code to export my data(from variable) into PDF file without using any external libraries or utilities?

Can any one tell me how to write a simple C++ code to export my data(from variable) into PDF file without using any external libraries or utilities? ...

Why does pdftk chop the tops off the characters in my form fields?

When I populate acrobat form fields by importing an FDF file into NitroPDF, things look fine. When I type data into the form fields manually in Acrobat 8, things look fine. When I use pdftk (on Windows XP or 2K), the tops of the characters in each form field are chopped off. Is there a parameter I'm missing somewhere? There aren't th...

Detecting browser print event

Is it possible to detect when a user is printing something from their browser? To complicate matters, if we are presenting a user with a PDF document in a new window is it possible to detect the printing of that document ( assuming the user prints it from the browser window)? The closest I've been able to find is if we implement custom...

itextsharp listbox or grid

Hey guys, How do I bind a listbox in a pdf template with itextsharp?!! I'm able to populate the textfields, but not the listbox. I'm trying to have something like a grid or something that its number of rows is dynamic in a PDF document. Thanks, ...

~/Library/PDF Services gone in Snow Leopard

Hey Y'all - I'm using the ~/Library/PDF Services directory to inject an item into the PDF Workflow sub-menu (Print dialog box) in OS-X/Leopard. I got an indication that the PDF Services directory is gone in Snow Leopard. Does anyone know the correct way to hook into the Print dialog's PDF Workflow going forward? Thanks! [Note: I got s...

What's the easiest way of converting an xhtml string to PDF using Flying Saucer?

I've been using Flying Saucer for a while now with awesome results. I can set a document via uri like so ITextRenderer renderer = new ITextRenderer(); renderer.setDocument(xhtmlUri); Which is nice, as it will resolve all relative css resources etc relative to the given URI. However, I'm now generating the xhtml, and want to render it...

Document -> Flash viewer, not hosted

I've got a content management solution where we present scanned images (TIFF), PDFs, word docs for viewing. While we can simply embed a PDF, sometimes depending on user preferences it's a bit fiddly and sometimes not user-intuitive. I'd like a solution like scribd, embedit, etc, but not hosted. I want to run the application on our own s...

How can I add an image at a specific X, Y location using Perl's PDF::API2?

I'm using Perl's PDF::API2 module to create a PDF document and I need to add an PNG image at a specific X,Y location on the page. How do I do this? ...

targetting a new page for a link on a pdf.

I've got a html form submitting to a pdf using cfdocument. Within that pdf, I have a link at the bottom that goes to another policy. I need that link to open up on a new page, rather than _self. I've tried using Jquery to open the window and not sure if that is even possible, but wasn't successful to say the least. So basically, I'v...

GhostScript PDF Merging (Losing Editable Fields)

I'm using GhostScript to merge to PDFs into one PDF. One of the PDFs has textbox fields (editable fields) that I created in Adobe Acrobat Pro 9. When I merge these two PDFs with GhostScript I lose the textbox fields. Is there any way to merge these files (using GS or some other free linux software) that keeps the textbox fields intact? ...

I am getting a Strange errors error LNK2001: unresolved external symbol _deflateEnd in VC++ please help

I am using a external library of libharu-2.0.8, this is a open source pdf library. This lib have a lib file called libhpdf.lib and few header files I have written a simple code to use this library. I am getting following errors. libhpdf.lib(hpdf_streams.obj) : error LNK2001: unresolved external symbol _deflateEnd libhpdf.lib(hpdf_st...

Problems with header() when displaying a PDF file in IE8

So, I have a file that sends the following: header("Pragma: public"); header("Expires: 0"); header("Cache-Control: private"); header("Content-type: application/pdf"); header("Content-disposition: inline; filename=file.pdf"); header("Content-length: 7735"); then I echo out the file - it is a PDF file. Works fine in IE6 & 7 on XP (and ...

HTML DOC PDF XPS what format is more appropriate for documents?

I'm going to save documents from an ASP.NET web site to server disk. I can simply save it as html, but probably other document formats wiдl be more appropriate. If so, how save it as DOC PDF or other (in ASP.NET c#)? ...