pdf

itext PDF - Greek letters are not appearing in the resulting PDF document

Hi All, I am having hard time trying to generate PDF files containing Greek letters using itextpdf. I am reading the strings from an external source as UTF-8 strings. English letters appear in results but not the Greek ones. Searching for the problem, I think it might be related to the font used. I do not know what ttf file to use if th...

Read contents of a pdf file

Is there a commandline tool to read a pdf file on linux.Please indicate the appropriate urls for this. Thanks.. ...

Counting the pages in a PDF file

I know of several tools/libraries that can do this but I want to know if this is possible with just opening up the file as a text file and looking for a keyword. ...

ASP.NET show PDF file to user instead of "save as" dialog

My ASP.NET application return PDF file to user using code below Context.Response.Clear(); Context.Response.ContentType = "application/pdf"; Context.Response.TransmitFile(optionEntityCmd.PathToSave); Context.Response.End(); This code show Save As browser dialog, is it possible instead of Save As dialog load PDF file directly in browser...

listing all the tags in a pdf document using abcpdf

Hi, I am trying to use the AbcPdf .net component (version 7) to process some PDFs and generate metadata. I was wondering if there is anyway to list all the tags in a pdf document? As an example of a tagged pdf, I am using this file here Are there any other components or tools available for listing or extracting pdf tags? Thanks in adva...

Read existing margins in a pdf

I created a pdf file with iText. the pdf is a A4 file and have some margins defined. Paragraph paragraph = new Paragraph(); Document document = new Document(PageSize.A4, 36, 72, 108, 180); PdfWriter.getInstance(document, new FileOutputStream("c:\\margin.pdf")); document.open(); document.add(new Paragraph("Margin--->>...

Render a pdf file returned as part of a HTTP response in Adobe AIR

My requirement is to render a PDF file which is dynamically generated from a web server in an Adobe AIR application. The user posts some data to the web server. A PDF file is generated at the web server and is returned as the response with content-type : application/pdf I use URLLoader to post the request and handle the response. When...

Report viewer Error message "client found response content type of '' but expected 'text xml' The request failed with an empty response."

Hi, I'm getting the error "client found response content type of '' but expected 'text xml' The request failed with an empty response." when i try to execute the following code. //create a PDF from the SQL report ReportViewer rview = new ReportViewer(); rview.ServerReport.ReportServerUrl = new Uri("http://server/ReportServer$MSSQL2K5?...

Why call window.open twice without waiting for window.close to finish?

Seeing on various sites some web JavaScript for displaying a window (say once a button is pressed) and I don't understand why you would call window.open twice, the first is normally to blank or some static error page, the second is to the actual content somewhat more heavy weight like a pdf. Is this normal, should it work? currentDialo...

Streaming a pdf through a servlet to a browser

I have yer typical servlet that streams a pdf to a browser. The pdfs are stored on an internal server from which my servlet fetches. If I hit the servlet directly from the browser, the pdf is displayed. If I try the same URL in an <IMG> tag in a web page, ... broken pipe. Any insight on why this should be? As an experiment, I can s...

Downloading and viewing PDF in UIWebView

I wish to view documents (pdfs) in a UIWebView and allow the user the option of saving the file for offline viewing. I know how to load from the web using; [webView loadRequest: [NSURLRequest requestWithURL:[NSURL URLWithString:doc]]]; and I know how to load a file in my bundle; NSString *pdfPath = [[NSBundle mainBundle] pathFor...

How to create a PDF which, when printed, will have each page sent to another tray/printer?

Hi all, our application is a Java webbased application which is used by a number of different organizations and which we host ourselves. I'm currently struggling with the described issue. In our application we have a mass printing functionality that spits out PDF file's, generated by Apache FOP, which the user can then print. The probl...

convert textfile to pdf iphone or ipad ?

how to convert a text file to pdf , i achived it by 2 qurtz frame work , but it is time killing, is their any way to convert text files to pdf in ipad. thanks Kumar ...

convert from pdf to word document

please can anybody tell me how convert from pdf to word document? ...

Linux command-line utility to remove colors in a PDF file?

Hi, I'm searching for a linux command-line utility/script capable of removing colors in a PDF. The output of the utility should be the same PDF, but in grayscale. Does anyone know how to do this? Thanks ...

Create PDF from CSV on iPhone

An iPhone app which I am creating generates reports from a Core Data database as a CSV file, which can then be emailed so that the user may use that data elsewhere outside of the app. I would also like to offer the ability to generate the same reports as a PDF file (of course, with nicer formatting) allowing the user to immediately print...

How to show a PDF Page by Page using the Three20 Project - iPhone

Hi, I have a large local PDF. How can I use three20 Project for showing the PDF page by page with zooming, swiping functionalities? Is there any other free library available to achieve this functionality? I tried to use the Apple WWDC 2010 code but facing some problems (I am showing PDF Pages instead of images). The question related t...

How to extract the size of PDF? (Dimensions, not file size)

I have many hundreds of small PDF images (created in Adobe Illustrator) which will be inserted into a Latex document. I need to know the size of these images in real-world dimensions (e.g. 20mm x 14mm), or at least something that Latex can understand. Is there a command line tool that can produce these dimensions? (I am running Mac OS...

server side printing to PDF (MySQL --> image --> PDF ?? ) probs with embedded 中文 Chinese

We're running PHP homegrown app on linux server with MySQL. MYSQL ---> PDF Very complex output - with English and Chinese (Simplified). We've many 'corporate' customers without CHI on their systems, and are unable to add fonts to their machines (for security reasons). We've embedded the fonts - but that makes the files HUGE (4-8M per...

iTextSharp CCITTFAX3 CCITTFAX4

Hi, Given a fax image embedded in a pdf. I have used the code below to successfully extract an image. My particular image uses CCITTFAX3 and not CCITTFAX4. Does anyone know what property I can read in the PDF or infer using LibTiff.NET to obtain the correct compression depending on how the image was encoded. case "/CCITTFaxDecode": ...