by Ron Kurtus
You can read them to further your understanding of the subject.
|Using CF on a MAC||USA|
|Populating without activePDF||USA|
|Email Flash||Having problems sending Flash with Outlook||India|
|Doesn't work with IE||EH|
|Does not seem to work in CF 6.1||Canada|
|Dates||Has problems with dates||USA|
|Image Management||Trying to save images in database||USA|
May 10, 2005
The contents of input.cfm is as follows First Name Last Name
The contents of output.cfm is as follows
1 0 obj <<
I have tried out the code you have provided for converting the cfm to pdf. But I am getting the following error. "The file is damaged and could not be repaired". In fact there is no file is getting generated
Hearty - INDIA
I assume that at http://www.yoursite.com/pdf/file_name.pdf you put in the URL of your site instead of "www.yoursite.com "and have a folder named "PDF".
Also, note that if the server is using ColdFusion version 7, you can print out the PDF directly, bypassing this code. Let me know if you have CF 7 and I'll tell you the new code.
Using CF on a MAC
April 25, 2005
I was wondering if it was possible to create a form to do the same thing but using a different database language. I do my web design on a Mac and I don't have access to a PC to run Cold Fusion. I basically need to create a form that will populate a standardized document with personalized information. I was wondering if there was another way to do it. I really enjoyed your site and the tutorials on it. Keep up the good work!
Jack - USA
You can install ColdFusion on a MAC for testing purposes. But the server that your site is on must have ColdFusion installed. I typcially test pages off the server instead of my PC.
Note that if the server has CF MX (version 7) you can create a PDF by simply using the new tag
Populating without activePDF
January 25, 2005
On The "Simple Method to Populate a PDF File with ColdFusion" Is there a way to go from a CFML (ColdFusion) page to PDF without using activePDF Toolkit? If so how would you go about doing so?
Thank you for your time,
The method and code stated on the page:
http://www.school-for-champions.com/coldfusion/cftopdf2.cfm uses CFML and PDF code. It does not need activePDF.
Having problems sending Flash with Outlook
Topic: Email Flash
December 3, 2004
My question is again similar with Haider. I am facing problems while sending and receiving email containing flash in Microsoft Outlook. I have to change the security settings to send the email. Even to receive an email containing a Flash Movie giving a problem in Outlook. It is giving an ActiveX error. But that I cannot do at everyones machine. Any kind of help will be highly appreciable.
Thanks a lot,
Satnam - India
Recent security settings from Microsoft have made it more difficult to send and receive Flash by email. In fact Macromedia does not even use Flash in their email that advertize their products.
It probably would be best to avoid Flash if you have no control over the user's email s/w.
I will update the lesson to note that using Flash is not a good option anymore.
Doesn't work with IE
November 12, 2004
I've read your article about filling pdf forms using coldfusion and fdf. I've trie d to do the same:
- First, I've created a simple PDF form.
- Second, I've created the cfm templates as you explained.
- Third, I tested my own system. But when Acrobat is loading, microsoft explorer warns me and then if I click both "open file" or "Save" internet explorer tells me that the file doesn't exist.
Whats wrong? I've tried with mozilla Firebird and it works well, but I need it to work with internet explorer.
Does the sample I have at
http://www.school-for-champions.com/coldfusion/cftopdf2.cfm work in your browser?
If it works in Mozilla, your code is correct. There must be a setting in IE that is affecting PDF files. Have you have trouble viewing a PDF from another source?
One thought is that it may have to do with your path. Internet Explorer can be a pain to work with.
Let me know what you find out.
Does not seem to work in CF 6.1
November 8, 2004
Hi Ron Kurtus,
Excellent article on CF to PDF.
I would love you to check out if Coldfusion MX 6.1 breaks this ability though. I had it working on my home machine, tried it at work.. no luck. The only difference I can see is CF MX 6.0 to 6.1. I even upgraded my development machine at home to 6.1 and yes, it seems to not work anymore!
Keep getting the error "The file is damanged and cannot be repaired" via the acrobat plugin.
Interesting. I believe the server we're using is 6.0. But I'm not sure why it would not work in 6.1. Note that the new version of CF will have the CF to PDF feature built in.
September 8, 2004
I'm looking your "Simple Method to Populate a PDF File with ColdFusion" on this page http://www.school-for-champions.com/coldfusion/cftopdf2.cfm. I'm trying to do the same thing but not getting anywhere. Could you please take a look and see whats wrong with this:
1 0 obj <<
all this coldfusion page returns is a popup dialog saying to open or save I click open and it opens adobe reader w/ no file. Any help would be greatly appreciated.
Tim - USA
Interestingly enough, I noticed that the CF code you put in the mail did not come through. I guess CFMAIL does not accept code. I don't know if my code came through either.
The biggest problems I saw where F(http://indev/CFExamples/test.pdf) should be your actual URL www.wng.com/CFExamples/test.pdf.
Also using CFPARAM and variables may be causing problems.
Has problems with dates
August 20, 2004
I think you can't do what your telling your students to do I have a
MS SQL server 2000 and I have read countless forums on the date/time issue your suggesting CF cold fusion can do and even if the book says it can.
Problem is when it comes down to it doesn't work.
Damn thing never works the only damn thing I can ever get SQL to work with
For example this should work, it looks correct on the screen but never
ends up in the database: