Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8095801

[Printing] Cups - PageLayout, border size error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 8
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:

      Description

      Based on RT-35892


      When creating PageLayout:
      PageLayout pl = prn.createPageLayout(pa.getDefaultPaper(), PageOrientation.PORTRAIT, 6,6,6,6);
      On Linux will still be shown that the size of a border 54

      Example (TestPrinting.java, line 55)
      info(" Printable size: "+pl.getPrintableWidth()+"x"+pl.getPrintableHeight()+", border: "+pl.getLeftMargin()+","+pl.getTopMargin()+","+pl.getRightMargin()+","+pl.getBottomMargin());

      Linux:
          Printable size: 390.0x599.0, border: 54.0,54.0,54.0,54.0
      Windows
          Printable size: 627.0x3364.39370727539, border: 6.0,6.0,6.0,1397.6062927246098

      I would like to understand what it depends


      Project, printer driver, ppd and cups admin screenshot:
      https://drive.google.com/folderview?id=0Bz7309sTKJ2nWFJpc0Z2RXF5aEU&usp=sharing

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                prr Philip Race
                Reporter:
                valexandejfx Vorobyev Alexander (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: