Skip to main content
Filter by
Sorted by
Tagged with
12 votes
7 answers
53k views

Ghostscript PDF -> TIFF conversion is awful for me, people rave about it, I alone look sullen [closed]

My stomach churns when I see this kind of output. http://www.freeimagehosting.net/uploads/e1097a5a10.jpg and this was my command as suggested by Best way to convert pdf files to tiff files gswin32c....
Setori's user avatar
  • 10.6k
32 votes
13 answers
57k views

How to program a text search and replace in PDF files

How would I be able to programmatically search and replace some text in a large number of PDF files? I would like to remove a URL that has been added to a set of files. I have been able to remove ...
rpilkey's user avatar
  • 995
1 vote
4 answers
16k views

Returning a PDF file from a Java Bean to a JSP

EDIT: See my working code in the answers below. In brief: I have a JSP file which calls a method in a Java Bean. This method creates a PDF file and in theory, returns it to the JSP so that the user ...
Philip Morton's user avatar
34 votes
11 answers
106k views

How do you create a PDF from XML in Java?

At the moment, I'm creating an XML file in Java and displaying it in a JSP page by transforming it with XSL/XSLT. Now I need to take that XML file and display the same information in a PDF. Is there a ...
Philip Morton's user avatar
7 votes
3 answers
11k views

How to Programmatically Inject JavaScript in PDF files?

How to Programmatically Inject JavaScript in PDF files? Can it be done without Adobe Professional? My goal is: I want to show up the print dialog immediately when I open the PDF. I know that this ...
Daniel Silveira's user avatar
4 votes
1 answer
4k views

How to interact with embedded PDF documents in iframes through JavaScript?

How to interact with embedded PDF documents in iframes through JavaScript? Is it possible? Is it possible in every main browsers? if "yes", how can I... ...know that the document finished loading? ....
Daniel Silveira's user avatar
1 vote
7 answers
17k views

Show a PDF document in a browser without the menu bar

I have a touch screen kiosk that displays a webpage and a pdf document. Can I remove the menu bar? Users must not have "save", "print" and other such features. Update random screenshot on flickr - I ...
Silviu Postavaru's user avatar
28 votes
8 answers
106k views

How to print a PDF from the browser

In a Web application, is it possible to force a PDF file to be printed on the client? If the browser is configured to open the PDF inside the window, I guess that calling window.print() will work, but ...
Antoine Aubry's user avatar
37 votes
8 answers
33k views

Best Server-side .NET PDF editing library [closed]

What's the best .NET PDF editing library available, and why? It needs to be used on an IIS web-server. Specifically, I need to edit a PDF which was generated by reporting services. Factors I'm ...
harley.333's user avatar
  • 3,704
4 votes
1 answer
8k views

Absolute Positioning using XSL to be transformed and rendered to PDF

How does one accomplish absolute positioning using XSL? I am working on a XSL transformation to FO to PDF for mailing letters and am trying to figure out how to absolutely position the fo:blocks ...
Doug Porter's user avatar
  • 7,897
8 votes
8 answers
21k views

Generating dynamic thumbnail of a PDF for ASP.NET

I've used a tool from Aspose (Aspose.PDF.kit) to generate a JPG thumbnail on the fly of a PDF for a .NET application. This works great, but what kind of other alternatives are there? Codeproject....
Anjisan's user avatar
  • 1,799
7 votes
4 answers
3k views

Watin and PDF's

Can anyone provide and example of downloading a PDF file using Watin? I tried the SaveAsDialogHandler but I couldn't figure it out. Perhaps a MemoryStream could be used? Thanks, --jb
user avatar
2 votes
3 answers
7k views

How do I get character offset information from a pdf document? [closed]

I'm trying to implement search result highlighting for pdfs in a web app. I have the original pdfs, and small png versions that are used in search results. Essentially I'm looking for an api like: ...
quackingduck's user avatar
  • 5,895
1 vote
1 answer
538 views

How do I turn off ABCpdf's paragraph indenting during a chain?

The project I'm working on uses a 3rd party component called ABCpdf to generate PDF documents. It has this feature where you can "chain" text from one content area to the next, which we're using to ...
Electrons_Ahoy's user avatar
0 votes
2 answers
330 views

Using Javascript to perform a process and send updates/callbacks to a webserver

I am working on a process to allow people to upload PDF files and manage the document (page order) via a web based interface. The pages of the PDF file need to be cropped to a particular size for ...
user avatar
0 votes
2 answers
2k views

What is a good way to output an asp.net, C# GridView into a PDF

I tried using the Microsoft ReportingControls but found them overly cumbersome, with too little documentation. I'd like a simple control that would convert a GridView control into a PDF document. I'...
Lloyd's user avatar
  • 1,403
2 votes
3 answers
3k views

How to save a PDF file Using NHibernate and SQL Server 2005

I'm developing a webapp where the user is given the chance to upload his resume in pdf format. I'm using NHibernate as a data mapper and MS SQL SERVER 2005. I want to be able to save the .pdf file to ...
Pablo Fernandez's user avatar
36 votes
10 answers
72k views

Firefox Links to local or network pages do not work

I have a .asp application where image files (.PDF) are stored in a directory (fed by a copier/scanner). The created file names are stored in a database table. When a query is launched from the web ...
Joe's user avatar
  • 801
4 votes
6 answers
2k views

How can I convert my current page to pdf after some content dynamically added via AJAX?

I have found some libraries or web services in PHP that does the job. The problem is that the conversion is done when the page is fully loaded, I would like to convert the page to PDF after some ...
ompemi's user avatar
  • 91
0 votes
3 answers
1k views

Cocoon 2.2? Is it worthwhile or bad news? [closed]

I am looking to use Cocoon for a couple of sites I am creating. I will make heavy use of xml, xsl and conversion to html, pdf and excel on the sites. I am attracted to coccon as it implements these ...
user avatar
0 votes
5 answers
640 views

How do I display a large pdf in a c# application?

I have a windows c# application and I want to display a pdf file, located on a webserver, in an acrobat com object added to my form. pdf.loadfile(@"http://somewhere.com/nowwhere.pdf") As my pdf is ...
user avatar
1 vote
2 answers
4k views

Generating a Reporting Services 2005 PDF report and storing it on disk

Is there an easy way to generate a PDF report from an RDL that's been uploaded to Report Manager and put that file somewhere on the server's disk? I already have a location on disk to put the file, I ...
Jeremy Cantrell's user avatar
2 votes
1 answer
4k views

Get the list of hyperlinks in a PDF file [closed]

I have a pdf file.I need to find all the hyperlinks available in that file and then make change on those links. I am using C# and I'd rather not to use a third party tool!
51 votes
16 answers
80k views

How can I automate HTML-to-PDF conversions?

I've been using htmldoc for a while, but I've run into some fairly serious limitations. I need the end solution to work on a Linux box. I'll be calling this library/utility/application from a Perl app,...
lennysan's user avatar
  • 1,350
2 votes
3 answers
11k views

Every now and then, ABCpdf runs out of memory

The project I'm on is using a 3rd party component to build dynamic PDFs in a VB.Net web system called ABCpdf.Net. (not a terrible tool, but not a great one either.) Every now and then, for reasons I ...
Electrons_Ahoy's user avatar
5 votes
4 answers
15k views

How to generate pdf files _with_ utf-8 multibyte characters using Zend Framework

I've got a "little" problem with Zend Framework Zend_Pdf class. Multibyte characters are stripped from generated pdf files. E.g. when I write aąbcčdeę it becomes abcd with lithuanian letters stripped. ...
Sejanus's user avatar
  • 3,323
7 votes
2 answers
6k views

Create destinations for all bookmarks in a PDF file with iText API

I'd like to write some (java) code that takes a PDF document, and creates named destinations from all of the bookmarks. I think the iText API is the easiest way of doing this, but I have never used ...
Chris Carruthers's user avatar
4 votes
10 answers
43k views

Printing to a pdf printer programmatically

I am trying to print an existing file to PDF programmatically in Visual Basic 2008. Our current relevant assets are: Visual Studio 2008 Professional Adobe Acrobat Professional 8.0 I thought about ...
Sean's user avatar
  • 571
20 votes
8 answers
55k views

Converting MS Word Documents to PDF in ASP.NET [closed]

Similar questions have been asked, but nothing exactly like mine, so here goes. We have a collection of Microsoft Word documents on an ASP.NET web server with merge fields whose values are filled in ...
Eric Pohl's user avatar
  • 2,344
32 votes
10 answers
64k views

Programmatically recognize text from scans in a PDF File [closed]

I have a PDF file, which contains data that we need to import into a database. The files seem to be pdf scans of printed alphanumeric text. Looks like 10 pt. Times New Roman. Are there any tools ...
Rob's user avatar
  • 3,066
10 votes
5 answers
8k views

What is the best XSLT engine for Perl?

I would like to know what of the many XSLT engines out there works well with Perl. I will use Apache (2.0) and Perl, and I want to obtain PDFs and XHTMLs. I'm new to this kind of projects so any ...
David Ameller's user avatar
2 votes
2 answers
3k views

Reorder PDF Page Order

Is it possible to reorder an already generated PDF file programmatically, and using as little resources as possible, as this will need to be ran on ~8000 PDFs every month or so? We are currently ...
PostMan's user avatar
  • 6,977
43 votes
16 answers
42k views

"name" web pdf for better default save filename in Acrobat?

My app generates PDFs for user consumption. The "Content-Disposition" http header is set as mentioned here. This is set to "inline; filename=foo.pdf", which should be enough for Acrobat to give "foo....
86 votes
10 answers
105k views

Tool to compare large numbers of PDF files? [closed]

I need to compare large count of PDF files for it optical content. Because the PDF files was created on different platforms and with different versions of the software there are structural differences....
Horcrux7's user avatar
  • 24.5k
9 votes
6 answers
7k views

How can I do a full-text search of PDF files from Perl?

I have a bunch of PDF files and my Perl program needs to do a full-text search of them to return which ones contain a specific string. To date I have been using this: my @search_results = `grep -i -l ...
aurelien's user avatar
  • 125
1 vote
3 answers
5k views

How do I make ImageMagick talk to Ghostscript

I am on Windows XP. I am using ImageMagick (MagickNet) to convert PDF's to TIF's. My problem is that when I load a PDF in the MagicNet.Image object, it doesn't throw an error, but when I look at ...
Philip Canarsky's user avatar
36 votes
8 answers
70k views

Unicode in PDF

My program generates relatively simple PDF documents on request, but I'm having trouble with unicode characters, like kanji or odd math symbols. To write a normal string in PDF, you place it in ...
Marcus Downing's user avatar
85 votes
5 answers
101k views

Is it possible to link to a bookmark within a PDF using URL parameters?

When providing a link to a PDF file on a website, is it possible to include information in the URL (request parameters) which will make the PDF browser plugin (if used) jump to a particular bookmark ...
Chris Carruthers's user avatar
2 votes
3 answers
2k views

Does Postscript have a concept of a table?

What I'm trying to achieve is to determine if the Postscript that I'm parsing contains any element that resides in a table (box). Im asking whether if it had a built-in way to lay out tabular data on ...
RWendi's user avatar
  • 1,422
13 votes
3 answers
28k views

Convert WPF to PDF

I have a WPF application and I want to be able to save the output of the application to a PDF document, the item I want to save can be a Visual a Drawing or a FixedDocument (I can create it as any of ...
Nir's user avatar
  • 29.6k
24 votes
13 answers
6k views

What is the recommended toolchain for formatting XML DocBook? [closed]

I've seen Best tools for working with DocBook XML documents, but my question is slightly different. Which is the currently recommended formatting toolchain - as opposed to editing tool - for XML ...
Jonathan Leffler's user avatar
18 votes
3 answers
31k views

How can I split up a PDF file into pages (preferably C#) [closed]

My client has a multi-page PDF file. They need it split by page. Does anyone know of a way to do this - preferably in C#.
Peter's user avatar
  • 3,603
1 vote
5 answers
4k views

How to create Editable PDF by ASP.NET

How to create editable PDF using ASP.NET. I want to create a Pdf from a master template, edit it (fill some value(input not from database)) and save. Is it possible without using a 3rd party? If ...
user avatar
2 votes
12 answers
7k views

Generate PDF from structured data [closed]

I want to be able to generate a highly graphical (with lots of text content as well) PDF file from data that I might have in a database or xml or any other structured form. Currently our graphic ...
13 votes
8 answers
12k views

Where can I find good tutorials on XSL-FO (Formatting/ed Objects), the stuff one feeds to fop and get PDF's? [closed]

On a company that I've worked, me and my colleagues, implemented a tailored document distribution system on top of XSL-FO. My task was to get the script to deliver the documents and configure the ...
Gustavo Carreno's user avatar
1 vote
5 answers
22k views

How to dynamically change the "src" or "data" for a PDF Object / Embed file using JavaScript?

I have a web application that is dynamically loading PDF files for viewing in the browser. Currently, it uses "innerHTML" to replace a div with the PDF Object. This works. But, is there a better way ...
user avatar
0 votes
3 answers
726 views

Method to generate pdf from access+vb6 or just sql 2005?

The setup: Multiple computers using an adp file to access a sql 2005 database. Most don't have a pdf distiller. An access form (plain form, not crystal) is created that needs to be saved as a pdf. ...
Paulj's user avatar
  • 3,214
6 votes
5 answers
8k views

Newbie wants to create a PDF reader for ipod touch - what's the best approach?

I want to make a small app that displays a PDF, presenting zoom-able single pages with a previous-next page function.
user15420's user avatar
  • 1,022
9 votes
2 answers
2k views

How can I read and manipulate PDF 1.5 files in Perl?

There doesn't appear to be any Perl libraries that can open, manipulate, and re-save PDF documents that use the newer PDF version (1.5 and above I believe) that use a cross-reference stream rather ...
user avatar
5 votes
2 answers
9k views

How to check PDF-A 1b compliance with open source tools? [closed]

How can i check (and additionally create) PDF-A 1b compliant PDF documents using open source tools? Does anybody know an open source tool? Thanks in advance...
user avatar