Questions tagged [cfpdf]

CFPDF is a feature in the CFML language that allows for the manipulation of PDF documents.

CFML tag that manipulates existing PDF documents. The following list describes some of the tasks you can perform with the cfpdf tag:

  • Merge several PDF documents into one PDF document.
  • Delete pages from a PDF document.
  • Merge pages from one or more PDF documents and generate a new PDF document.
  • Linearize PDF documents for faster web display.
  • Remove interactivity from forms created in Acrobat® to generate flat PDF documents.
  • Encrypt and add password protection to PDF documents.
  • Generate thumbnail images from PDF documents or pages.
  • Add or remove watermarks from PDF documents or pages.
  • Retrieve information associated with a PDF document, such as the software used to generate the file or the author, and set information for a PDF document, such as the title, author and keywords.

This tag was added in ColdFusion 8.

Adobe documentation reference

Railo documentation reference

46 questions
6
votes
3 answers

Is it possible to convert a Microsoft Word document to PDF with ColdFusion?

The above question says it all. I know you can create a PDF from an image file or HTML in ColdFusion 8 using CFPDF, but I'm wondering if it's possible to create a PDF from a MS Word document directly - in CF8 or CF9. Could you import the Word…
Eric Belair
  • 10,574
  • 13
  • 75
  • 116
5
votes
3 answers

Coldfusion CFPDF reading a binary database column

Can cfpdf read a binary database column directly? I currently have it where I run a query to get the column. Use cffile to write the file to a directory Then read with cfpdf so I can extracttext. Is it possible to do this without the cffile write…
E Paiz
  • 661
  • 4
  • 9
  • 19
4
votes
1 answer

CFDocument and high ASCII?

I have a little script that creates a PDF using to write a PDF. It looks something like this (minimalized code): When my data includes high ASCII chars like ☐ (☑) I…
Dollique
  • 952
  • 2
  • 10
  • 29
3
votes
1 answer

How to add approved stamp in Cover Page in ColdFusion

I need some help on ColdFusion I am trying to create a Cover Page and then add Approved Stamp next to the Reviewer. However, I can able to add the stamp on the page but not next to the Reviewer. Here is the ColdFusion code.
Sandeep
  • 105
  • 1
  • 1
  • 14
3
votes
1 answer

Build time is too long in Xcode 8.3 with swift 3 in particular file

Im using Xcode 8.3 with Swift 3. I have written one method named pdfFromData(data:) to form the pdf document from the Data, whenever I build my project its not getting build due to this method, means the compiler is got stopped/hanged when it start…
Karthick Selvaraj
  • 2,387
  • 17
  • 28
3
votes
0 answers

Trying to use cfpdf to sign a pdf

I'm trying to sign a pdf using the following...
malibu65k
  • 95
  • 6
3
votes
3 answers

Saving the modified contents of a pdf

I've got a form that I downloaded, I'd like to prefill some content on the form (this is easy using cfpdfform). Where it gets tricky is I would like to allow the user to modify the contents of that form, and then somehow have those modified…
Anthony Webb
  • 1,311
  • 4
  • 15
  • 22
2
votes
1 answer

Adding page numbers to PDF with Lucee cfpdf

Everything I have found about CFPDF says that the way to add page numbers to a PDF is like this The problem is every reference I have…
Lance
  • 3,193
  • 2
  • 32
  • 49
2
votes
1 answer

Adding a text watermark

I've learned how to add a watermark to a pdf.
Phillip Senn
  • 46,771
  • 90
  • 257
  • 373
2
votes
1 answer

CFPDF with PNG: transparency is black. With PDF it's white

I am trying to add a watermark to a PDF with a PNG file that has a transparent background. Every time I create the watermark it comes out as black background. When it comes to using a PDF as the watermark I get a white background of the watermark.…
Will
  • 70
  • 9
2
votes
1 answer

Coldfusion CFPDF

I am trying to use cfpdf and keep getting the following error: String index out of range: -1 I don't understand why. I'm running ColdFusion 11 on Debian Linux.
Brad Hazelnut
  • 1,603
  • 5
  • 21
  • 33
2
votes
1 answer

Convert JPG to PDF using ColdFusion

Here's my current attempt to convert JPG to PDF using ColdFusion. I used cfdocument because it seemed easy to use:
krubo
  • 5,969
  • 4
  • 37
  • 46
2
votes
1 answer

Is there any way to prevent losing text when converting a PDF to a PNG when using ?

Using the following code to generate thumbnails from PDFs (ColdFusion 8):
Eric Belair
  • 10,574
  • 13
  • 75
  • 116
2
votes
1 answer

CFScript PDF Merge with Multiple Sources

I'm trying to do a PDF merge in CFScript. So far I have: pdfService = new…
Guest
  • 381
  • 2
  • 7
  • 22
2
votes
1 answer

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?
Chris Brandt
  • 948
  • 3
  • 11
  • 22
1
2 3 4