pdf

CSS to PDF, using THEAD for repeating header on new page

Hey everyone, I have CSS and HTML that I will be converting into PDF. I want to specify a header on each page that, in the PDF, will repeat on each new page. I know that I can use THEAD to specify the header, however, is there a free html-to-pdf converter that will respect the THEAD tag? If not, are there any alternatives? Thanks... ...

Adding a Table to a pre-existing PDF using iTextSharp/iText

I need to add a table using iTextSharp (or even PDFSharp if it can do it) into an existing PDF template at a particular location in the template. I can edit the existing template with Adobe Designer 7.0. How can I go about doing this? Is there a PlaceHolder analog from Asp.Net which can be used here? Keith ...

How to check if PDF was successfully opened in the browser using WatiN?

I am using WatiN library to do a quick smoke test on a web site after deployment. Among other things, I want to make sure that when I click on a specific link on my page, a PDF is opened in the browser. Clicking the link is easy, but how can I detect if Acrobat Reader was successfully opened in the browser window? I would like to catch s...

User Documentation from XML

Hello there, I have my nice set of XML files for a user manual, which I already transform to HTML to make the online manual (simil CHM) with XSLT. Now, I'd like to make a printable user manual from the same set of XML files. I'd like to generate an ODT or directly a PDF file, but I didn't find any "quick-and-simple" tool to do that. T...

iTextSharp - How to convert Document to byte[]

I need to attach a pdf I created in memory to an email. Attachments can take a stream. So I believe I need to convert a iTextSharp Document object to stream. How can I do that? I tried serializing the Document object to a stream but it is not "marked as serializable". Thanks ...

How to use VBA to move a page within a PDF document

Using MS Access, I need to open a PDF file, move the last page of the file to the first, and save it. But the error (see below) keeps getting in my way. (I'm good with VBA, but this is my first attempt at manipulating PDF with VBA). Note: I'm using AcroRd32.DLL Option Compare Database Option Explicit Sub x() Dim PDFdoc As...

iTextSharp - Sending in-memory pdf in an email attachment

I've asked a couple of questions here but am still having issues. I'd appreciate if you could tell me what I am doing wrong in my code. I run the code above from a ASP.Net page and get "Cannot Access a Closed Stream". var doc = new Document(); MemoryStream memoryStream = new MemoryStream(); PdfWriter.GetInstance(doc, memoryStream); d...

Using Command Line Switches to Save a PDF as Text - Can it be done?

I need to use command line switches to execute the 'Save as Text' command. Ideally, I want to: use a command line switch to open a PDF use a command line switch to convert the PDF to a text file by mimicking the 'Save as Text' command. use a command line to close the PDF. Is this possible? If so, then does anyone know how to do this?...

Extract Data from PDF and Import to Excel .NET

Hi, Is there a sample code or utility which I could use to read PDF documents and convert or export the data into an Excel document? Most of the sample codes I see when searching are converting Excel to PDF. Would appreciate your advice. Thanks. ...

Generating PDF, error with IE and HTTPS

I am streaming a PDF to the browser in ASP.NET 2.0. This works in all browsers over HTTP and all browsers except IE over HTTPS. As far as I know, this used to work (over the past 5 years or so) in all versions of IE, but our clients have only recently started to report issues. I suspect the Do not save encrypted pages to disk security op...

Export Gridviw to PDF with international characters

Hi There, I have a Gridview with some international characters, How do I add this characters (Fonts) when I export it to PDF format? any idea? Thanks in advance ...

how to create pdf file

I want to create pdf file from my web page written by php . My document must produce from mysql and produce pdf file.I want to be to save this pdf and to read.Please give me code sample. ...

Using Ghostscript to convert PDF to JPEGs. The PDF contains some Dropshadow effects on Images. These shadows transfer as black areas onto the generated JPEG

So I'm working on a CMS module for a newspaper site. I'm enabling the editors with the option to upload a PDF of the entire newspaper, which will then be converted into a page-flipping digital online newspaper. The page-flipping trick is done with flash and is just an .swf that I use for all the editions. My problem is with the PDF 2 ...

ArXiv replication brainstorming

The arXiv e-print archive has several terabytes of papers from various fields of science. Some users would like to maintain a full copy of this data on their own computers, while others just want to download the most recent papers in a particular category. They are looking to reduce bandwidth load using some kind of distributed downloa...

Indexing Word Documents and PDFs with Sphinx

I have a website where users upload documents in .doc and .pdf format. I am using Sphinx to conduct full text searches on my SQL database (MySQL). What is the best way to index these file formats with Sphinx? ...

export word document to pdf using iTextSharp

Hello, Is it possible to convert existing word document to pdf using iTextSharp. Regards, Aniruddha ...

php - how to open print window while a pdf file is opened in web page?

I use FPDF to generate a pdf file and open it in a new window. how to pop up the print window when it is opened in a new window? ...

Removing printer marks from a PDF file

Hi, I need to remove the printer marks from the PDF file. I am using Acrobat 9 Professional to open the PDF. But there is no option of removing the printer marks although there is option to add new printer marks. I googled and found that there is a third party plugin "Enfocus PitStop" which when installed is added to Adobe Acrobat and ...

online book reader - streaming/chunking parts of a book

I am trying to create an online book reader (all text, no graphics needed). The reader can be flash or html/javascript. The trick is I need to push out the book in chunks so I can limit non-paid readers to only the first chunk or so. I have thought about just pre-parsing a book file into several files (each chunk) and serving each but...

Directly convert .aspx to .pdf

A project I am working on requires me to build a report that is output in both HTML (.aspx) and as a PDF. Is there a solution available that allows me to feed the output of an .aspx page to a PDF generation utility? Full support of HTML and CSS would be ideal. Thanks! ...