pdf

How to programmatically impose printing restrictions/DRM on PDF for confidential documents using Microsoft .NET

I came across stackoverflow from a podcast recommendation and I'm very impressed. This is my first post. I'm a Microsoft .net developer and I'm on a project with following requirements. 1) Confidential PDF document should be displayed to user with NO OPTION TO PRINT AT ALL. The reason to do this is the PDF's are for view only and users ...

Printing a file to a printer in Ruby

I need help with sending a formatted text to a printer using Ruby on Ruby on Rails OR sending a pdf file to a printer from Ruby program. I can write the code to create a pdf file from Rails app but don't know how to print that pdf file to a default printer. I am trying to write a small ticketing application with Ruby on Rails. Please he...

fpdf - going back to the previous page

I am generating pdf invoice using fpdf. Some invoices containing many items, and details need to go into the second page. However, I need the total, and other details to be displayed on the first page. Right now, if I can add new page like this: $pdf->AddPage(); But, this put everything into the second page, whatever after this s...

stream a pdf to a .net webbrowser object on a winform

I have a webbrowser object on a winform that I would like to use to display a pdf. The pdf resides on a ftp server. I have been able to show the pdf by downloading it to the disk and pointing the webbrowser object to it (navigate), but I want to stream it for security reasons. Has anyone been able to stream a pdf to a webbrowser that ...

Co-ordinates of a element in a pdf file using iText

Hi all, I'm creating a pdf file using BIRT reporting library. Later I need to digitally sign these files. I'm using iText to digitally sign the document. The issue I'm facing is, I need to place the signature in different places in different reports. I already have the code to digitally sign the document, now I'm always placing the sig...

Append PDF to a Signed PDF

I need to append a pdf file to a digital signed pdf file, keeping valid the signature ...maybe using revision? ...using iTextSharp? How can I do it? Please help me with some sample. ...

Open XML SDK 2.0 inserting PDF to Word

Hello everybody, has anyone tried to insert pdf document into word using open xml sdk 2.0 ? Thank You! ...

How to make an incremental update to a PDF

I need to make an incremental update (add some existing pdf pages) to an signed pdf, making the included signature still be valid (that cover the first page). I've seen some post's telling that is possible with PDFStamper (iTextSharp), but I'm unable to find a example out to make it append, some one can help? Thanks. ...

How can I extract the first paragraph of a PDF document using Perl's CAM::PDF?

How can I extract the first paragraph of a PDF document using Perl's CAM::PDF? ...

Getting a list of embedded fonts used in an external PDF

I have been playing about with iText to try get a list of embedded fonts used in an external PDF. Am i missing something or is this just not very well documented? Could anyone explain it to me or suggest an alternative? Preferable the font names and any associated data. ...

Can you split a PDF 'package' into separate files with CF8 or CF9?

The cfpdf tag has lots of options but I can't seem to find one for splitting apart a PDF package into separate files which can be saved to the file system. Is this possible? ...

PDF to LaTex Linux

I know how make a pdf from LaTex. Is there a way to extract the LaTex from a PDF I created earlier? How about if someone sends me a PDF and I like the formatting. Can I extract the LaTex from it? ...

Is there a reliable way to determine if a PDF was generated from a Powerpoint file?

Like the title says. Reason I ask is that we're converting PDFs to formatted ASCII text (using pdftotext) and only want to display the ones that look reasonably sane. PPT files tend to have text over images, diagonal text and others things that don't translate to ASCII very well, so we'd like to filter them out if we can. ...

Opening Excel and PDf files with Tcl Tk

Hello: I am having problems opening an existing Excel file with Tcl Tk. I am able to open an existing MS Word file with no problems. The code that I am using is as follows, also my test application has "package require tcom" included: proc OpenFile {} { #Path to file set app [::tcom::ref getobject "C:\\Users\\Me\\Desktop\\Test.doc"] ...

Trigger click on embedded PDF

I have a PDF embedded in a web page using the following code: <object id="pdfviewer" data='test_full.pdf#page=1&toolbar=0&statusbar=0&messages=0&navpanes=0' type='application/pdf' width='500px' height='350px'> The PDF itself is set to open in full screen mode which shows no controls. The user can advance the...

Getting PDF to stay in an embedded <object> or <iframe>

I've edited this quite a bit and bolded my question at this point. I realize that PDF won't be fully controllable in the browser, but that's not my issue here. My problem is, well, below in bold. <div> <object data="${pageContext.request.contextPath}/UB04.xml" type="application/vnd.adobe.xdp+xml" width="415" heig...

convert base64Binary to pdf

I have raw data of base64Binary. string base64BinaryStr = "J9JbWFnZ......" How can I make pdf file? I know it need some conversion. Please help me. ...

Set content-disposition on public file types in Rails?

I have some PDF files in a public rails folder. I want to set the response header "content-disposition" to "attachment". I know I can create a controller to read the files and set the header myself, but is there some general application wide setting that i can enable/configure? Thanks in advance. -JP ...

How many non-printing characters are in common use?

When writing interpreters for PDF, HTML and other documents we need to deal with a variety of white-space characters and additional non-printing characters. The ANSI ones are well defined, but how many others are likely to be found in practice? A typical example is the cluster in ISO10646 (I think): &ensp; &#8194;     en spac...

Scripting PDF Creation

I've been tasked with automating the collection of some reports from our remote locations. The machines are sometimes used locally by the staff at the location, and their usage is random. The software that generates the reports is somewhat limited and just allows us to print to the default printer. The department that's taking these r...