pdf

how to write barcode in html format when using tcpdf

I am using TCPDF to generate PDF file using following command $pdf->writeHTML($htmlcontent, true, 0, true, 0); TCPDF also provides a way to create barcode with following commands $pdf->Cell(0, 0, 'C39+', 0, 1); $pdf->write1DBarcode('Code 39', 'C39+', '', '', 80, 15, 0.4, $style, 'N'); $pdf->Ln(); I want to be able to write barcode as p...

Extract Tabular Data from a PDF and sort it

Hello! This is a PDF file which has the marklist of certain exam. http://www.megaupload.com/?d=T9VM6P9E I am particularly interested in the first list, but which unfortunately has 2112 entries. And they aren't properly formatted. I need to sort all these entries (based on marks in last 2 columns- sum of marks in Aptitude and Computer),...

Is there a Javascript library for editing PDFs?

Based on my Google and stackoverflow search I'm guessing no, but it can't hurt to ask. The goal is: store some blank forms on my server. Then present these to the user, who edits the form in the browser with Javascript and submits the form back to the server. The client wants to reuse parts of an old system (the forms) in which users w...

Add header to PDF and RTF with iText

I am using iText to generate both PDF and RTFs. I know RTF generation with iText is not popular, but I still need to make the code work for both. Technically, I can have different pieces of code to handle each type, but it needs to be able to be contained within the same file/class. I can work with code like this: String outputData =...

[LaTex]: Add in the TOC an included PDF

In my document I include a PDF using \includepdf[pages=-]{./mypdf.pdf} The problem I'm having is how to add a TOC entry for this pdf. It supposed to be an appendix. I tried adding a new section in the appendix but of course the section name can't be printed on the same page than the included pdf, so the resulting TOC line directs...

Crystal Reports - export to pdf in MVC

Hi folks, I have integrated the below code in my application to generate a 'pdf' file using crystal reports in MVC project. However, after the request is processed, i get to see only 2 pages in the pdf file while my 'data' returns more than 2 records. Also, the pdf isn't rendered as soon as the page is processed but instead i have to r...

Opening PDF String in new window with javascript

Hello, I have a formatted PDF string that looks like %PDF-1.73 0 obj<<< /Type /Group /S /Transparency /CS /DeviceRGB >> /Resources 2 0 R/Contents 4 0 R>> endobj4 0 obj<> streamx��R=o�0��+��=|vL�R���l�-��ځ,���Ge�JK����{���Y5�����Z˯k�vf�a��`G֢ۢ��Asf�z�ͼ��`%��aI#�!;�t���GD?!���<�����B�b�� ... 00000 n 0000000703 00000 n 0000000820 00000...

How to show and deploy a PDF document from Java using WebStart

Hi, I want to show a PDF document from a Java (Swing) application in a system independent manner (provided that a PDF viewer is properly installed on the target system). Also I'd like to deploy this PDF document using Java WebStart. Could you please tell me the "standard" way to achieve this? (I confess, I'm to lazy/busy to look up th...

Removing PDF attachments via itext

I'm trying to remove attachments from a number of my pdf files (I can extract via pdftk, so preserving them is not an issue). I coded the following based on an example found from a google search: import java.io.FileOutputStream; import java.io.IOException; import com.lowagie.text.*; import com.lowagie.text.pdf.*; c...

How to translate .PDF files using google APIs?

How to translate .PDF files using google APIs? (translate from language the pdf's are to for example russian (new pdf file orplain text or html).) (code example needed) ...

Coldfusion: download PDF

I have a URL that opens a PDF: <cfoutput>http://myUrl.cfm?params=#many#&lt;cfoutput&gt; I would like to enable my users to download that PDF instead of having it open in the browser. I've been trying the following, and it isn't working: <cfoutput> <cfcontent type="application/pdf" file="http://myUrl.cfm?params=#many#"/&gt; <cfhe...

Take user input and write to file from javascript inside a pdf?

Is it possible to have a pdf file that asks a user a set of questions and then writes their answers to a file, then next time it is viewed loads those answers as default values? I know pdfs can include javascript and have figured out how to add javascript to a pdf with iText (http://itextpdf.com/) but don't know how to prompt for user i...

Sending mail with a Php with a pdf attachment

Hi, I'm trying to send an email from the php mail command. I've been able to what I've tried so far, but can't seem to get it to work with an attachment. I've looked around the web and the best code I've found led me to this: $fileatt_name = 'JuneFlyer.pdf'; $fileatt_type = 'application/pdf'; $fileatt = 'JuneFlyer.pdf'; $file = fopen...

The best way to convert web-page to pdf image

can any one tell me a simple way to convert web-page screen shot to pdf ...

Report.NET TableLayoutManager example needed

Hi all Has anyone used the Report.NET library from http://report.sourceforge.net/ to create PDF documents? There is no example code for the TableLayoutManager and the API is confusing the hell out of me. Can anyone point me to some example code? Thanks David ...

How to display PDF report inline in browser when viewing report from reporting services?

When create a report and deploy it on reporting service, I can access it with folloing url as PDF: http://localhost:81/reportserver?/MyReports/Report1&amp;rs:Command=Render&amp;rs:Format=PDF It is fine but it will give you a download dialog window and the open the PDF report by Adobe reader seperately and leave the browser window empty...

Looking for a web pdf viewer, not the google document viewer

I would love to use google document viewer, but I am dealing with sensitive documents and google's Terms state that if you use their service the document basically becomes public domain. Are they any alternatives that will keep your content private? Also it would be best if there was the ability to disable printing and downloading. FY...

iTextSharp: Writing RTF in a PDF document

Hello, I'm using iTextSharp (with C# and VS2008) to generate a report from a database table row. Generate PDF is not a problem... but when I try to add RTF text into the PDF I cant't find a way into iTextSharp object structure. How can I do it? Thanks a lot! ...

asp.net - pdf printing status

Hi folks, I need to print PDF's generated in an asp.net application using crystal reports. Upon printing, a database table gets updated with the status 'printed'. How do we handle situation where let's say, the printer runs out of paper? I know this is on client-side, so what's the right way to handle issues like this? TIA ...

Using Pantone™ colors with Prawn

I'm trying to assign Pantone colors to some text in Prawn. Ideally I'd like to be able to do this pdf.text_color = pdf.pantone(:485U) pdf.text "Whatever" I know this isn't possible. I considered calling pdf.raw and specifying the color manually but the PDF spec (ISO32000:2008) is way too complicated. I need either a simpler way or so...