com.ibm.as400.access

Class PrinterList

    • Constructor Detail

      • PrinterList

        public PrinterList()
        Constructs a PrinterList object. The system must be set later. This constructor is provided for visual application builders that support JavaBeans. It is not intended for use by application programmers.
        See Also:
        PrintObjectList.setSystem(com.ibm.as400.access.AS400)
      • PrinterList

        public PrinterList(AS400 system)
        Constructs a PrinterList object. It uses the system name specified.
        Parameters:
        system - The system on which the printer devices exist.

    • Method Detail

      • getPrinterFilter

        public String getPrinterFilter()
        Returns the printer list filter.
      • setPrinterFilter

        public void setPrinterFilter(String printerFilter)
                              throws PropertyVetoException
        Sets printer list filter.
        Parameters:
        printerFilter - The name of the printers to list. It cannot be greater than 10 characters in length. It can be a specific name, a generic name, or the special value *ALL. The default for the printerFilter is *ALL.
        Throws:
        PropertyVetoException - If the change is vetoed.