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

[Printing] Cups - PageLayout, border size error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 8u40
    • 8
    • javafx

      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

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

              Created:
              Updated:
              Resolved:
              Imported: