com.ibm.as400.access
Class ISeriesNetServerPrintShare

java.lang.Object
  extended by com.ibm.as400.access.ISeriesNetServerShare
      extended by com.ibm.as400.access.ISeriesNetServerPrintShare
All Implemented Interfaces:
Serializable

public class ISeriesNetServerPrintShare
extends ISeriesNetServerShare

The ISeriesNetServerPrintShare class represents a NetServer print share.

See Also:
Serialized Form

Field Summary
Modifier and Type Field and Description
static int AFP
          Value of the "spooled file type" attribute, indicating "Advanced Function Printing".
static int AUTO_DETECT
          Value of the "spooled file type" attribute, indicating "Automatic type sensing".
static int SCS
          Value of the "spooled file type" attribute, indicating "SNA character string".
static int USER_ASCII
          Value of the "spooled file type" attribute, indicating "User ASCII".
 
Method Summary
Modifier and Type Method and Description
 String getOutputQueueLibrary()
          Returns the name of the library containing the output queue associated with the share.
 String getOutputQueueName()
          Returns the name of the output queue associated with the share.
 String getPrintDriver()
          Returns the text string that identifies the print driver appropriate for this share.
 String getPrinterFileLibrary()
          Returns the name of the library containing the printer file associated with the share.
 String getPrinterFileName()
          Returns the name of the printer file associated with the share.
 int getSpooledFileType()
          Returns the spooled file type for the share.
 boolean isPublished()
          Returns the value of the "publish print share" attribute.
 void setOutputQueueLibrary(String name)
          Sets the name of the library containing the output queue associated with the share.
 void setOutputQueueName(String name)
          Sets the name of the output queue associated with the share.
 void setPrintDriver(String printDriver)
          Sets the text string that identifies the print driver appropriate for this share.
 void setPrinterFileLibrary(String name)
          Sets the name of the library containing the printer file associated with the share.
 void setPrinterFileName(String name)
          Sets the name of the printer file associated with the share.
 void setPublished(boolean isPublished)
          Sets the value of the "publish print share" attribute.
 void setSpooledFileType(int spooledFileType)
          Sets the spooled file type for the share.
 
Methods inherited from class com.ibm.as400.access.ISeriesNetServerShare
getDescription, getName, setDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.