sorry, this does not work.
With this code:
<cfpdf action = "read" source = "dok_1.pdf" name =
"mypdf">
<cfdump var="#mypdf#"/>
You shouldn't expect it to work. You can't dump a binary like
that.
That was just a part answer to a part question. To peek into
the text of a PDF, you may use the utility Daverms recommends.
If you choose to do it yourself, use
Coldfusion
8's DDX functionality. Here is an example to illustrate. The
folder ddxTest contains the files myDDX.ddx, textFromPDF.cfm and
myDoc.pdf, an arbitrary PDF that contains the text.