CFDocument and pagesize

Having issues since the install of Acrobat Reader 8 with
pagesize.
I have a document that needs to be rendered 14x8.5 (Legal
Landscape). I have tried pagetype="legal" orientation="landscape",
I have also tried pagetype="custom" pageheight="8.5"
pagewidth="14". No matter how I do this, it still is getting
rendered in Acrobat Reader 8 as 11x8.5. When I try to print the
PDF, it just centers the 11x8.5 rendering on the 14x8.5 legal
paper.
Anyone have any insight?

ok, i called a buddy and figured it out. i needed to include
the CSS styles inside of the cfdocument tags.

Similar Messages

  • File to put the linesize and pagesize

    In which file i should add the following code so that it is not required for me to login each time and put set serverout on and pagesize
    set serverout on
    set pagesize 50
    set linesize 500

    set serverout on;
    set pagesize 50;
    set linesize 500;
    sive the file to set.sql
    and store in <C> drive
    sql>@c:\set.sql;
    it's automatically set to the page sizes

  • Problem with cfdocument and background colors with table borders

    i am having a great deal of difficulty with cfdocument
    rendering my tables with cells that have background colors. the
    background colors seem to bleed through the table border. a picture
    at 100% magnification can be seen at
    http://www.vitad.com/cfdoc.jpg
    and at 1600% magnification at:
    http://www.vitad.com/cfdoc2.jpg.
    i am attaching sample code of the what generated the pdf in the
    pictures. btw, i am running cfmx 7 with hot fix 2.

    Hi fresher4flex,
    Since you are using the item Renderer for the DataGrid Column try to apply the styles dynamically to the background of your itemRenderer by making using of the rollOver and rollOut events.
    Thanks,
    Bhasker

  • CFDocument and trouble converting to pdf

    Hello,
    I'm simply trying to convert a word doc to .pdf using CF9.  But when I try it, I get the following error...
    500 - Internal server error.
    There is a problem with the resource you are looking for, and it cannot be displayed.
    Also, coldfusion services seem to go down for a few moments (i can't render any coldfusion pages on the server) and then after a few moments the CF services are back.
    What could be causing this???
    Here is the simple code I am using...
    <cfdocument format="pdf" srcfile="\\srvTestServer\wwwroot\officetopdf\worddocs\Infograms Inventory.doc" filename="\\srvTestServer\wwwroot\officetopdf\pdfdocs\test.pdf"></cfdocument>
    Now if I take out the srcfile section of the tag and hard code text into the cfdocument, it works with no problem???
    example
    <cfdocument format="pdf" filename="\\srvTestServer\wwwroot\officetopdf\pdfdocs\test.pdf">This is a test message for my pdf file</cfdocument>
    I hope someone can shead some light on this?
    Thanks In Advance,
    Cedric Gaines

    Is OpenOffice installed on your machine?  I believe this is a requirement to work with Word files in CF9.
    Office file interoperability
    http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WS56EA2935-FBD2-4089-8402-FDDA2BAF55 FB.html
    Configuring OpenOffice
    http://help.adobe.com/en_US/ColdFusion/9.0/Installing/WS899EE911-747B-45cf-8550-DC91238233 64.html

  • CFDocument and PDF Named Destinations

    In essence I am building a single merged document (PDF)
    combining a single HTML document and n number of names from a SQL
    database. My plan is to use CFDocument to create a complete page
    set for each individual in the database and tack it on to the end
    of the PDF.
    As I process each individual I would like to insert a Named
    Destination in the PDF for that person at the beginning of their
    Page Set. Does anyone know how this can be done? Your help is
    greatly appreciated.
    Would it be better to use CFReport for this merge process?
    Can you add a Named Destination in CFReport generated PDF?

    Functionally, it appears that processing the allowed PDF parameters after opening a PDF involves (1) open the PDF then (2) process the parameter or parameters.
    Once the target PDF is "open" a second pass that attempts to process a parameter or parameters, on the now open PDF seem to not "take".
    So, typically, after open-process parameter(s) happens the PDF has to be backed out of. Then the same PDF can be "opened" again followed by processing of the parameter(s).
    If not already in hand, here's the reference document.
    Parameters for Opening PDF Files
    http://www.adobe.com/devnet/acrobat/pdfs/pdf_open_parameters_v9.pdf
    Be well...

  • Cfdocument and conditional headers

    Using cfdocument I am creating a PDF that starts with an
    information page that requires no header. On each of the following
    pages we want a header to appear.
    The problem is that the header is appearing on all pages,
    including the first. The code I'm using inside of cfdocument is
    posted below.
    Thanks for any suggestions.
    -Scott

    The blog article does only work if you have a new section for each report.
    This can be achieved with a for-each@section statement.
    (Search the user guide for @section -
    Section Advanced Reports - Batch Reports
    and
    Controlling the Placement of Instructions Using the Context Comma)
    You can also use Word Section breaks to change headers and footers.
    Please also look in the Userguide under
    Createing an RTF template ->Template Features->Last Page Only Content
    Klaus

  • Cfdocument and fonts.

    I am trying to get ColdFusion to use our Frutiger Roman fonts
    which are in a PFM format.
    The windows 2003 server sees them fine and the fonts work in
    all windows software on the server but they do not show up when
    publishing a PDF from cfdocument. Any ideas anyone?
    I tried adding them to the cffont.properties document but got
    the error message...
    The cause of this exception was that:
    coldfusion.document.spi.DocumentExportException:
    coldfusion.document.DocumentFontException: An exception occurred
    when reading the font file c:\windows\fonts\FrutiR94.pfm The cause
    of this exception was that: java.awt.FontFormatException:
    Unsupported sfnt C:\WINDOWS\TEMP\xxx.tmp

    Amplicon wrote:
    > You would have thought as the fonts are a proprietary
    specification of Adobe
    > that ColdFusion would support them, then again if we
    have to buy the fonts
    > again, well that's more money for Adobe...
    cfdoc is mainly driven by iText nothing to do w/selling more
    fonts.
    as far as supporting more font formats:
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=12&6213=6

  • Cfdocument and premissions attributes

    I am trying to create a pdf that will have fields where the
    user can enter their own information and then print off that pdf.
    There is a value that can be set in the permissions of cfdocument
    that is called AllowFillIn. Now I may be being dumb but I just
    can't get a pdf to be generated that has fields where a user can
    enter their own data.
    I can't find anywhere are good documentation that explains
    how one should create a page that has the form fields. I'm sure
    that I am missing something obvious so if anyone has been able to
    do this any help would be greatly appreciated. Even if the help is
    as simple as "it won't work in adobe reader and you have to open
    the pdf in pro or 3D.
    Thanks

    Hi
    Extended attribute :-
    Group of attribute value hold this values .
    from 001 to 10000 - product category . you can mention
    otherwise PRCAT = 001 ,002......10,000 you have to make one by one single entry.
    hope you understand now the use of extended attributes.
    br
    muthu

  • Cfdocument and border-collapse

    We've been using cfdocument to generate a PDF of line-up
    cards used for a soccer league. Since we began using it, we've had
    a problem in which the borders of the line-up cards did not
    properly collapse, resulting in unsightly, double-thick black
    borders throughout the document.
    When I reported this back under CF7, it was acknowledged as a
    bug and that's the last I've heard of it. The league has been
    living with it in the meantime, but many of the types of things
    we'd convert to PDF from HTML employ border-collapse and the
    resulting eyesore does not reflect well on us or on Adobe.
    Is there anything that can be done about this, or are there
    any plans to fix this bug?

    i've seen this before myself and pretty sure i was able to
    remove the double borders using cellpadding="0" cellspacing="0" on
    my <table> tags
    give that a try maybe?

  • Cfdocument and binary output

    I'm using the Fusebox3 framework.
    file: dsp_Invoice.cfm
    <cfdocument format="pdf" orientation="portrait"
    name="myPDF" overwrite="true">
    <cfcontent type="application/pdf" variable="#myPDF#">
    I get the binary results opened in Wordpad with the filename
    default.cfm
    Any ideas?
    Tried using Foxit PDF reader on IE7 and Firefox2. Both
    usually open PDF correctly from anywhere on the web.

    <cfheader name="Content-Disposition" value="inline;
    filename=invoice.pdf">
    <cfcontent type="application/pdf" variable="#myPDF#">
    in place of just the cfcontent tag alone.
    In any case, I would build the invoice document in
    dsp_Invoice.cfm. Then I would open it in a separate page,
    dsp_showInvoice.cfm, say, that contains just a cfheader and
    cfcontent tag.

  • Cfdocument and page column heading

    I am trying to repeat table column headings after the page
    heading for each page of a tablular "report". I am using CF8
    cfdocument type=pdf and cfdocumentitem tags without any success.
    Everything is fine with the first page, but I have not been able to
    figure a way to get column headings on subsequent pages.
    Does anyone have an idea?

    Hi Westside
    I was having issues with page breaks too. The solution I came
    up with
    was the following:
    <cfif #query.recordcount# gte ??>
    <cfdocumentitem type="pagebreak" />
    <table width="0" border="0" cellpadding="0"
    cellspacing="0">
    <tbody>
    <cfoutput query="query" startrow="??" maxrows="??">
    <tr>
    <td>#info_here#</td>
    <td>#info_here#</td>
    </tr>
    </cfoutput>
    </tbody>
    </table>
    </cfif>
    For me this handled my situation, since I have a pretty good
    idea of how
    many records will be generated for the reports and how many
    will fit nicely
    on a given page. So I simply add the above code for how many
    pages I
    believe will handle the report, adjust the startrow, maxrows
    and cfif
    recordcount to the desire figures and the report displays as
    I intend it to.
    Now if you do not know the actual record count, guess that
    could make it
    difficult on how many of these to setup for a given report.
    Hope this gives you an insight on how to address your
    situation.
    Leonard B

  • Cfdocument and coldfusion 8

    cfdocument is working fine when i use "flashpaper".
    Then i've been trying to create a "PDF", and I just cannot
    get it to work.
    Nothing to display in browser.
    <cfdocument format="pdf">
    <h1>PDF Generation</h1>
    <hr />This is an example of PDF generation using
    ColdFusion 7.
    </cfdocument>
    1) My pc have acrobate 7.0 professional.

    Your arguments require more specifications try:
    <cfdocument fontembed="true" format="pdf"
    backgroundvisible="true" filename="#expandPath('.')#\test.pdf"
    pagetype="letter" >
    <h1>PDF Generation</h1>
    <hr />This is an example of PDF generation using
    ColdFusion 7.
    </cfdocument>

  • CFDocument and Fillable PDF

    Hi All,
    I have been searching this forum and looking this topic up in Google but I am still a bit foggy.
    Is it possible to allow a PDF to have "fillable" fields once it has been generated using the <cfdocument> tag?
    I have a PDF that is generated by a user via some formfields and database queries, this works great but I needed to have some areas that can be filled in by the user once the PDF has been generated.
    I didn't know if there was some trick to add blank form fields to the HTML before <cfdocument> does it's magic or something like that?
    Thanks in advance for any help.

    No, <cfdocument...> is really used just to create a static PDF from static HTML or other simple content.
    If you want to go beyond that, you will need to go to more sophisticated techniques: <cfpdf...>, DDX, and maybe the underlying Java.
    This is a the first page of an eight page good blog post that gives a nice overview of the range of ColdFusion PDF tools.
    http://www.coldfusionjedi.com/index.cfm/2007/7/9/ColdFusion-8-Working-with-PDFs-Part-1

  • CFDocument and CFC arguments

    It seems that in CF8, the CFDocument tag has no access to the
    arguments scope in a CFC. I'm really hoping this is not the case,
    but I can't see any other explanation. I'd really rather not go in
    and modify 100 reports that have been working well for years under
    CF7.
    This code errors with "Element REPORTMONTH is undefined in
    ARGUMENTS." in line 106. The cfdump in line 102 works fine as does
    the cfif in line 104.
    Please tell me I don't have to modify, run and test 100 or
    more reports.

    I should point out that if the arguments scope is removed,
    the function works correctly. That is, if line 106 is changed to
    the following, it works fine. It's just that this is
    everywhere.

  • cfdocument and cfchart stopped working when moved to Windows 2003/IIS6

    We just moved our content to a new server: from Windows 2000 to Windows  2003 (IIS6).
    We are using Cold Fusion MX 7,0,2,142559.
    Everything works properly after the move except:
    1. <cfdocument> (any, the simpliest one) hangs producing error:"The  document has no pages. null "
    2. <cfchart> crashes producing error: "Invalid attribute: autoAdjust null"
    What can it be? Where should we look? Is it some Windows 2003  feature/problem/blockage? Or does it look like Cold Fusion was not  installed properly?
    Any Hot Fixes are required?
    Any ideas are welcome!!!

    I would avoid installing 7.0.1 hotfixes on an 7.0.2 installation.   The 7.0.2 release notes state that "It also includes all previous ColdFusion MX 7 hot fixes that have been released to date, eliminating the need to install multiple hot fixes and patches."
    CF 7.0.2 Release notes
    http://www.adobe.com/support/documentation/en/coldfusion/mx702/cf702_releasenotes.html 
    You might try installing the ColdFusion MX 7.02 Cumulative Hot Fix 3 or the CFDocument Cumulative Hot Fix. 
    ColdFusion MX 7.02 Cumulative Hot Fix 3
    http://kb2.adobe.com/cps/402/kb402465.html 
    ColdFusion MX 7.02 - CFDocument Cumulative Hot Fix
    http://kb2.adobe.com/cps/402/kb402093.html

Maybe you are looking for

  • Adobe Acrobat Pro Licence is not working any more

    Hi, Adobe Acrobat Pro is not opening any more and giving the error "Licence is not working any more". I have a CS4 on Mac OS X 10.5.8. I tried all the suggestions in the Help Forum. What remains is to install CS4 again. Is there any risk doing that?

  • Please help - need to restore my iPhone

    When plugging my iPhone into computer for the first time, I accidentally restored my iPhone with my fiance's for the backup. I freaked out and unplugged it halfway through the restoration. Now I have half of his settings/apps/contact info. and half o

  • Ipad air front facing camera fault

    Hi.  My Ipad Air front facing camera has suddenly stopped working.  The rear camera is fine but when i try to switch the screen seems to freeze. I've tried a hard reset but to no effect. I'm running IOS 8.1.2 Any advice greatly appreciated!

  • Setting control bar to resume auto-play (Captivate 6)

    Hi, I am currently using Captivate 6 to create an eLearning course.  We have decided to display the bottom control bar to allow flexibility for the student to move between screens in each lesson.  Currently if the student uses the progress arrow in t

  • MACbook Pro/Bluetooth?Disconnect issues with an Apple mouse and keyboard

    Well Folks- The disconnect issue I have with my Macbook Pro using a wireless Apple Keyboard and mouse is BACK.    I wiped the hard drive clean and I reinstalled and I updated the O.S. system including purchasiing Lion via the ineternet one by one and