Questions tagged [pdf-generation]

PDF generation is the process of creating a PDF document using various tools or libraries.

Use this tag for any programming-related question concerning the creation of PDF files, be it with a 3rd-party library or tools like PDF printers or PDF converters, or PDF authoring applications.

Questions asking us to recommend or find a tool, library or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam.

Related tags: ,

7433 questions
2
votes
0 answers

Apache FOP generated PDFs printing strangely from Adobe Reader; OK on screen

I'm not sure how this can be a FOP issue, but I've never seen it with PDFs from any other source, so I've tried to investigate further. Our application creates PDFs via xsl-fo, using FOP. This has worked great for a couple of years -- occasionally a…
James Green
  • 1,693
  • 11
  • 18
2
votes
1 answer

Adobe PDF SDK - PDDocColorConvertEmbedOutputIntent and PDFA

I am using the Datalogics library 9.1 and I am trying to embed an OutputIntent in a PDF I am creating so that it will be compliant with PDFA-1B. I'm using PdDocColorConvertEmbedOutputIntent to do so and the function call is succeeding. The intent is…
Dan G
  • 836
  • 11
  • 31
2
votes
1 answer

Best free alternative to Acrobat SDK in order to manipulate PDF document in c# .net

I need to add bookmarks to pdf documet without using Acrobat SDK (that needs the full Acrobat professional installed). I'm using iTextSharp but is was made for Java and the porting to .net it is not complete. Do you know an free alternative or…
Alessandro
  • 55
  • 1
  • 7
2
votes
1 answer

Is it possible to load a pdf document via ajax and display it in the Browser?

I found a short tutorial on creating a pdf webservice, which I tried out and it works like a charm. Now just to test this I wrote a little jquery one-liner, that accesses that webservice, the return value of the service is: { success: true, pdf:…
PWFraley
  • 1,052
  • 12
  • 20
2
votes
2 answers

How to build a PDF framework in JavaScript?

I wanted to know how to generate a PDF. I have seen few frameworks across like jsPDF and others but am eager to build up my own framework so as to understand better how to work with PDF and how does the entire concept of pdf works. Please let me…
Shiv Kumar Ganesh
  • 3,799
  • 10
  • 46
  • 85
2
votes
1 answer

Rails3 - wicked_pdf gem, footer issue when calling from action mailer model

I'm using wicked_pdf pdf_from_string inside an action mailer rails 3 model. The pdf render perfectly doing this: attachments["pdf.pdf"] = WickedPdf.new.pdf_from_string( render_to_string(:pdf => "pdf.pdf",:template => 'documents/show.pdf.erb') …
CLod
  • 917
  • 2
  • 11
  • 28
2
votes
5 answers

Dynamically Created PDF Not Embedding/Rendering Inline in 64-bit IE9 Window

We're using Reporting Services to generate a PDF report and we need it to be rendered out to the browser window AND embedded in the browser. We've been doing this a long time and it has always worked ... until IE9. In IE6, IE7, and IE8, we generate…
lmttag
  • 2,499
  • 4
  • 26
  • 30
2
votes
1 answer

GWT:How to generate pdf save/open window?

I am using GWT2.4 version in my application.In this I application I have created Form using GWT control (like textbox,textaera). I have also created preview of form.In that preview I have button of pdf generation. Now I want to create behavior to…
Sanjay Jain
  • 3,518
  • 8
  • 59
  • 93
2
votes
1 answer

ImageMagick create PDF version 1.4 from image?

I know that I can use ImageMagick's convert tool to turn different image files into PDF documents. However, is there some way to specify what version of PDF document I want to use for the output? Can I convert an image to a PDF v1.4 document? I am…
Carl
  • 695
  • 8
  • 21
2
votes
1 answer

Render jQuery in wicked_pdf

I'm using Highcharts in my application to render charts. Everything works fine, except when I want to convert a page that has charts to PDF. I'm using wicked_pdf. Here is the show method my controller: format.pdf do render :pdf =>…
FattRyan
  • 906
  • 2
  • 12
  • 26
2
votes
3 answers

Play Framework: Generate PDF from template that uses Javascript for graphing

I have a template that has some Javascript used to generate graphs in the browser. I would like to use that same template to create a PDF and send as an attachment in an e-mail. In this scenario, there would be no browser/client interaction. I am…
digiarnie
  • 22,305
  • 31
  • 78
  • 126
2
votes
1 answer

render pdf using javascript

In my App I need render a dynamic pdf. I have an ajax function that call a php function that return a pdf (string format). Now I render this pdf using data-uri in this way: window.open('data:application/pdf;base64, ' + response); ...but this works…
keepyourweb
  • 664
  • 4
  • 10
  • 19
2
votes
1 answer

How to specify the color of text rendered to a PDF in iOS?

Do you know how to change the color of text rendered to a PDF document created using Core Graphics (via UIGraphicsBeginPDFContextToFile, etc)? We are currently rendering text to the document via UIKit category methods on NSString, such as…
Josh Smith
  • 884
  • 6
  • 9
2
votes
2 answers

put generated pdf file without saving it on the server

I have code (in a .ashx-file) that generates a PDF file from a PDF template. The generated pdf gets personalized with a name and a code. I use iTextSharp to do so. This is the code: using (var existingFileStream = new FileStream(fileNameExisting,…
Mathieu
  • 3,073
  • 1
  • 19
  • 25
2
votes
1 answer

xsl:fo - Add "z-index" to a text on top of an image

I have a problem. I need to set some kind of z-index, like you can use on the web in HTML/CSS. Because I have a text on an image, and therefore I want to be sure that it looks good when printing. Is there some "z-index" code I can use on theese…
Daniel
  • 21
  • 2