Class CupsPrinter

All Implemented Interfaces:
Printer

@Immutable public final class CupsPrinter extends AbstractPrinter
CUPS-based printer implementation using the Java FFM API. Uses libcups if available, otherwise falls back to the lpstat command.
  • Method Details

    • getPrinters

      public static List<Printer> getPrinters()
      Gets printers using CUPS. Uses libcups via FFM if available, otherwise falls back to the lpstat command.
      Returns:
      a list of printers