com.ibm.as400.access

Class ISeriesNetServerPrintShare

    • Field Detail

      • AFP

        public static final int AFP
        Value of the "spooled file type" attribute, indicating "Advanced Function Printing".
        See Also:
        Constant Field Values
      • AUTO_DETECT

        public static final int AUTO_DETECT
        Value of the "spooled file type" attribute, indicating "Automatic type sensing".
        See Also:
        Constant Field Values
      • SCS

        public static final int SCS
        Value of the "spooled file type" attribute, indicating "SNA character string".
        See Also:
        Constant Field Values
      • USER_ASCII

        public static final int USER_ASCII
        Value of the "spooled file type" attribute, indicating "User ASCII".
        See Also:
        Constant Field Values

    • Method Detail

      • getOutputQueueName

        public String getOutputQueueName()
        Returns the name of the output queue associated with the share.
        Returns:
        The name of the output queue.
      • getOutputQueueLibrary

        public String getOutputQueueLibrary()
        Returns the name of the library containing the output queue associated with the share.
        Returns:
        The library containing the output queue.
      • setOutputQueueName

        public void setOutputQueueName(String name)
        Sets the name of the output queue associated with the share.
        Parameters:
        name - The name of the output queue.
      • setOutputQueueLibrary

        public void setOutputQueueLibrary(String name)
        Sets the name of the library containing the output queue associated with the share.
        Parameters:
        name - The library containing the output queue.
      • getPrintDriver

        public String getPrintDriver()
        Returns the text string that identifies the print driver appropriate for this share. When personal computers connect to this shared printer, this identifies the print driver they should use.
        Returns:
        The print driver.
      • setPrintDriver

        public void setPrintDriver(String printDriver)
        Sets the text string that identifies the print driver appropriate for this share. When personal computers connect to this shared printer, this identifies the print driver they should use. This text should match the name of a print driver known to the personal computer operating system.
        Parameters:
        printDriver - The print driver.
      • getPrinterFileName

        public String getPrinterFileName()
        Returns the name of the printer file associated with the share.
        Returns:
        The name of the printer file.
      • getPrinterFileLibrary

        public String getPrinterFileLibrary()
        Returns the name of the library containing the printer file associated with the share.
        Returns:
        The library containing the printer file.
      • setPrinterFileName

        public void setPrinterFileName(String name)
        Sets the name of the printer file associated with the share.
        Parameters:
        name - The name of the printer file.
      • setPrinterFileLibrary

        public void setPrinterFileLibrary(String name)
        Sets the name of the library containing the printer file associated with the share.
        Parameters:
        name - The library containing the printer file.
      • isPublished

        public boolean isPublished()
        Returns the value of the "publish print share" attribute. This attribute indicates whether the print share is to be published. true indicates that the print share is published.
        Returns:
        The "publish print share" attribute.
      • setPublished

        public void setPublished(boolean isPublished)
        Sets the value of the "publish print share" attribute. This attribute indicates whether the print share is to be published. true indicates that the print share is published.
        Parameters:
        isPublished - The "publish print share" attribute.
      • getSpooledFileType

        public int getSpooledFileType()
        Returns the spooled file type for the share. This specifies the type of spooled files that are created by using this share. Possible values are AFP, AUTO_DETECT, SCS, and USER_ASCII.
        Returns:
        The spooled file type.
      • setSpooledFileType

        public void setSpooledFileType(int spooledFileType)
        Sets the spooled file type for the share. This specifies the type of spooled files that are created by using this share. Valid values are AFP, AUTO_DETECT, SCS, and USER_ASCII.
        Parameters:
        spooledFileType - The spooled file type.