java.lang.IllegalArgumentException: Illegal parameters

Stack Overflow | Bug | 4 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    JavaFX Create custome page size get Illegal parameters

    Stack Overflow | 4 months ago | Bug
    java.lang.IllegalArgumentException: Illegal parameters
  2. 0

    How can I programatically select the Tabloid (Ledger) paper size for a JavaFX Print job?

    Stack Overflow | 2 years ago | crazydread18
    java.lang.IllegalArgumentException: Margins must be >= 0

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Illegal parameters

      at javafx.print.PageLayout.<init>()
    2. javafx.print
      Printer.createPageLayout
      1. javafx.print.PageLayout.<init>(PageLayout.java:104)
      2. javafx.print.Printer.createPageLayout(Printer.java:307)
      2 frames
    3. com.coca.service
      FxLabelPrint$1$1.run
      1. com.coca.service.iml.printerserver.FxLabelPrint$1$1.run(FxLabelPrint.java:39)
      1 frame
    4. com.sun.javafx
      PlatformImpl.lambda$null$170
      1. com.sun.javafx.application.PlatformImpl.lambda$null$170(PlatformImpl.java:295)
      1 frame