cfdocument type="pdf" problem

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default cfdocument type="pdf" problem

    We are running CFMX7 on a Windows 2003 Server w/SP1 installed. Server is 2-cpu
    Dell 2650.

    We have a page with 8 photo images on it. If I load the page using cfhttp and
    put the content into a PDF document using cfdocument, I can get one of two
    results:

    1. Most often, the first one or two images render OK, and the rest render at
    too high a magnification and as if the image was cropped on the bottom and
    right. In other words, we see the upper left corner of the image. This
    happens when there is little CPU load on the server (i.e., 20% or lower).

    2.Once in a while, all of the images in the page render properly. This ALWAYS
    SEEMS TO HAPPEN when there is a fair amount of CPU load on the server (perhaps
    50% or higher).

    This is quite repeatable. There appears to be a timing issue with the
    rendering of images in PDF files created by cfdocument. It is as if the
    document is being created faster than the images can be rendered if there is
    enough CPU speed available on the server.

    We have width and height values in all the images.

    Have seen several threads about improper image behavior like this, so thought
    these results might be of interest. If anyone has a suggestion or a solution,
    it would be much appreciated. -bg


    Bill Gordon Guest

  2. Similar Questions and Discussions

    1. Distiller uses Finder creator/type "ORAC"/" FDP"
      Distiller 8/9 running on Intel based mac running OSX 10.4.11/10.5.5. It seems that Distiller creates pdf-files with creator/type "ORAC"/" FDP"....
    2. CFINPUT type="radio" w/ "value" requires "label"
      On a Flash form, when you specify type='radio' and value='whatever', the value of the 'value' attribute will be displayed as a label if no 'label'...
    3. problem with reset/clear in <input type="file" >
      how to clear values in input file object. In My Form i need to upload a file and enter some values in other text fields. i have "Submit" and...
    4. #25366 [NEW]: form buttons of type "image" dont send "submit" $_POST variable in IE
      From: jordanolsommer at imap dot cc Operating system: Windows XP PHP version: 4.3.2 PHP Bug Type: Variables related Bug...
    5. convert visual basic "string" data type to DB2 "blob"
      Does anyone know if a visual basic string data type can be converted to DB2 blob datatype? I have all data in XML files and I use Visual Basic to...
  3. #2

    Default Re: cfdocument type="pdf" problem

    I am having the same issue - have you had any luck in solving this?
    jkgiven Guest

  4. #3

    Default Re: cfdocument type="pdf" problem

    I don't think it's anything I can resolve. I think it's a bug in the
    cfdocument tag.

    Only thing I can think of is to try to get one server CPU busy with something
    else, then run the cfdocument tag while it's busy.

    Ridiculous... -bg

    Bill Gordon Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139