Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.0
    • Fix Version/s: None
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      Printing to Windows XPS or fax virtual printers
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      1.) Where content types permit, set the system property -Dorg.icepdf.core.paint.disableClipping=true.

      2.) Replace line 419 in PrintHelper currenPage.paint(...) with
           Image image = viewController.getDocument().getPageImage(pageIndex,
                      GraphicsRenderingHints.PRINT,
                      Page.BOUNDARY_CROPBOX,
                      rotation, zoomFactor);
              printGraphics.drawImage(image,0,0,null);

            Lower quality print but avoids the clipping issue as well
      Show
      1.) Where content types permit, set the system property -Dorg.icepdf.core.paint.disableClipping=true. 2.) Replace line 419 in PrintHelper currenPage.paint(...) with      Image image = viewController.getDocument().getPageImage(pageIndex,                 GraphicsRenderingHints.PRINT,                 Page.BOUNDARY_CROPBOX,                 rotation, zoomFactor);         printGraphics.drawImage(image,0,0,null);       Lower quality print but avoids the clipping issue as well

      Description

      A few clients have sent us PDF samples that render correctly on screen but are subject to clipping problems when printing.

        Issue Links

          Activity

          Patrick Corless created issue -
          Arran Mccullough made changes -
          Field Original Value New Value
          Salesforce Case [5007000000C4AdI]
          Patrick Corless made changes -
          Workaround Description 1.) Where content types permit, set the system property -Dorg.icepdf.core.paint.disableClipping=true.

          2.) Replace line 419 in PrintHelper currenPage.paint(...) with
               Image image = viewController.getDocument().getPageImage(pageIndex,
                          GraphicsRenderingHints.PRINT,
                          Page.BOUNDARY_CROPBOX,
                          rotation, zoomFactor);
                  printGraphics.drawImage(image,0,0,null);

                Lower quality print but avoids the clipping issue as well
          Workaround Exists [Yes]
          Salesforce Case [5007000000C4AdI] []
          Patrick Corless made changes -
          Salesforce Case []
          Fix Version/s 4.3.3 [ 10333 ]
          Patrick Corless made changes -
          Link This issue blocks PDF-437 [ PDF-437 ]
          Evgheni Sadovoi made changes -
          Salesforce Case [5007000000MGjnj]
          Evgheni Sadovoi made changes -
          Attachment QPViewerIcePdf.rar [ 14473 ]
          Patrick Corless made changes -
          Fix Version/s 4.3.4 [ 10341 ]
          Fix Version/s 4.3.3 [ 10333 ]
          Migration made changes -
          Fix Version/s 4.5 [ 10342 ]
          Fix Version/s 4.3.4 [ 10341 ]
          Patrick Corless made changes -
          Fix Version/s 5.0 [ 10314 ]
          Fix Version/s 4.5 [ 10342 ]
          Patrick Corless made changes -
          Fix Version/s 5.1 [ 10675 ]
          Fix Version/s 5.0 [ 10314 ]
          Patrick Corless made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 5.1 [ 10675 ]
          Resolution Won't Fix [ 2 ]
          Patrick Corless made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Patrick Corless
              Reporter:
              Patrick Corless
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: