All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.as400.access.PrinterList

java.lang.Object
   |
   +----com.ibm.as400.access.PrintObjectList
           |
           +----com.ibm.as400.access.PrinterList

public class PrinterList
extends PrintObjectList
implements Serializable
The PrinterList class is used to build a list of AS/400 printer objects of type Printer. The list can be filtered by printer name.

See Also:
Printer

Constructor Index

 o PrinterList()
Constructs a PrinterList object.
 o PrinterList(AS400)
Constructs a PrinterList object.

Method Index

 o getPrinterFilter()
Returns the printer list filter.
 o setPrinterFilter(String)
Sets printer list filter.

Constructors

 o PrinterList
 public PrinterList()
Constructs a PrinterList object. The AS/400 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:
setSystem
 o PrinterList
 public PrinterList(AS400 system)
Constructs a PrinterList object. It uses the system name specified.

Parameters:
system - The AS/400 on which the printer devices exist.

Methods

 o getPrinterFilter
 public String getPrinterFilter()
Returns the printer list filter.

 o 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.

All Packages  Class Hierarchy  This Package  Previous  Next  Index