Interface Capabilities


public interface Capabilities
The capabilities of a printer.
Since:
7.13
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Returns true if the printer supports collate printing.
    default Set<ColorModel>
    Returns an immutable set of the supported color models.
    default Set<DuplexMode>
    Returns an immutable set of the supported DuplexMode values.
    default int
    Returns the maximum number of copies that the printer can make.
    default Set<PaperSize>
    Returns an immutable set of the supported PaperSize values.
  • Method Details

    • canCollate

      default boolean canCollate()
      Returns true if the printer supports collate printing.
    • maxCopies

      default int maxCopies()
      Returns the maximum number of copies that the printer can make.
    • duplexModes

      default Set<DuplexMode> duplexModes()
      Returns an immutable set of the supported DuplexMode values.
    • paperSizes

      default Set<PaperSize> paperSizes()
      Returns an immutable set of the supported PaperSize values.
    • colorModels

      default Set<ColorModel> colorModels()
      Returns an immutable set of the supported color models.