Re: PDF alternate to cfdocument [spamtrap bayes][spamtrap heur][auto-ip]

2010-04-06 Thread denstar

On Mon, Apr 5, 2010 at 10:41 PM, Paul Hastings wrote:
>
> On 4/6/2010 10:52 AM, Craigsell wrote:
>>
>> I would use iText (http://itextpdf.com/).  It's the same code that runs
>
> i think he specified "easy" ;-)

If you're doing "canned" PDFs (think report builder style) there's a
custom tag for Railo which runs jasperreport JRXML files.

I think it will work on CF9 too, but I haven't tested it lately.

The UI for iReport is freaking awesome, and works on a ton of
platforms and whatnot.

Excellent stuff.  (And easy.)

:Den

-- 
Pray that your loneliness may spur you into finding something to live
for, great enough to die for.
Dag Hammarskjol

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332656
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: PDF alternate to cfdocument [spamtrap bayes][spamtrap heur][auto-ip]

2010-04-06 Thread Paul Hastings

On 4/6/2010 4:48 PM, Tom Chiverton wrote:
> There are a ton of good examples on the first page of the obvious google
> search.

yup but none are as easy as cfdocument ;-)

..if you need to use iText, by all means by bruno's book:

http://www.manning.com/lowagie2/



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332646
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: PDF alternate to cfdocument [spamtrap bayes][spamtrap heur][auto-ip]

2010-04-06 Thread Tom Chiverton

On Tuesday 06 Apr 2010, Paul Hastings wrote:
> On 4/6/2010 10:52 AM, Craigsell wrote:
> > I would use iText (http://itextpdf.com/).  It's the same code that runs
>
> i think he specified "easy" ;-)

There are a ton of good examples on the first page of the obvious google 
search.

-- 
Helping to evangelistically reintermediate virtual market-growth as part of 
the IT team of the year 2010, '09 and '08



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
“partner” to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.co

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332625
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: PDF alternate to cfdocument [spamtrap bayes][spamtrap heur][auto-ip]

2010-04-05 Thread Paul Hastings

On 4/6/2010 10:52 AM, Craigsell wrote:
>
> I would use iText (http://itextpdf.com/).  It's the same code that runs

i think he specified "easy" ;-)

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332622
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: PDF alternate to cfdocument

2010-04-05 Thread Craigsell

I would use iText (http://itextpdf.com/).  It's the same code that runs 
behind CFPDF.  I gave up on CFdocumnat about a month ago and haven't looked 
back.  The amount of control I have is great, all my layout issues went 
away, and it runs faster.  CF7/8 ships with version 2 but I used version 5 
no problem.  It has been refactored so you can use it alongside version 2.

Warren Koch 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332621
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: PDF alternate to cfdocument

2010-04-05 Thread Al Musella, DPM

   LocalURL came into being with coldfusion 8,, and he said he is using cf7


>Make sure to read the optimization notes related to cfdocument. There
>are tricks you can do which speed up embedding of images, which are
>documented in a number of places, including the online help. If
>cfdocument is having to go fetch images over http every time it runs
>that can really slow it down and become a bottleneck. You can embed
>images from a local hard drive. Are you using the localurl="yes"
>attribute? If you are generating PDFs from remote content, and the
>images are often the same across reports, you can predownload the
>images and cache them locally, then use the local cache when
>generating the PDF.
>
>Good luck,
>Mike Chabot
>
>On Mon, Apr 5, 2010 at 5:00 PM, Shaun Webster  wrote:
> >
> > Hi.
> >
> > Does anyone know of an easy alternate to create dynamic pdf that 
> does not use cfdocument?
> >
> > We have gotten into a situation on our server that use CF7 
> standard (not multi thread) where some 2-5 page pdfs  w/ a few 
> images block up the thread que and eventually crash jrun.
> > This happens regularly and we need to find a solution.  Lets say 
> they have to stay on the same server and an enterprise license is 
> out of the question.



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332618
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: PDF alternate to cfdocument

2010-04-05 Thread Mike Chabot

http://www.activepdf.com/

Keep in mind that there are different PDF types. There are nicely
formatted reports that export as a PDF, then there PDFs that have a
less-defined structure. It is the difference between cfreport and
cfdocument. A number of options open up to you if you are able to deal
with the constraints of a professional report generation tool.

Make sure to read the optimization notes related to cfdocument. There
are tricks you can do which speed up embedding of images, which are
documented in a number of places, including the online help. If
cfdocument is having to go fetch images over http every time it runs
that can really slow it down and become a bottleneck. You can embed
images from a local hard drive. Are you using the localurl="yes"
attribute? If you are generating PDFs from remote content, and the
images are often the same across reports, you can predownload the
images and cache them locally, then use the local cache when
generating the PDF.

Good luck,
Mike Chabot

On Mon, Apr 5, 2010 at 5:00 PM, Shaun Webster  wrote:
>
> Hi.
>
> Does anyone know of an easy alternate to create dynamic pdf that does not use 
> cfdocument?
>
> We have gotten into a situation on our server that use CF7 standard (not 
> multi thread) where some 2-5 page pdfs  w/ a few images block up the thread 
> que and eventually crash jrun.
> This happens regularly and we need to find a solution.  Lets say they have to 
> stay on the same server and an enterprise license is out of the question.
>
> The thread looks to get hung up at...  java.awt.image.PixelGrabber.grabPixels
>
> Any help or direction is much appreciated.
>
> Thanks in advance.
>
> --
> Shaun Webster
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332599
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


PDF alternate to cfdocument

2010-04-05 Thread Shaun Webster

Hi.

Does anyone know of an easy alternate to create dynamic pdf that does not use 
cfdocument?

We have gotten into a situation on our server that use CF7 standard (not multi 
thread) where some 2-5 page pdfs  w/ a few images block up the thread que and 
eventually crash jrun.
This happens regularly and we need to find a solution.  Lets say they have to 
stay on the same server and an enterprise license is out of the question.

The thread looks to get hung up at...  java.awt.image.PixelGrabber.grabPixels

Any help or direction is much appreciated.

Thanks in advance.

--
Shaun Webster

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332598
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm