Skip to main content
Participant
January 13, 2016
Question

Why can't my Mac Acrobat reader process an html response back to a PDF form seated on my PC with HTML as the Export Format?

  • January 13, 2016
  • 2 replies
  • 1244 views

I created a PDF form on my PC using Adobe Acrobat Pro DC, with the Submit button coded to send the form data as HTML to a PHP file which returns an HTML response. No problem on receiving the response on my PC from Acrobat Reader. But on the Mac, Acrobat Reader X returns an error "Cannot process content of type text/html".

How can this be remedied, without changing the export format?

This topic has been closed for replies.

2 replies

Legend
January 14, 2016

It has always been stated that Reader cannot process a response type of HTML, and you should send a response in PDF or FDF format. You may have found an undocumented loophole, but best to go with the recommendation.

Participant
January 14, 2016

@Test Screen Name,

I should have clarified that when I submit the PDF from Acrobat Reader X on my PC, I do not get an error. How is the FDF response coded in the PHP file on the server? I did try using just a header alone:

HttpResponse::setContentType ( "application/vnd.fdf" );

And still got the same error on my Mac Reader, even though I had removed all other code from the PHP script.

Legend
January 14, 2016

I don't think an empty FDF is allowed. You can have a trivial one of two lines.

January 14, 2016

Hi ,

What Mac and windows version are you using?

Also if you replicate the issue with Acrobat Reader DC with Mac,what results do you see?

Regards

Sukrit Dhingra

Participant
January 14, 2016

On windows I am using Acrobat Pro DC version 2105.009.20079. On the Mac I am using Acrobat Reader 10.1.14.

When I submit the PDF on the Mac using Acrobat 10 Pro, everything functions as it should, and the message from my PHP script on the server is returned without error.