Revisiting this I found a way to do this I believe. It involves using the
cfpdf tag with the action of processddx.

The problem is that the ddx file I've created is not being reckognizd as
being valid. I copied this code straight from the Adobe documentation
example and tried it and fails the isDDx function.

Can some PLEASE tell me what is wrong with this? This is the first time I'm
trying this and I've googled for days just to get to this point. Here is my
DDX file's code:

<?xml version="1.0" encoding="UTF-8"?>
<DDX xmlns="http://ns.adobe.com/DDX/1.0/";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="http://ns.adobe.com/DDX/1.0/ coldfusion_ddx.xsd">
<PDF result="Out1" initialView="firstView">
<InitialViewProfile name="firstView" magnification="90%"/>
</DDX>

Which hopefully I will process with this tag:
<cfpdf action="processddx" ddxfile="/includes/reports.ddx"
inputfiles="#myReport#" outputfiles="#outputStruct#" name="myPDFreport">

Also, from here can I just output to the browser or do I have to save this
as a temp PDF, display and then delete it?

Any help with my first usage of this would be GREATLY appreciated.

Thanks,
Jeff

On Sun, Jul 15, 2012 at 10:41 PM, Jeff Howard <[email protected]> wrote:

> Well what is odd is that there is another report on the server that uses
> the exact same cfdocument tag (I copied it over once the client requested
> that the PDF not display so large in browser for aesthetic reasons) that
> does not load as large in the browser. This is true on both of my computers
> as well as the client's computers as well.
>
> That is the part that puzzles me. They are both simple on page reports and
> one displays with the gray background and the other is blown up and looks
> terrible. There has to be a reason why one displays one way and the other
> displays another. I just can't seem to figure out what it is and was hoping
> to get to the root of the issue.
>
> Thanks for the replies though. I may do the pop-up approach for lack of
> another resolution.
>
> On Sun, Jul 15, 2012 at 1:27 PM, Ajas Mohammed <[email protected]> wrote:
>
>> The 200% display is definitely client acrobat reader(standard or
>> professional) setting. We generate pdfs in our app and since I have my
>> acrobat reader set at 125%, it displays CF generated pdfs in browser at
>> 125%.
>>
>> <Ajas Mohammed />
>> iUseDropbox(http://db.tt/63Lvone9)
>> http://ajashadi.blogspot.com
>> We cannot become what we need to be, remaining what we are.
>> No matter what, find a way. Because thats what winners do.
>> You can't improve what you don't measure.
>> Quality is never an accident; it is always the result of high intention,
>> sincere effort, intelligent direction and skillful execution; it represents
>> the wise choice of many alternatives.
>>
>>
>>
>> On Fri, Jul 13, 2012 at 10:12 PM, Troy Jones <[email protected]> wrote:
>>
>>>  Jeff,****
>>>
>>> ** **
>>>
>>> I drove myself crazy a while back with this very item. I was not able to
>>> figure out how to do it (I do not believe it’s possible) but what you may
>>> be able to do is to serve it in a pop-up and you can control the initial
>>> display size of the window that loads it. ****
>>>
>>> ** **
>>>
>>> However, I am fairly certain that the size percentage is completely a
>>> client-side setting and cannot  be affected. I’d be interested to know
>>> different as well.****
>>>
>>> ** **
>>>
>>> *From:* [email protected] [mailto:[email protected]] *On Behalf Of *Jeff
>>> Howard
>>> *Sent:* Friday, July 13, 2012 6:09 PM
>>> *To:* [email protected]
>>> *Subject:* [ACFUG Discuss] cfdocument****
>>>
>>> ** **
>>>
>>> Is there a way to control how large a cfdocument created is when it is
>>> displayed in the browser? I have two different reports using the exact same
>>> cfdocument tag and one of them displays the report as a "page" on a gray
>>> background in the browser while the other one initially displays at about
>>> 175% - 200% of the document size and fills the browser and looks terrible
>>> due to pixelization of some elements.****
>>>
>>>  ****
>>>
>>> Here is the cfdocument tag:****
>>>
>>>
>>>      <cfdocument format="PDF" pagetype="letter" scale="95"
>>> marginright=".50" marginleft=".50" orientation="portrait"
>>> encryption="128-bit" marginbottom=".8" margintop="1.75"
>>> permissions="allowprinting" backgroundvisible="yes" overwrite="no"
>>> fontembed="yes">   ****
>>>
>>>  ****
>>>
>>>  ****
>>>
>>> This is running on a CF8 server.****
>>>
>>>  ****
>>>
>>> Thanks,****
>>>
>>> Jeff****
>>>
>>> -------------------------------------------------------------
>>> To unsubscribe from this list, manage your profile @
>>> http://www.acfug.org?fa=login.edituserform<http://www.acfug.org/?fa=login.edituserform>
>>>
>>> For more info, see http://www.acfug.org/mailinglists
>>> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
>>> List hosted by FusionLink <http://www.fusionlink.com/>
>>> -------------------------------------------------------------
>>
>>
>>
>

Reply via email to