public class LocalPrintServer extends PrintServer
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Printing.LocalPrintServer
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Printing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: System.Printing
|
static java.lang.String |
className
Qualified class name: System.Printing.LocalPrintServer
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
LocalPrintServer() |
LocalPrintServer(LocalPrintServerIndexedProperty[] propertiesFilter) |
LocalPrintServer(LocalPrintServerIndexedProperty[] propertiesFilter,
PrintSystemDesiredAccess desiredAccess) |
LocalPrintServer(java.lang.Object instance)
Internal constructor.
|
LocalPrintServer(PrintSystemDesiredAccess desiredAccess) |
LocalPrintServer(java.lang.String[] propertiesFilter) |
LocalPrintServer(java.lang.String[] propertiesFilter,
PrintSystemDesiredAccess desiredAccess) |
| Modifier and Type | Method and Description |
|---|---|
static LocalPrintServer |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into LocalPrintServer, a cast assert is made to check if types are compatible. |
void |
Commit() |
boolean |
ConnectToPrintQueue(PrintQueue printer) |
boolean |
ConnectToPrintQueue(java.lang.String printQueuePath) |
boolean |
DisconnectFromPrintQueue(PrintQueue printer) |
boolean |
DisconnectFromPrintQueue(java.lang.String printQueuePath) |
PrintQueue |
getDefaultPrintQueue() |
static PrintQueue |
GetDefaultPrintQueue() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
void |
Refresh() |
void |
setDefaultPrintQueue(PrintQueue DefaultPrintQueue) |
void |
setJCOInstance(JCObject instance) |
DeletePrintQueue, DeletePrintQueue, getBeepEnabled, getDefaultPortThreadPriority, getDefaultSchedulerPriority, getDefaultSpoolDirectory, getEventLog, getMajorVersion, getMinorVersion, getNetPopup, getPortThreadPriority, GetPrintQueue, GetPrintQueue, GetPrintQueue, GetPrintQueues, GetPrintQueues, GetPrintQueues, GetPrintQueues, GetPrintQueues, GetPrintQueues, GetPrintQueues, GetPrintQueues, getRestartJobOnPoolEnabled, getRestartJobOnPoolTimeout, getSchedulerPriority, getSubSystemVersion, InstallPrintQueue, InstallPrintQueue, InstallPrintQueue, InstallPrintQueue, InstallPrintQueue, InstallPrintQueue, InstallPrintQueue, InstallPrintQueue, setBeepEnabled, setDefaultPortThreadPriority, setDefaultSchedulerPriority, setDefaultSpoolDirectory, setEventLog, setMajorVersion, setMinorVersion, setNetPopup, setPortThreadPriority, setRestartJobOnPoolEnabled, setRestartJobOnPoolTimeout, setSchedulerPriorityclose, Dispose, getName, getParent, getPropertiesCollection, setName, setPropertiesCollectionpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public LocalPrintServer()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
FormatException,
ArgumentException,
NotSupportedException,
InvalidOperationException,
MemberAccessException,
TargetException,
TargetParameterCountException,
ObjectDisposedException,
AbandonedMutexException,
InvalidEnumArgumentException,
Win32Exception,
NullReferenceException,
IndexOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionMemberAccessExceptionTargetExceptionTargetParameterCountExceptionObjectDisposedExceptionAbandonedMutexExceptionInvalidEnumArgumentExceptionWin32ExceptionNullReferenceExceptionIndexOutOfRangeExceptionpublic LocalPrintServer(LocalPrintServerIndexedProperty[] propertiesFilter) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, NotSupportedException, InvalidOperationException, MemberAccessException, TargetException, TargetParameterCountException, ObjectDisposedException, AbandonedMutexException, InvalidEnumArgumentException, Win32Exception, NullReferenceException, IndexOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionMemberAccessExceptionTargetExceptionTargetParameterCountExceptionObjectDisposedExceptionAbandonedMutexExceptionInvalidEnumArgumentExceptionWin32ExceptionNullReferenceExceptionIndexOutOfRangeExceptionpublic LocalPrintServer(LocalPrintServerIndexedProperty[] propertiesFilter, PrintSystemDesiredAccess desiredAccess) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, NotSupportedException, InvalidOperationException, MemberAccessException, TargetException, TargetParameterCountException, ObjectDisposedException, AbandonedMutexException, OutOfMemoryException, InvalidEnumArgumentException, Win32Exception, NullReferenceException, IndexOutOfRangeException, CultureNotFoundException, NotImplementedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionMemberAccessExceptionTargetExceptionTargetParameterCountExceptionObjectDisposedExceptionAbandonedMutexExceptionOutOfMemoryExceptionInvalidEnumArgumentExceptionWin32ExceptionNullReferenceExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionpublic LocalPrintServer(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic LocalPrintServer(PrintSystemDesiredAccess desiredAccess) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, NotSupportedException, InvalidOperationException, MemberAccessException, TargetException, TargetParameterCountException, ObjectDisposedException, AbandonedMutexException, OutOfMemoryException, InvalidEnumArgumentException, Win32Exception, NullReferenceException, IndexOutOfRangeException, CultureNotFoundException, NotImplementedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionMemberAccessExceptionTargetExceptionTargetParameterCountExceptionObjectDisposedExceptionAbandonedMutexExceptionOutOfMemoryExceptionInvalidEnumArgumentExceptionWin32ExceptionNullReferenceExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionpublic LocalPrintServer(java.lang.String[] propertiesFilter)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
FormatException,
ArgumentException,
NotSupportedException,
InvalidOperationException,
MemberAccessException,
TargetException,
TargetParameterCountException,
ObjectDisposedException,
AbandonedMutexException,
InvalidEnumArgumentException,
Win32Exception,
NullReferenceException,
IndexOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionMemberAccessExceptionTargetExceptionTargetParameterCountExceptionObjectDisposedExceptionAbandonedMutexExceptionInvalidEnumArgumentExceptionWin32ExceptionNullReferenceExceptionIndexOutOfRangeExceptionpublic LocalPrintServer(java.lang.String[] propertiesFilter,
PrintSystemDesiredAccess desiredAccess)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
FormatException,
ArgumentException,
NotSupportedException,
InvalidOperationException,
MemberAccessException,
TargetException,
TargetParameterCountException,
ObjectDisposedException,
AbandonedMutexException,
OutOfMemoryException,
InvalidEnumArgumentException,
Win32Exception,
NullReferenceException,
IndexOutOfRangeException,
CultureNotFoundException,
NotImplementedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionMemberAccessExceptionTargetExceptionTargetParameterCountExceptionObjectDisposedExceptionAbandonedMutexExceptionOutOfMemoryExceptionInvalidEnumArgumentExceptionWin32ExceptionNullReferenceExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionpublic static LocalPrintServer cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into LocalPrintServer, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedLocalPrintServer instancejava.lang.Throwable - in case of error during cast operationpublic void Commit()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidEnumArgumentException,
InvalidOperationException,
Win32Exception,
SecurityException,
NotSupportedException,
ObjectDisposedException,
AbandonedMutexException,
NullReferenceException,
IndexOutOfRangeException,
NotImplementedException
Commit in class PrintServerjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidEnumArgumentExceptionInvalidOperationExceptionWin32ExceptionSecurityExceptionNotSupportedExceptionObjectDisposedExceptionAbandonedMutexExceptionNullReferenceExceptionIndexOutOfRangeExceptionNotImplementedExceptionpublic boolean ConnectToPrintQueue(PrintQueue printer) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidEnumArgumentException, InvalidOperationException, Win32Exception, SecurityException, NotSupportedException, ObjectDisposedException, AbandonedMutexException, IndexOutOfRangeException, NullReferenceException, NotImplementedException, CultureNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidEnumArgumentExceptionInvalidOperationExceptionWin32ExceptionSecurityExceptionNotSupportedExceptionObjectDisposedExceptionAbandonedMutexExceptionIndexOutOfRangeExceptionNullReferenceExceptionNotImplementedExceptionCultureNotFoundExceptionpublic boolean ConnectToPrintQueue(java.lang.String printQueuePath)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidEnumArgumentException,
InvalidOperationException,
Win32Exception,
SecurityException,
NotSupportedException,
MissingMethodException,
TargetInvocationException,
OutOfMemoryException
public boolean DisconnectFromPrintQueue(PrintQueue printer) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidEnumArgumentException, InvalidOperationException, Win32Exception, SecurityException, NotSupportedException, ObjectDisposedException, AbandonedMutexException, IndexOutOfRangeException, NullReferenceException, NotImplementedException, CultureNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidEnumArgumentExceptionInvalidOperationExceptionWin32ExceptionSecurityExceptionNotSupportedExceptionObjectDisposedExceptionAbandonedMutexExceptionIndexOutOfRangeExceptionNullReferenceExceptionNotImplementedExceptionCultureNotFoundExceptionpublic boolean DisconnectFromPrintQueue(java.lang.String printQueuePath)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidEnumArgumentException,
InvalidOperationException,
Win32Exception,
SecurityException,
NotSupportedException,
MissingMethodException,
TargetInvocationException,
OutOfMemoryException
public PrintQueue getDefaultPrintQueue() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidEnumArgumentException, InvalidOperationException, Win32Exception, SecurityException, NotSupportedException, ObjectDisposedException, AbandonedMutexException, NullReferenceException, CultureNotFoundException, NotImplementedException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidEnumArgumentExceptionInvalidOperationExceptionWin32ExceptionSecurityExceptionNotSupportedExceptionObjectDisposedExceptionAbandonedMutexExceptionNullReferenceExceptionCultureNotFoundExceptionNotImplementedExceptionpublic static PrintQueue GetDefaultPrintQueue() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotSupportedException, TargetParameterCountException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException, Win32Exception, NullReferenceException, IndexOutOfRangeException, CultureNotFoundException, MissingManifestResourceException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotSupportedExceptionTargetParameterCountExceptionInvalidOperationExceptionObjectDisposedExceptionAbandonedMutexExceptionWin32ExceptionNullReferenceExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class PrintServerString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class PrintServerString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class PrintServerObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class PrintServerString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class PrintServerJCType representing the CLR Type of the instantiated Classpublic void Refresh()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidEnumArgumentException,
InvalidOperationException,
Win32Exception,
SecurityException,
NotSupportedException,
ObjectDisposedException,
AbandonedMutexException,
NullReferenceException,
CultureNotFoundException,
TargetParameterCountException,
PrintQueueException
Refresh in class PrintServerjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidEnumArgumentExceptionInvalidOperationExceptionWin32ExceptionSecurityExceptionNotSupportedExceptionObjectDisposedExceptionAbandonedMutexExceptionNullReferenceExceptionCultureNotFoundExceptionTargetParameterCountExceptionPrintQueueExceptionpublic void setDefaultPrintQueue(PrintQueue DefaultPrintQueue) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidEnumArgumentException, InvalidOperationException, Win32Exception, SecurityException, NotSupportedException, NullReferenceException, ObjectDisposedException, AbandonedMutexException
public void setJCOInstance(JCObject instance)
setJCOInstance in class PrintServer