It should work with local host but you will need a network connection to pull down JavaScript source and to run the reformatting engine.
Are you getting any JavaScript errors in the console?
Thread Starter
sico7
(@sico7)
Hi John,
Thanks for responding to my post.
I’m pretty much a novice with this kind of stuff but here goes…
I have Firebug installed and can see in the console that I get an error whenever the PDF or Cleanprint buttons are clicked.
When I click the PDF button the error says:
FD_IGNORE Desktop client loading phone interface cleanp…ult.png (line 8)
anonymous() cleanp…ult.png (line 8)
al() cpjs?b…fs=true (line 30)
FDCPUrl() cpjs?b…fs=true (line 30)
CleanPrintGeneratePdf() cpjs?b…fs=true (line 30)
CleanPDF() localhost (line 18)
onclick()event = click clientX=590, clientY=231 onclick (line 2)
When I click the Cleanprint button the error says:
FD_IGNORE Desktop client loading phone interface cleanp…ult.png (line 8)
anonymous() cleanp…ult.png (line 8)
al() cpjs?b…fs=true (line 30)
FDCPUrl() cpjs?b…fs=true (line 30)
CleanPrintPrintHtml() cpjs?b…fs=true (line 30)
CleanPrint() localhost (line 12)
onclick(event=click clientX=463, clientY=298)onclick (line 2)
I’m not sure if that’s what you meant?
Thanks
Simon
Thread Starter
sico7
(@sico7)
Hi John,
No errors, it just displays the code.
Any ideas?
Thanks
Simon
If you wait roughly a minute are you getting an error dialog box referring to a time out?
Thread Starter
sico7
(@sico7)
Hi John,
I’m not really sure why but…….it’s working fine now!!! Maybe it was do with some kind of caching issues (though I’m sure I cleaned them up before first contacting you).
However, now it’s working I’m having some trouble. Images are not appearing in the PDF output.
I’ve looked at the previous support requests that relate to this issue but I still can’t solve it:
http://wordpress.org/support/topic/images-not-displaying-19
http://wordpress.org/support/topic/images-from-custom-field-gallery-not-displaying
http://wordpress.org/support/topic/plugin-cleanprint-images-do-not-appear-in-pdf
Also, certain images don’t appear at all in the preview in Chrome (Version 29.0.1547.76) but do in FireFox (Version 24.0). Regardless of whether they appear in the preview they don’t appear in the PDF output. Just a reminder that this is all being done on localhost.
Any ideas?
Thanks
Simon
Chances are your machine isn’t routable from the Internet if you’re testing localhost. Our PDF engine running in the cloud downloads the image content for insertion into the PDF. No access, no images.
If this your situation?
Thread Starter
sico7
(@sico7)
Hi John,
I do have an active Internet connection on the Mac that I am using for this testing work.
You mentioned the cloud based PDF engine. Images are also missing from plain text saves/exports via Cleanprint (although I suspect again that this is using something based in the cloud).
Do I have to change some settings with my WordPress installation?
Also, do you have a link to a WordPress site that currently uses the Cleanprint plugin (and has the PDF option enabled) so that I can show this to my colleagues?
Thanks
Simon
The image elements in your HTML content have to be accessible from the Internet. Otherwise our engine cannot fetch them for inclusion into PDF (or RTF). This is the same for saving to either your machine or the cloud.
This is not a WordPress setting, its networking.
Regarding CleanPrint in action take a look here:
* http://www.cnn.com
* http://www.pcmag.com
* http://www.formatdynamics.com/cleanprint-4-0
Thread Starter
sico7
(@sico7)
That explains it then.
Thanks for all your help John.