Highlighted

cfdocument invalid token format pdf

New Here ,
Nov 22, 2014

Copy link to clipboard

Copied

I keep getting this error:

CFdocument.jpg

Here is the whole tag:

<cfdocument

    format = "PDF"

    backgroundVisible = "no"

    filename = "test.pdf"

    localUrl = "yes"

    marginBottom = "1"

    marginLeft = "1"

    marginRight = "1"

    marginTop = "1"

    mimeType = "text/plain"

    name = "Test"

    orientation = "portrait"

    overwrite = "yes"

    pageType = "letter"

    permissions = "AllowPrinting,AllowCopy"

    permissionspassword = "password to access restricted permissions"

    saveAsName = "Test2"

    unit = "in">

Any advice is very welcome.

Karolus

Views

232

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

cfdocument invalid token format pdf

New Here ,
Nov 22, 2014

Copy link to clipboard

Copied

I keep getting this error:

CFdocument.jpg

Here is the whole tag:

<cfdocument

    format = "PDF"

    backgroundVisible = "no"

    filename = "test.pdf"

    localUrl = "yes"

    marginBottom = "1"

    marginLeft = "1"

    marginRight = "1"

    marginTop = "1"

    mimeType = "text/plain"

    name = "Test"

    orientation = "portrait"

    overwrite = "yes"

    pageType = "letter"

    permissions = "AllowPrinting,AllowCopy"

    permissionspassword = "password to access restricted permissions"

    saveAsName = "Test2"

    unit = "in">

Any advice is very welcome.

Karolus

Views

233

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 22, 2014 0
BKBK LATEST
Adobe Community Professional ,
Nov 23, 2014

Copy link to clipboard

Copied

A first guess is that it has to be something other than the attribute, format = "PDF", as that is frequently trodden ground. To debug this, start with the following, simpler code:

<cfdocument

    format = "PDF"

    backgroundVisible = "no"

    filename = "test.pdf"> Some text </cfdocument>

If it fails, then the likely cause is that Coldfusion is unable to access the directory /CFIDE/scripts/. If works, then continue adding attributes, one by one, and testing.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 23, 2014 0