Cfdocument format = PDF - does not format correctly

Greetings
I am simply attempting to print invoices from a query that displays correctly on the cfm result page, but using cfdocument to render a PDF version (to mail out) does not format even remotely close to the cfm page.
I tried every conceivable method I know of, including:
Formating the cfm page (via CSS and hardcoded table width) to be 612 px X 792 px (8.5 X 11 in), and here is the cfdocument code:
<cfdocument
format="pdf" 
pageType="custom"
unit="in"
marginbottom="0.75"
marginleft="0.75"
marginright="0.75"
margintop="0.75"
pageHeight="11"
pageWidth="8.5"
mimeType="text/html"
fontembed="yes"
orientation="portrait">
<style type="text/css">
@import url(css/moorings.css);
</style>
<html> blah blah </html>
</cfdocument>
The rendered PDF file is 4.5 X 5 in- (both in IE and Firefox) What am I missing here?
CF 9
Thanks in advance, as always.

Well, in answer to my own question, the solution is in the CSS, using tables and CSS:
set table height and width to 100%
set font-size:100%;
set header font, bolder, larger :125%;, etc.
Also using the cfdocument attributes as shown in the posting
The PDF now prints correctly, margins are perfect.
Now I have to figure out how to loop through the 900+ records, convert each to a PDF and print one copy of each-
Anyone?
Thanks....

Similar Messages

  • PDF does not display correctly

    Issue: One of our website page displays a PDF form filled with data retrieved from database. The PDF file displays perfect in IE browser, but the PDF form was blank in Firefox browser - can not see the filled data at all in Firefox browser nor in print-out from Firefox.
    I installed the most recent version of Firefox PDF viewer 0.8.1 add-on, and played with different options under the menu "options/Portable Document Format (PDF), but no luck to solve the above issue.
    I noticed that not only our website, but also some government websites have the same issue display data filled PDF.
    Anybody can help me out to resolve this issue?
    Many thanks!

    This may well be a limitation of the JavaScript-based PDF Viewer. It currently does not support all the feature of the Adobe plugin (or stand-alone version of Adobe Reader). You can test that theory using the steps in this article: [[How to disable the built-in PDF viewer and use another viewer]].
    While an end user can switch around among viewers by changing their Firefox options, unfortunately there currently is no way for websites to detect which viewer is in use and assist visitors in a personalized manner. I think for now you may need to recommend that Firefox users use the above article for assistance if more complex PDFs do not render as expected.

  • .pdf does not render correctly

    Hello everyone:
    When creating a .pdf from a .html dreamweaver file it does not render properly. Headings go to the left and sidebar images do not display properly. Any ideas as to how to fix this. Using Adode Acrobat 8 Professional and Adobe Dreamweaver CS3. Many Thanks

    Take a screenshot of the page then convert that to a PDF.
    The PrtScr key on the keyboard only captures what you can see on screen (or the active window).
    To get the entire page, either use something like SnagIt (commercial) or use one of the free add-ons for Firefox.
    Edit: or as Paula suggests, create a print stylesheet.
    http://www.alistapart.com/articles/goingtoprint/
    Message was edited by: John Waller

  • Converting .docx with chart to .pdf does not work correctly

    I have a docx file with an excel chart and a hyperlink in it. The chart is a line chart with data makers on the lines. One set of data markers are circles. The chart is simply copied from excel and pasted into word. I am using word and excel 2007 and adobe acrobat 8 standard on windows XP SP2. all software is fully updated.
    When I convert this doxc file to pdf, the circle data markers from the chart are greatly enlarged and obscure the text and chart. The hyperlink works fine. This occurs when I use the acrobat plug-in within word to create a "quick and simple" pdf. this also occurs when I open adobe and choose create pdf from file. I cannot use the word plug-in to create a "fully functional" pdf. This feature simply does not work.
    When I convert the file to a pdf using the adobe printer/distiller, the circle data markers on the chart are fine, but the hyperlink no longer functions.
    I can copy the chart from excel and paste it into powerpoint and publisher and the conversion to pdf works fine. i can also create a pdf of the chart from excel to pdf without problems, so it appears to be a word to pdf issue.

    Thanks Bill
    Perhaps I was not clear enough though. I am not really concerned with the hyperlinks.
    The main problem is the excel chart. When I use PDF Maker the circle data markers from the chart are greatly enlarged and obscure the text and chart. The only way to make the chart look normal is to use the distiller, which kills the hyperlinks. I would rather use PDF Maker, keep the functionality of the hyperlinks, and have the excel chart look normal. The PDF Maker distorts the circle data markers on the chart and makes the page unreadable. That is what I need to fix.
    I realize the simple solution is to use something other that circles for data makers, but I have a lot of charts and don't want to spend the time remaking them all.

  • PDF does not convert correctly to Word

    When I convert a PDF file to Word (either doc or 97-2003), I have to make major changes to the font, formatting, etc.  I may as well have retyped the actual document.  Am I doing something wrong?  Program was too expensive to have to tweak it!

    Hi,
    Would you send your PDF document to [email protected] as an email attachment? 
    I will check it from my end.Please add the link to this forum post for reference.
    Regards,
    Florence

  • PDF does not show correct font with RTF template

    Hi,
    I have some doubts regarding fonts in PDF reports.
    when we create any XML report of PDF output type with RTF template, does the font used in the template has to be uploaded to the server?
    I have create a RTF template to produce PDF output with arabic text in Times New Roman font but when i preview the template it shows courier font.
    Please help.

    Hi,
    The document id is discussing general issues with Oracle Reports.
    But my basic question is that Do i need to upload font to XML Publisher when i am using RTF template.
    Or it is RDF report only for which i have to work with uifont.ali
    Please reply.

  • Devanagari font in layed out in Indesign (using IndicPlus) does not export correctly to a PDF.

    Namaste InDesign gurus,
          I have a problem at hand. Wondering if anyone has encoutered similar problem before? Any help is greatly appreciated. And if you're in San Francisco bay area - I can buy you a lunch :-)
    Short description: Devanagari font in layed out in Indesign (using IndicPlus) does not export correctly to a PDF. All the ligatures are assembled and displayed in the PDF.
    Adobe Indesign Version: InDesign CS5 Design Premium - regular U.S. version (not ME).
    Steps I took:
              I purchased CS5 Design Premium and also purchased the IndicPlus plugin to author sanskrit documents in InDesign. I create Sanskrit text using either of the following methods.
    1) Itranslator
    2) Paste the devanagari from the Itranslator directly into InDesign or paste it first into MSWord and then copy from MSWord and paste it to Indesign.
    It doesn't matter how I paste it. After I apply the IndicPlus character/paragraph style so that the sanskrit looks good in InDesign, when I try to export it to a PDF. The PDF does not display the ligatures currectly. It just lists all the characters in order without assembling.
    I've spent a lot of money buying CS5, IndicPlus and then I can't even create a simple PDF document from InDesign. It is very frustrating.
    Has anyone been able to successfully export a sanscrit document from InDesign PDF ?
    (Please let me know if my problem description needs more fleshing out).
    I could create the PDF from MSWord directly but I'm trying to use indesign to layout my book. If InDesign cannot export to PDF I'll just have to use MSWord for my book layout. I've spend probably scores of hours trying to learn InDeisn and formatting my book content - seems like it is all going to be waste.
    Is MSWord the best choice or only choice for laying out books that have sanskrit text in them?
    -Ravi

    Has anyone been able to successfully export a sanscrit document from InDesign PDF ?
    Not Sanskrit, no, but plenty of Hindi, Nepali, Marathi, and other languages written in Devanagari script - so it should be possible. I don't even use IndicPlus, which by most accounts makes working with Indic text much easier.
    1) Itranslator
    I've never seen this, but a quick Google led me to the homepage of ITranslator for Windows, where I saw this:
    Itranslator 99 (Build 1.3.0.86)  & New Beta Version
    uses 8-bit true type fonts and is compatible
    with Windows 95/98/ME/NT/2000/XP.
    For more information, click here.
    Itranslator 2003 (Build 2.0.0.38) & New Beta Version
    uses 16-bit Unicode-compatible fonts and is working
    only on Windows 2000 / XP / Server 2003.
    For more information, click here.
    So, if you're using ITranslator 99, there's the problem - those "8-bit true type fonts" won't work in InDesign. Can you post a sample of the text you're trying to paste into InDesign? Name the font(s) you are using, both in Word and in Indesign, and if possible make a small sample of the text available for us to test. It's also possible that InDesign is using a substituted font, which could cause this problem. So, if the font name in InDesign has brackets around it, you know that InDesign doesn't actually have that font installed and is auto-substituting. Also, if you go to View -> Screen Mode -> Normal and the text is highlighted pink, you know that the font has dropped. (Unless the highlighting for dropped fonts was turned off - check in Edit -> Preferences -> Composition and make sure that "Substituted Fonts" is checked.
    Also, for what it's worth, is there any way you could Place your text instead of copying and pasting? This may be cause of your problem - but even though it probably isn't, it's still worth a try.
    Lastly - no, I've found InDesign to be superior for typesetting for almost all languages, but the learning curve is pretty steep, and many of the problems faced by people working in non-English languages are not easy to research when you have a problem.

  • Aperture was not able to adjust the date and time of the master file "2008-06-22 at 14-41-14.jpg" because it has a format that does not permit date modification.

    I can't seem to find a way to update the date/time of a master file. There is a format issue but I can't seem to figure out how to correct it.
    Aperture was not able to adjust the date and time of the master file “2008-06-22 at 14-41-14.jpg” because it has a format that does not permit date modification.

    Can you post an ipconfig /all from the server and the DC?
    Robert Pearman SBS MVP
    itauthority.co.uk |
    Title(Required)
    Facebook |
    Twitter |
    Linked in |
    Google+

  • Format that does not permit data modification?

    When I try to change date/time of some images, I get this message.
    +"Aperture was not able adjust the date and time of the master files because they have a format that does not permit date modification."+
    While some images are modified successfully, others are not. Those files are not locked nor wrong permission setting. Anybody know what is causing this? The files are all Nikon's NEF files.

    kfuse wrote:
    When I try to change date/time of some images, I get this message.
    +"Aperture was not able adjust the date and time of the master files because they have a format that does not permit date modification."+
    While some images are modified successfully, others are not. Those files are not locked nor wrong permission setting. Anybody know what is causing this? The files are all Nikon's NEF files.
    hi, kfuse
    unless I'm mistaken you cannot edit the exif data created from the camera like date and time. you might want to do a search about this subject in our forum, there was a big brouhaha regarding this about a couple of years ago regarding a court case and exif date/time data.
    victor

  • Formatted Seach does not update on UDT

    Hello Experts,
    One of our client is using a third party add-on for their rental business. On the rental document lines the formatted search does not automatically update rental warehouse field when exiting or field changed ( Item No). What could be the problem? When manually clicked on the globe icon it works.Here is the formatted search. SAP B1 8.8 PL15
    Select Case $[@BIZ_ORDR.U_RenWhse]
    When '22' Then '02'
    When '11' Then '01'
    When '33' Then '03'
    End
    Any help would be appreciated.

    Based on the UDF code, it seems that the UDF is located in the document header meanwhile the itemcode is in the document line. I think that's why it is not updated eventhough the itemcode is changed by user
    JimM

  • Format option does not work in reply mode re Bt Ya...

    Hi There - I wonder if anyone has had this problem?  When clicking on reply to a recipient's email I find that the format option does not work! (I use this to highlight my reply in a different text colour)  It works fine when I compose a new email msg but not when using reply.
    I am finding this switch over to this 'new improved' Yahoo email a nightmare to be honest.  I would never have tried it out had I known I would not be able to switch back. 
    Why didn't I heed that age old saying 'why fix it if it ain't broke'
    I would appreciate any help.
    Many Thanks
    Heddybell

    Hi Stephanie
    Thanks for replying to me.
    No - none of those.  Formatting just does not work!  It was as if I had not tried to format - it just did NOTHING.
    However, by some miracle (and believe me it was) I have been able to return to my old BT Yahoo Classic  and the problem is no more!
    Wow!  That 'All-new Bt Yahoo Mail' leaves a lot to be desired!  Thank goodness I got out of it even there was no 'Switch Back' available.  Like I said "It was a miracle'!!!!!
    Thanks again
    Heddybell

  • Imovie is limited to its import formats and does not allow for storing video in any rawformat.  Which means all videos will contain lossy compression applied to the video-.with no way to edit full format video.  Is this statement true?

    Imovie is limited to its import formats and does not allow for storing video in any rawformat.  Which means all videos will contain lossy compression applied to the video….with no way to edit full format video.  Is this statement true? Does iMovie support HD 1080p @ 60 fps?

    Iggy826 wrote:
    …   Is this statement true?
    yes and no!
    using the intended Import from Camera routines, iM converts automatically in its very own AppleIntermediateCodec. so, answer is yes.
    but …
    a) Apple claims , aic is non-lossy intermediate codec. working with proRes in FCPX taught me, there are even less non-lossy-ness codecs
    b) iM offers an Archive feature, which is basically a simple Finder/copy operation which 'clones' your SDcards content into some folder on your harddrive; e.g. you can later use these untouched  'raws' in another editor such as FCPX. so, answer is no.
    c) when you 'override' the import routines by manually re-wrapping mts into a mov container, iM handles the 'native' h264s ... so, answer is no.
    d) adding any effect, transition etc. reduces any interlaced source to 540p. (if you're working with 720p source, res is kept) … so, answer is yes. or, in 720p case, no.
    < Johnny Depp's voice >… savvy?
    Does iMovie support HD 1080p @ 60 fps?
    via Import from Camera? No.
    via re-wrapped mts>>mov? I was told yes, some say no.
    one thing to be kept in mind when talking about these 'issues':
    iM, this 12€, is meant as a CONSUMER toy tool.
    it supports AVCHD vers1 (=no 1080/60p, no >24Mbps, no 3D).
    fingers crossed, we'll see soon some iM/QT/FCPX update for support of AVCHD v2 ........
    the main consumer devices are within the specs, iM supports.
    using professional equipments makes usage of professional software (FCPX, AP) optional.
    sorry for lengthy answer.

  • 11x17 tabloid does not print correctly

    I am using an HP Photosmart printer model 8550, my previous printer was an HP Photosmart 8750. That printer died and the 8550 is the newer model of the same printer. When trying to print an 11X17 document in tabloid, the page does not print correctly nor does it show in preview mode correctly. The page shifts to the upper left corner so that the left side and top of the document do not print. If you scale down the size you can get it to print the whole documentm but you cannot get it to use the whole 11x17 page. Anyone else with this problem and a solution? Thanks!

    [email protected] wrote:
    I am having a similar problem.  I have windows XL,
    and a hp Deskjet 9800.  I have been using PM 6.5 ever since it came out.  I publish a newsletter using tabloid fold in half, under booklet.  So it is a really a 4 page document.  It has always done fine until this week.  It prints the copy in reduced format that would fit on a 8 1\2 x 11.  I have tried every setting possible, with no success.  Today I downloaded the trial 7.0 version, it does the same thing.  I went back and printed old versions that a 3 & 4 years old they won't print right now, either.
    It's old software and new operating system/printer drivers. You are unlikely to get any help from Adobe or HP but you can try.
    Create a PDF and print that as it's unlikely the DeskJet has PS mode.
    BTW, booklet printing is far easier with ISO paper sizes.
    Move on up to InDesign while you can still get a big discount with PM Licence number.

  • PDF does not contain all document elements

    I've created a new brochure using InDesign CS5 and everything looks OK in the InDesign format, but when I export the file into pdf-format, not all elements are included.
    The pdf does not display the top banner on one page and a transparent figure is missing from the background of all odd pages. I have used two masters and the master pages look OK in the InDesign format.
    I've tried exporting the file into several different pdf formats (print quality, high quality etc...), but the problem remains.
    Do you know where the problem is? I really hope you can help me.
    BR,
    Suvi

    Ok, thank you for the answer. I need to install the 7.0.3. update.
    However, the issue got solved when I used the print to pdf function instead of export and thicked the "Print non-printing objects" box. :-)

  • REPORT DOES NOT RUN CORRECTLY , URGENT PLEASE HELP

    Hi,
    I am trying to run a report from visul basic screen, but it does not run correctly. Here is how I am running the report. There is a screen developed in VB This screen prompts the user for user id and password. Once it gets that, it connects to the oracle database and pulls out a column from a table. And passes that value as a parameter to the report. Now I am calling the the report for each individual value . There are 21 value being pulled out of the database and it invokes the report 21 times. So there are 21 report engines gets started. Is there a better way to do that ? Secondly when I pass the parameter , some parameters does not pass correctly I guess , because its not generating any out put . Like out of 21 may be 10 or 11 reports gets generated correctly but rest of the reports are blank. I debug the screen i saw that the parameter value is correct, everything seems good. But still the reports are comming blank. Any Idea why it is so ? The command line that i am using in VB screen is
    Shell "C:\progra~1\ora95_2\bin\rwrun60.exe P:\Business_Analysis_&_Reporting_Tool\Test_REPORT_Templates\STORE_TYPES\Baby_Distribution_Report.Rdf USERID=" & UID & "/" & PWD & "@cposp201 DESFORMAT=PDF DESTYPE=FILE DESNAME=" & txtPath.Text & Replace(strName, " ", "_") & ".PDF BRND='" & adoRecBrand!Brand & "' PRINTJOB=NO PARAMFORM=NO"
    In the above command " adoRecBrand!Brand " is the parameter thats being passed. This is actually a recordset and brand is the column in it. When I debug the screen , I see the value also there. But the report comes out blank. Please help. This is urgent.
    Thanks
    Feroz

    The way you call reports is not scalable. If you have 100 records come back from database, you would end up launch 100 engines at the same times, which probably will blow up your machine. You should use oracle reports server to do that. You can either use rwcli60 to submit the job to reports server, or invoke rwcgi60 from URL.
    I am afraid some of reports engine failed to start and you get nothing back in your case.
    After switch to use reports server achitecture, if you still see some report is blank in your application, then you can run that report with that special set of parameters manually and see if any problem with the report itself.
    Hope this helps.
    Thanks,
    -Shaun

Maybe you are looking for