Package system.printing
Class PrintServer
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.printing.PrintSystemObject
-
- system.printing.PrintServer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
- Direct Known Subclasses:
LocalPrintServer
public class PrintServer extends PrintSystemObject
The base .NET class managing System.Printing.PrintServer, System.Printing, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Printing.PrintServer
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Printing, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: System.Printingstatic java.lang.String
className
Qualified class name: System.Printing.PrintServerstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description PrintServer()
PrintServer(java.lang.Object instance)
Internal constructor.PrintServer(java.lang.String path)
PrintServer(java.lang.String path, java.lang.String[] propertiesFilter)
PrintServer(java.lang.String path, java.lang.String[] propertiesFilter, PrintSystemDesiredAccess desiredAccess)
PrintServer(java.lang.String path, PrintServerIndexedProperty[] propertiesFilter)
PrintServer(java.lang.String path, PrintServerIndexedProperty[] propertiesFilter, PrintSystemDesiredAccess desiredAccess)
PrintServer(java.lang.String path, PrintSystemDesiredAccess desiredAccess)
PrintServer(PrintSystemDesiredAccess desiredAccess)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PrintServer
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoPrintServer
, a cast assert is made to check if types are compatible.void
Commit()
static boolean
DeletePrintQueue(java.lang.String printQueueName)
static boolean
DeletePrintQueue(PrintQueue printQueue)
boolean
getBeepEnabled()
ThreadPriority
getDefaultPortThreadPriority()
ThreadPriority
getDefaultSchedulerPriority()
java.lang.String
getDefaultSpoolDirectory()
PrintServerEventLoggingTypes
getEventLog()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeint
getMajorVersion()
int
getMinorVersion()
boolean
getNetPopup()
ThreadPriority
getPortThreadPriority()
PrintQueue
GetPrintQueue(java.lang.String printQueueName)
PrintQueue
GetPrintQueue(java.lang.String printQueueName, java.lang.String[] propertiesFilter)
PrintQueue
GetPrintQueue(java.lang.String dupParam0, JCORefOut dupParam1)
PrintQueueCollection
GetPrintQueues()
PrintQueueCollection
GetPrintQueues(java.lang.String[] propertiesFilter)
PrintQueueCollection
GetPrintQueues(java.lang.String[] propertiesFilter, EnumeratedPrintQueueTypes[] enumerationFlag)
PrintQueueCollection
GetPrintQueues(JCORefOut dupParam0)
PrintQueueCollection
GetPrintQueues(JCORefOut dupParam0, EnumeratedPrintQueueTypes[] dupParam1)
PrintQueueCollection
GetPrintQueues(EnumeratedPrintQueueTypes[] enumerationFlag)
PrintQueueCollection
GetPrintQueues(PrintQueueIndexedProperty[] propertiesFilter)
PrintQueueCollection
GetPrintQueues(PrintQueueIndexedProperty[] propertiesFilter, EnumeratedPrintQueueTypes[] enumerationFlag)
boolean
getRestartJobOnPoolEnabled()
int
getRestartJobOnPoolTimeout()
ThreadPriority
getSchedulerPriority()
byte
getSubSystemVersion()
PrintQueue
InstallPrintQueue(java.lang.String printQueueName, java.lang.String driverName, java.lang.String[] portNames, java.lang.String printProcessorName, PrintPropertyDictionary initialParameters)
PrintQueue
InstallPrintQueue(java.lang.String printQueueName, java.lang.String driverName, java.lang.String[] portNames, java.lang.String printProcessorName, PrintQueueAttributes printQueueAttributes)
PrintQueue
InstallPrintQueue(java.lang.String printQueueName, java.lang.String driverName, java.lang.String[] portNames, java.lang.String printProcessorName, PrintQueueAttributes printQueueAttributes, java.lang.String printQueueShareName, java.lang.String printQueueComment, java.lang.String printQueueLocation, java.lang.String printQueueSeparatorFile, int printQueuePriority, int printQueueDefaultPriority)
PrintQueue
InstallPrintQueue(java.lang.String printQueueName, java.lang.String driverName, java.lang.String[] portNames, java.lang.String printProcessorName, PrintQueueAttributes printQueueAttributes, PrintQueueStringProperty printQueueProperty, int printQueuePriority, int printQueueDefaultPriority)
PrintQueue
InstallPrintQueue(java.lang.String dupParam0, java.lang.String dupParam1, JCORefOut dupParam2, java.lang.String dupParam3, PrintPropertyDictionary dupParam4)
PrintQueue
InstallPrintQueue(java.lang.String dupParam0, java.lang.String dupParam1, JCORefOut dupParam2, java.lang.String dupParam3, PrintQueueAttributes dupParam4)
PrintQueue
InstallPrintQueue(java.lang.String dupParam0, java.lang.String dupParam1, JCORefOut dupParam2, java.lang.String dupParam3, PrintQueueAttributes dupParam4, java.lang.String dupParam5, java.lang.String dupParam6, java.lang.String dupParam7, java.lang.String dupParam8, int dupParam9, int dupParam10)
PrintQueue
InstallPrintQueue(java.lang.String dupParam0, java.lang.String dupParam1, JCORefOut dupParam2, java.lang.String dupParam3, PrintQueueAttributes dupParam4, PrintQueueStringProperty dupParam5, int dupParam6, int dupParam7)
void
Refresh()
void
setBeepEnabled(boolean BeepEnabled)
void
setDefaultPortThreadPriority(ThreadPriority DefaultPortThreadPriority)
void
setDefaultSchedulerPriority(ThreadPriority DefaultSchedulerPriority)
void
setDefaultSpoolDirectory(java.lang.String DefaultSpoolDirectory)
void
setEventLog(PrintServerEventLoggingTypes EventLog)
void
setJCOInstance(JCObject instance)
void
setMajorVersion(int MajorVersion)
void
setMinorVersion(int MinorVersion)
void
setNetPopup(boolean NetPopup)
void
setPortThreadPriority(ThreadPriority PortThreadPriority)
void
setRestartJobOnPoolEnabled(boolean RestartJobOnPoolEnabled)
void
setRestartJobOnPoolTimeout(int RestartJobOnPoolTimeout)
void
setSchedulerPriority(ThreadPriority SchedulerPriority)
-
Methods inherited from class system.printing.PrintSystemObject
close, Dispose, getName, getParent, getPropertiesCollection, setName, setPropertiesCollection
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Printing, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Printing- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Printing.PrintServer- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PrintServer
public PrintServer(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
PrintServer
public PrintServer() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, ArgumentNullException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, Win32Exception, ObjectDisposedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentException
IndexOutOfRangeException
NotSupportedException
InvalidOperationException
ArgumentNullException
RankException
ArrayTypeMismatchException
InvalidEnumArgumentException
Win32Exception
ObjectDisposedException
-
PrintServer
public PrintServer(PrintSystemDesiredAccess desiredAccess) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, OutOfMemoryException, ArgumentNullException, ArrayTypeMismatchException, RankException, InvalidEnumArgumentException, Win32Exception, ObjectDisposedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentException
IndexOutOfRangeException
NotSupportedException
InvalidOperationException
OutOfMemoryException
ArgumentNullException
ArrayTypeMismatchException
RankException
InvalidEnumArgumentException
Win32Exception
ObjectDisposedException
-
PrintServer
public PrintServer(java.lang.String path, PrintServerIndexedProperty[] propertiesFilter, PrintSystemDesiredAccess desiredAccess) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, OutOfMemoryException, ArgumentNullException, ArrayTypeMismatchException, OverflowException, RankException, InvalidEnumArgumentException, Win32Exception, ObjectDisposedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentException
IndexOutOfRangeException
NotSupportedException
InvalidOperationException
OutOfMemoryException
ArgumentNullException
ArrayTypeMismatchException
OverflowException
RankException
InvalidEnumArgumentException
Win32Exception
ObjectDisposedException
-
PrintServer
public PrintServer(java.lang.String path, PrintServerIndexedProperty[] propertiesFilter) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, OverflowException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, Win32Exception, ArgumentNullException, ObjectDisposedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentException
IndexOutOfRangeException
NotSupportedException
InvalidOperationException
OverflowException
RankException
ArrayTypeMismatchException
InvalidEnumArgumentException
Win32Exception
ArgumentNullException
ObjectDisposedException
-
PrintServer
public PrintServer(java.lang.String path, PrintSystemDesiredAccess desiredAccess) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, OutOfMemoryException, ArgumentNullException, ArrayTypeMismatchException, RankException, InvalidEnumArgumentException, Win32Exception, ObjectDisposedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentException
IndexOutOfRangeException
NotSupportedException
InvalidOperationException
OutOfMemoryException
ArgumentNullException
ArrayTypeMismatchException
RankException
InvalidEnumArgumentException
Win32Exception
ObjectDisposedException
-
PrintServer
public PrintServer(java.lang.String path, java.lang.String[] propertiesFilter, PrintSystemDesiredAccess desiredAccess) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, OutOfMemoryException, ArgumentNullException, ArrayTypeMismatchException, RankException, InvalidEnumArgumentException, Win32Exception, ObjectDisposedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentException
IndexOutOfRangeException
NotSupportedException
InvalidOperationException
OutOfMemoryException
ArgumentNullException
ArrayTypeMismatchException
RankException
InvalidEnumArgumentException
Win32Exception
ObjectDisposedException
-
PrintServer
public PrintServer(java.lang.String path, java.lang.String[] propertiesFilter) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, ArgumentNullException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, Win32Exception, ObjectDisposedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentException
IndexOutOfRangeException
NotSupportedException
InvalidOperationException
ArgumentNullException
RankException
ArrayTypeMismatchException
InvalidEnumArgumentException
Win32Exception
ObjectDisposedException
-
PrintServer
public PrintServer(java.lang.String path) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, ArgumentNullException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, Win32Exception, ObjectDisposedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentException
IndexOutOfRangeException
NotSupportedException
InvalidOperationException
ArgumentNullException
RankException
ArrayTypeMismatchException
InvalidEnumArgumentException
Win32Exception
ObjectDisposedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classPrintSystemObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classPrintSystemObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classPrintSystemObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classPrintSystemObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classPrintSystemObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classPrintSystemObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static PrintServer cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoPrintServer
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
PrintServer
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
DeletePrintQueue
public static boolean DeletePrintQueue(PrintQueue printQueue) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, ArgumentNullException, OutOfMemoryException, ObjectDisposedException
-
DeletePrintQueue
public static boolean DeletePrintQueue(java.lang.String printQueueName) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, ArgumentNullException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ArgumentException, ObjectDisposedException
-
GetPrintQueue
public PrintQueue GetPrintQueue(java.lang.String printQueueName, java.lang.String[] propertiesFilter) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, PrintingNotSupportedException, PrintQueueException, ObjectDisposedException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
PrintingNotSupportedException
PrintQueueException
ObjectDisposedException
CultureNotFoundException
-
GetPrintQueue
public PrintQueue GetPrintQueue(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, PrintingNotSupportedException, PrintQueueException, ObjectDisposedException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
PrintingNotSupportedException
PrintQueueException
ObjectDisposedException
CultureNotFoundException
-
GetPrintQueue
public PrintQueue GetPrintQueue(java.lang.String printQueueName) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, PrintingNotSupportedException, PrintQueueException, ObjectDisposedException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
PrintingNotSupportedException
PrintQueueException
ObjectDisposedException
CultureNotFoundException
-
InstallPrintQueue
public PrintQueue InstallPrintQueue(java.lang.String printQueueName, java.lang.String driverName, java.lang.String[] portNames, java.lang.String printProcessorName, PrintPropertyDictionary initialParameters) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, OutOfMemoryException, AccessViolationException, ObjectDisposedException, FormatException, CultureNotFoundException, PrintQueueException, PrintCommitAttributesException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
OutOfMemoryException
AccessViolationException
ObjectDisposedException
FormatException
CultureNotFoundException
PrintQueueException
PrintCommitAttributesException
-
InstallPrintQueue
public PrintQueue InstallPrintQueue(java.lang.String dupParam0, java.lang.String dupParam1, JCORefOut dupParam2, java.lang.String dupParam3, PrintPropertyDictionary dupParam4) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, OutOfMemoryException, AccessViolationException, ObjectDisposedException, FormatException, CultureNotFoundException, PrintQueueException, PrintCommitAttributesException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
OutOfMemoryException
AccessViolationException
ObjectDisposedException
FormatException
CultureNotFoundException
PrintQueueException
PrintCommitAttributesException
-
InstallPrintQueue
public PrintQueue InstallPrintQueue(java.lang.String printQueueName, java.lang.String driverName, java.lang.String[] portNames, java.lang.String printProcessorName, PrintQueueAttributes printQueueAttributes, PrintQueueStringProperty printQueueProperty, int printQueuePriority, int printQueueDefaultPriority) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, FormatException, OutOfMemoryException, AccessViolationException, ObjectDisposedException, CultureNotFoundException, PrintQueueException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
FormatException
OutOfMemoryException
AccessViolationException
ObjectDisposedException
CultureNotFoundException
PrintQueueException
-
InstallPrintQueue
public PrintQueue InstallPrintQueue(java.lang.String dupParam0, java.lang.String dupParam1, JCORefOut dupParam2, java.lang.String dupParam3, PrintQueueAttributes dupParam4, PrintQueueStringProperty dupParam5, int dupParam6, int dupParam7) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, FormatException, OutOfMemoryException, AccessViolationException, ObjectDisposedException, CultureNotFoundException, PrintQueueException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
FormatException
OutOfMemoryException
AccessViolationException
ObjectDisposedException
CultureNotFoundException
PrintQueueException
-
InstallPrintQueue
public PrintQueue InstallPrintQueue(java.lang.String printQueueName, java.lang.String driverName, java.lang.String[] portNames, java.lang.String printProcessorName, PrintQueueAttributes printQueueAttributes, java.lang.String printQueueShareName, java.lang.String printQueueComment, java.lang.String printQueueLocation, java.lang.String printQueueSeparatorFile, int printQueuePriority, int printQueueDefaultPriority) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, OutOfMemoryException, FormatException, AccessViolationException, ObjectDisposedException, CultureNotFoundException, PrintQueueException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
OutOfMemoryException
FormatException
AccessViolationException
ObjectDisposedException
CultureNotFoundException
PrintQueueException
-
InstallPrintQueue
public PrintQueue InstallPrintQueue(java.lang.String dupParam0, java.lang.String dupParam1, JCORefOut dupParam2, java.lang.String dupParam3, PrintQueueAttributes dupParam4, java.lang.String dupParam5, java.lang.String dupParam6, java.lang.String dupParam7, java.lang.String dupParam8, int dupParam9, int dupParam10) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, OutOfMemoryException, FormatException, AccessViolationException, ObjectDisposedException, CultureNotFoundException, PrintQueueException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
OutOfMemoryException
FormatException
AccessViolationException
ObjectDisposedException
CultureNotFoundException
PrintQueueException
-
InstallPrintQueue
public PrintQueue InstallPrintQueue(java.lang.String printQueueName, java.lang.String driverName, java.lang.String[] portNames, java.lang.String printProcessorName, PrintQueueAttributes printQueueAttributes) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, OutOfMemoryException, FormatException, AccessViolationException, ObjectDisposedException, CultureNotFoundException, PrintQueueException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
OutOfMemoryException
FormatException
AccessViolationException
ObjectDisposedException
CultureNotFoundException
PrintQueueException
-
InstallPrintQueue
public PrintQueue InstallPrintQueue(java.lang.String dupParam0, java.lang.String dupParam1, JCORefOut dupParam2, java.lang.String dupParam3, PrintQueueAttributes dupParam4) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, OutOfMemoryException, FormatException, AccessViolationException, ObjectDisposedException, CultureNotFoundException, PrintQueueException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
OutOfMemoryException
FormatException
AccessViolationException
ObjectDisposedException
CultureNotFoundException
PrintQueueException
-
GetPrintQueues
public PrintQueueCollection GetPrintQueues() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
OutOfMemoryException
-
GetPrintQueues
public PrintQueueCollection GetPrintQueues(EnumeratedPrintQueueTypes[] enumerationFlag) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
OutOfMemoryException
-
GetPrintQueues
public PrintQueueCollection GetPrintQueues(PrintQueueIndexedProperty[] propertiesFilter, EnumeratedPrintQueueTypes[] enumerationFlag) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, OverflowException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
OverflowException
OutOfMemoryException
-
GetPrintQueues
public PrintQueueCollection GetPrintQueues(PrintQueueIndexedProperty[] propertiesFilter) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, OverflowException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
OverflowException
OutOfMemoryException
-
GetPrintQueues
public PrintQueueCollection GetPrintQueues(java.lang.String[] propertiesFilter, EnumeratedPrintQueueTypes[] enumerationFlag) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
OutOfMemoryException
-
GetPrintQueues
public PrintQueueCollection GetPrintQueues(JCORefOut dupParam0, EnumeratedPrintQueueTypes[] dupParam1) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
OutOfMemoryException
-
GetPrintQueues
public PrintQueueCollection GetPrintQueues(java.lang.String[] propertiesFilter) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
OutOfMemoryException
-
GetPrintQueues
public PrintQueueCollection GetPrintQueues(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
OutOfMemoryException
-
Commit
public void Commit() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
- Overrides:
Commit
in classPrintSystemObject
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
-
Refresh
public void Refresh() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
- Overrides:
Refresh
in classPrintSystemObject
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
-
getBeepEnabled
public boolean getBeepEnabled() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
setBeepEnabled
public void setBeepEnabled(boolean BeepEnabled) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
getNetPopup
public boolean getNetPopup() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
setNetPopup
public void setNetPopup(boolean NetPopup) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
getRestartJobOnPoolEnabled
public boolean getRestartJobOnPoolEnabled() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
setRestartJobOnPoolEnabled
public void setRestartJobOnPoolEnabled(boolean RestartJobOnPoolEnabled) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
getSubSystemVersion
public byte getSubSystemVersion() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
getMajorVersion
public int getMajorVersion() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
setMajorVersion
public void setMajorVersion(int MajorVersion) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
OutOfMemoryException
-
getMinorVersion
public int getMinorVersion() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
setMinorVersion
public void setMinorVersion(int MinorVersion) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
OutOfMemoryException
-
getRestartJobOnPoolTimeout
public int getRestartJobOnPoolTimeout() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
setRestartJobOnPoolTimeout
public void setRestartJobOnPoolTimeout(int RestartJobOnPoolTimeout) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
getEventLog
public PrintServerEventLoggingTypes getEventLog() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
setEventLog
public void setEventLog(PrintServerEventLoggingTypes EventLog) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
getDefaultSpoolDirectory
public java.lang.String getDefaultSpoolDirectory() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
setDefaultSpoolDirectory
public void setDefaultSpoolDirectory(java.lang.String DefaultSpoolDirectory) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
getDefaultPortThreadPriority
public ThreadPriority getDefaultPortThreadPriority() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
setDefaultPortThreadPriority
public void setDefaultPortThreadPriority(ThreadPriority DefaultPortThreadPriority) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
getDefaultSchedulerPriority
public ThreadPriority getDefaultSchedulerPriority() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
setDefaultSchedulerPriority
public void setDefaultSchedulerPriority(ThreadPriority DefaultSchedulerPriority) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
getPortThreadPriority
public ThreadPriority getPortThreadPriority() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
setPortThreadPriority
public void setPortThreadPriority(ThreadPriority PortThreadPriority) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
getSchedulerPriority
public ThreadPriority getSchedulerPriority() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
setSchedulerPriority
public void setSchedulerPriority(ThreadPriority SchedulerPriority) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
-
-