pdf-generation

Setting InfoPath form name for printing as PDF?

We have some custom print code to print an Infopath form on the user's default printer as well as a server-based PDF printer for loading into a document management system. This is working perfectly, but we would like to control the name of the generated PDF file. The PDF print utility can automatically generate a file name using various ...

How can I get columns in a table in iTextSharp to automatically calculate their width?

I have a table that I'm creating in iTextSharp and populating with data at runtime. The number of columns are variable and the text in them could be any size. When I create the table at the moment, the columns are the same size. However, some columns have wasted space and others have cramped content. I want the columns to automatically ...

Writing a simple app to convert files to pdf

I want to create an application on a Mac to convert multiple files (txt, pdf, doc, html, etc) to a single pdf file that can be printed. The real point is that if you have 50 texts you don't have to open every single file and click command-p. I'm not quite sure whether the best way to do this is by creating a full-fledged app or an autom...

Problem in exporting Silver light data grid value into excel formate.

I have used below code to convert my silver light data-grid value into excel sheet. But it works only out of the browser,not in the browser. link please do check the link,i am using code from site only,i need to fix.i have to run in browser.. private void btnconvert_Click(object sender, RoutedEventArgs e) { int rowIndex ...

Best way or library to generate PDF format of invoices in Java

Hi guys, I am working on a project, one feature is to generate PDF format of invoices in Java. There seems to be many solutions, but I don't know which one is the best for invoices. Please advise, Thanks. ...

(HTML + CCS3 Generated Content for Paged Media) to PDF?

Is there any way to render a PDF from a HTML doc styled with CSS3 Generated Content for Paged Media? If there is not an application like that, what can I use as a base to build such a converter? Thanks ...

PHP CodeIigniter - PDF generator

Need help in PDF generation because I am doing a project with PHP CodeIgniter. I need to convert some HTML documents (of min 10 pages) into PDF. I heard that wkhtmltopdf is good compared to others. But how to incorporate it into the web pages, since I see it as command line converter. Any example would be more helpful or any suggesti...

Simple PDF created with iTextSharp cannot be opened by Acrobat Reader?

I create simple test PDF document using iTextSharp. I'm just using PdfContentByte to show some text. This is the code: Document document = new Document(); Stream outStream = new FileStream("D:\\aaa\\test.pdf", FileMode.OpenOrCreate); PdfWriter writer = PdfWriter.GetInstance(document, outStream); document.Open(); PdfC...

Why doesnt Acrobat Distiller embed all fonts fully?

When I use Acrobat Distiller (v.9.1.3), it seems that I cannot embed all fonts -- at least not in the way I want to (no subsetting). One example is Wingdings (TrueType). I activated the tickboxes and settings to "Always embed" and "No subsetting". If I check in a text editor the *.joboptions file that I saved as my custom Distiller prof...

Jasper reports PDF tagging.

I have heard that you can tag PDF documents generated using Jasper Reports but I haven't found any examples of how to do it. Does anyone here have an example of how you would tag a PDF document? I'm interested in tagging them to create accessible PDFs. Thanks ...

How do you combine PDFs in ruby?

This was asked in 2008. Hopefully there's a better answer now. How can you combine PDFs in ruby? I'm using the pdf-stamper gem to fill out a form in a PDF. I'd like to take n PDFs, fill out a form in each of them, and save the result as an n-page document. Can you do this with a native library like prawn? Can you do this with rjb and ...

What are the minimum margins most printers can handle?

Im creating pdfs server side with lots of graphics so maximizing real estate is a must but at the same time ensuring users printers can handle the tight margins is a must. Does anyone have an idea what safe values I can use for the margins when authoring the pdfs. In the past Ive used work and home printers with margins of about one cm...

created a PDF that outputs weird characters

This is my code which will get data from the database then store it in a table for .pdf file: // test the table functions error_reporting(E_ALL); include('includes/pdf/class.ezpdf.php'); //echo 'AAA-1-'; $pdf = new Cezpdf(); //$pdf->selectFont('./fonts/Helvetica'); //connect to db session_start(); require_once('connect/tick...

I need a class library to create PDF files(C#).

I need a class lib(C#) to create PDF files. But the license must be Apache or MIT(GPL and LGPL are not allowed). And it must support asian language such as Chinese, Japanese. Who can help me? Many thanks. ...

C# PDF library for headless Linux server

Hi, I'm currently trying to find a PDF library which will run without a running X server. I have already tried the following... Migradoc/PDFSharp (requires X) ITextSharp (requires X) SharpPDF (might work, but I am looking for something with a bit more features) The library does not have to be opensource or free. My solution runs on...

How to create pdf files on android

Can't find any library to create pdf files on Android. Can any one help me? ...

Emailing A Dynamically Created PDF Through PHP

I've recently created an online template for creating job postings for our website. Everything is all done, it formats correctly in a browser, automatically posts to our website, bla bla bla. The last piece I'm creating is to give the administrator a few options for distributing the posting to various places (via email) in a consistent,...

iTextsharp - PDF file size after inserting image.

I'm currently converting some legacy code to create PDF files using iTextSharp. We're creating a largish PDF file that contains a number of images, which I'm inserting like so: Document doc = new Document(PageSize.A4, 50, 50, 25, 25); PdfWriter writer = PdfWriter.GetInstance(doc, myStream); writer.SetFullCompression(); doc.Open(); I...

PHP/MySQL/PDF: charset and how to handle strange characters

Hi, I am designing a small registration system. In this system, people write their name and surname in a form. This information is later saved in a database. The admin can later generate a personalized PDF containing this information (kind of pre-filled form). I am struggling to understand how I should plan the database and the PDF ge...

design of pdf generation

hello, i have an asp.net site and from one of the web pages i need to generate a pdf document that contains the output of a set of web pages that the user selects. i call it "batch pdf". basically, the user is asked to choose which web pages she needs to put into the pdf and then clicks a button which creates a pdf with all the selected...