ICEpdf
  1. ICEpdf
  2. PDF-143

Signatures not being printed by printer

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1.1
    • Component/s: API
    • Labels:
      None
    • Environment:
      -
    • Workaround Description:
      On ICEpdf 4.1 and earlier use the system property -Dorg.icepdf.core.scaleImage=false .

      Description

      Only the middle signature on the second page of the test PDF is printed when sent to the printer
      1. 8900.pdf
        50 kB
        Tyler Johnson

        Activity

        Hide
        Patrick Corless added a comment -

        I can only reproduce this using JDK 1.5 and not 1.6. One strange aspect of the PDF is that there are very few clips defined. I'll look more closely to see if the memory manager is cleaning up earlier then it should.

        Show
        Patrick Corless added a comment - I can only reproduce this using JDK 1.5 and not 1.6. One strange aspect of the PDF is that there are very few clips defined. I'll look more closely to see if the memory manager is cleaning up earlier then it should.
        Hide
        Asdasd Asdasd added a comment -

        Using JDK 1.6u21 (last stable one at this date), with IcePDF 4.1.0, on Windows XP SP3 (32 bits), with and without the -Dorg.icepdf.core.paint.disableClipping=true property, I have the same problem.

        Show
        Asdasd Asdasd added a comment - Using JDK 1.6u21 (last stable one at this date), with IcePDF 4.1.0, on Windows XP SP3 (32 bits), with and without the -Dorg.icepdf.core.paint.disableClipping=true property, I have the same problem.
        Hide
        Patrick Corless added a comment -

        After a tone more debug a got a lead when I noticed that disabling -Dorg.icepdf.core.scaleImage=false the fax capture started showing the all the images in the resulting TIFF. It turns out the stream class does it's own image scaling if the images in question is not a mask or smask. The Shapes class was also doing scaling of all images types bing added to the shapes vector. I couldn't find a reason as to why the image scaling was causing the print issue, the images where being painted but just not showing up. There was no clipping in play here as well. The only think I can assume is that something odd was happing with the image processing during the print as screen was ok. The images in question had a mask property which might further complicate things.

        The fix as it stands is to remove the double scaling. If there is still problems then it is possible to disable scaling all together with -Dorg.icepdf.core.scaleImage=false.

        Show
        Patrick Corless added a comment - After a tone more debug a got a lead when I noticed that disabling -Dorg.icepdf.core.scaleImage=false the fax capture started showing the all the images in the resulting TIFF. It turns out the stream class does it's own image scaling if the images in question is not a mask or smask. The Shapes class was also doing scaling of all images types bing added to the shapes vector. I couldn't find a reason as to why the image scaling was causing the print issue, the images where being painted but just not showing up. There was no clipping in play here as well. The only think I can assume is that something odd was happing with the image processing during the print as screen was ok. The images in question had a mask property which might further complicate things. The fix as it stands is to remove the double scaling. If there is still problems then it is possible to disable scaling all together with -Dorg.icepdf.core.scaleImage=false.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Tyler Johnson
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: