pdf-generation

this is regarding CAM::PDF

Can you explain how eaxctly you do the shifting and scaling Can u explain how can u do purely shifting without scaling and purely scaling without shifting ..I tried this code use CAM::PDF; my $pdf = CAM::PDF->new('ccombined.pdf'); my $page = $pdf->getPage(1); $page->{MediaBox}->{value}->[0]->{value} += 100; $page->{MediaBox}->{value}-...

Modify PDF Forms from a PHP site.

We currently use PDForm to grab a blank pdf file (no values, just form fields and text) and list the form fields. We then query our database for the values which match those field names and create a pdf file with the newly populated data which the user can download from our site. The thing is PDForm is about $5,000 per machine and we a...

ocaml Unix.system call to pdflatex

I'm having a problem calling an outside application from a compiled ocaml application, pdflatex. I'm using the proper string as an argument, when I run it from the toplevel I get the expected results, Unix.system "pdflatex -interaction batchmode -output-directory res ALGO_GEN.tex";; And it generates the proper output, This is pdfTeX...

FPDF Add text with background color to an x/y co-ordinate

Question explains it all really, I need to add some text to a PDF at positions X / Y with a background color. I know I can do this using a cell, but it seems that you cannot place a cell using an X and Y co-ord. ...

prevent copy if pdf document (generated from word)

I'm a converting my Word document into pdf using the built-in microsoft office converter (save as--> pdf). I want my pdf to be protected (users cannot copy text from it). i can't seem to find any options for this when converting to pdf. Any hint? Thanks. ...

How this tool can be created?

Commonlook - for PDF accessibility http://webaim.org/resources/commonlook/ What SDK and technology might have been used to develop this product? thanks ...

how to set the total number of pdf's pages to be generated by using HTMLDoc?

Hi, I am using HTMLDoc to generate a pdf file. But i want to generate the pdf file of two pages. In which on first page there should be image and on second page it will contain the HTML file content. Currently I am using this code to generate the pdf file. It is generating a pdf file of one page only and all my content and image is comi...

Can Oracle Reports 10g create a PDF with usable text fields?

I have an Oracle Reports 10g report, that pulls data from the database and saves the result as a PDF file on the user's PC. The users are requesting that the resultant PDF have a couple of text fields, so they can open the the PDF in Adobe Acrobat and type in some data (small amounts, like dates and filenames; not entire paragraphs or a...

Android: How to let my users print data from the app.

I have some data in my app that consists of text and image. I want to allow my users to be able to print that data. Here are the options that I am thinking of: 1) Convert data into HTMl format and allow users to email and they can print from their desktop. This will be zip file with html and images. Pros: can be easily coded. Cons: not...

How can I create PDFs with Play Framework and Google App Engine?

I need to create PDFs with Play Framework and Google App Engine. Does anyone know how? ...

Batch export indesign file to pdf with custom footer for each client.

I have a fairly large Indesign file with a text field that needs to have a different text for each client. The name of the client must come in the text field. When I have for example 100 clients, I want to automaticly export 100 PDF's and each PDF has its own custom text in that field. The name of the client must be appended to the filen...

Excel to pdf conversion with a footer image

Hi guys, I need a way to convert my excel files to pdf that can have any no of rows. but the no of rows per each page is a constant and each page should have an image in the footer. an example would be if i have 150 rows and the constants per page is 100 then i need to get a pdf file with two pages and each of these pages should have a...

Apache FOP: zindex does not appear to be working in overlapping blocks

I am a FOP newb. I am trying to show text on top of an image by using block-container's and zindexes. The image is always on top though. If i remove the image, i can see the text, so the text is under the image. This is inside of a table cell. here is the relevant code: <fo:table-cell padding="0.000pt" text-align="left" display-align="...

How to dispose of resources in iTextSharp append method on exception

I have the following method using the iTextSharp library which should process and move the source document to a target document (which may or may not already exist). There is an append flag which will append the contents if the document already exists. I'm throwing an exception if append isn't set, but I'm having some problems working o...

Generate PDF with cyrillic (or UTF-8) contents

My C# .NET 3.5 application has an option to export text to PDF. I am using ReportingCloud (based on RDL) as generation engine. However, cyrillic texts shown incorrectly in resulting PDF. What means can I use to generate cyrillic PDF correctly? A method to generate UTF8 will also do. UPD: Particularly, how to embed right fonts into PDF? ...

How can I output tables to a PDF file with the iPhone SDK?

I want to output a PDF using UIKit's PDF creation methods. I see plenty of information on the web about creating a graphic context in a PDF, but I want to create smart text tables whose cells the user can later copy and paste into other applications (Word, Excel, etc.). How do I do this? Thanks. ...

Python Reportlab PDF - Centering Text on page

I am using ReportLab to generate a pdf dynamically with python. I would like a line of text to be centered on a page. Here is the specific code I currently have, but do not know how to center the text horizontally. header = p.beginText(190, 740) header.textOut("Title of Page Here") # I know i can use TextLine etc in place of textOu...

.NET 3.5 - Open a PDF directly from stream in native viewer.

I'm working on a WinForms C# 3.0 / .NET 3.5 project involving building some canned reports. One of the requirements of the project is to export to PDF format, and currently doing so to disk is working just fine. The question was raised, however, if it's possible to export the file to a stream and open it directly in the native viewer o...

TCPDF Wrapping Text around an object.

Simple question. Let's say that I have a Cell full of text and I want to have a smaller Cell in the middle that has some related information in it. Is there function or feature in TCPDF that allows text in the bigger cell to wrap cleanly around the text in the smaller, inner cell? ...

Creating pdf from .net mvc view

Hello Everyone, i m using asp.net mvc2 for my application. i have a view that accepts a model and renders its data in some format. i want this page to be converted into pdf file so it can be sent via attachment or created and downloaded on the fly. i have some success creating pdf with itextsharp library but they say it has very basic s...