Thanks everyone... I got it working! I did run into a problem with this error: "Illegal operation 'm' inside a text object" http://www.stillhq.com/ctpfaq/2002/03/c1088.html#AEN1425
I was trying to place text where I was placing images in my code and acrobat did not like that. Once I broke the text out into it's own section all works great! This PDF stuff is pretty neat! Chad -----Original Message----- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 3:32 PM To: CF-Talk Subject: Re: SOT: Java code to CF > to create a java object in coldfusion, you need to instantiate it *AND* > call a valid constructor. Coldfusion "fakes" the constructor by > creating an "init" method that you can call. When you create the > object, you *SHOULD* already have access to its constants.. so this > should work, assuming you knew the classpath for BaseFont. Which I don't. > > <!--- load object ---> > <cfset bf = createObject("java","class.path.BaseFont")> > <!--- call constructor ---> > <cfset bf.init(bf.HELVETICA, bf.CP1252, bf.NOT_EMBEDDED)> > > > Rick .....and the example I posted does it all in 1 line ;-) Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242657 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

