public class LocalPrintServer extends PrintServer
.NET documentation at https://learn.microsoft.com/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=8.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()
Initializes a new instance by invoking the .NET constructor.
|
LocalPrintServer(LocalPrintServerIndexedProperty[] propertiesFilter)
Initializes a new instance by invoking the .NET constructor.
|
LocalPrintServer(LocalPrintServerIndexedProperty[] propertiesFilter,
PrintSystemDesiredAccess desiredAccess)
Initializes a new instance by invoking the .NET constructor.
|
LocalPrintServer(java.lang.Object instance)
Internal constructor.
|
LocalPrintServer(PrintSystemDesiredAccess desiredAccess)
Initializes a new instance by invoking the .NET constructor.
|
LocalPrintServer(java.lang.String[] propertiesFilter)
Initializes a new instance by invoking the .NET constructor.
|
LocalPrintServer(java.lang.String[] propertiesFilter,
PrintSystemDesiredAccess desiredAccess)
Initializes a new instance by invoking the .NET constructor.
|
| 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()
Invokes the .NET member Commit.
|
boolean |
ConnectToPrintQueue(PrintQueue printer)
Invokes the .NET member ConnectToPrintQueue.
|
boolean |
ConnectToPrintQueue(java.lang.String printQueuePath)
Invokes the .NET member ConnectToPrintQueue.
|
boolean |
DisconnectFromPrintQueue(PrintQueue printer)
Invokes the .NET member DisconnectFromPrintQueue.
|
boolean |
DisconnectFromPrintQueue(java.lang.String printQueuePath)
Invokes the .NET member DisconnectFromPrintQueue.
|
PrintQueue |
getDefaultPrintQueue()
Gets the value of the .NET property DefaultPrintQueue.
|
static PrintQueue |
GetDefaultPrintQueue()
Invokes the .NET member GetDefaultPrintQueue.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
void |
Refresh()
Invokes the .NET member Refresh.
|
void |
setDefaultPrintQueue(PrintQueue DefaultPrintQueue)
Sets the value of the .NET property DefaultPrintQueue.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
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,
ArgumentException,
NotSupportedException,
IndexOutOfRangeException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentNullException,
RankException,
ArrayTypeMismatchException,
InvalidEnumArgumentException,
Win32Exception,
ObjectDisposedException,
OutOfMemoryException
java.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic LocalPrintServer(LocalPrintServerIndexedProperty[] propertiesFilter) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, Win32Exception, ObjectDisposedException, OutOfMemoryException
propertiesFilter - the argument of type LocalPrintServerIndexedProperty[]java.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic LocalPrintServer(LocalPrintServerIndexedProperty[] propertiesFilter, PrintSystemDesiredAccess desiredAccess) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, ArrayTypeMismatchException, RankException, InvalidEnumArgumentException, Win32Exception, ObjectDisposedException, ExternalException, CultureNotFoundException
propertiesFilter - the argument of type LocalPrintServerIndexedProperty[]desiredAccess - the argument of type PrintSystemDesiredAccessjava.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itRankException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itObjectDisposedException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic LocalPrintServer(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic LocalPrintServer(PrintSystemDesiredAccess desiredAccess) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, OutOfMemoryException, ArrayTypeMismatchException, RankException, InvalidEnumArgumentException, Win32Exception, ObjectDisposedException, ExternalException, CultureNotFoundException
desiredAccess - the argument of type PrintSystemDesiredAccessjava.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itRankException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itObjectDisposedException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic LocalPrintServer(java.lang.String[] propertiesFilter)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
NotSupportedException,
IndexOutOfRangeException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentNullException,
RankException,
ArrayTypeMismatchException,
InvalidEnumArgumentException,
Win32Exception,
ObjectDisposedException,
OutOfMemoryException
propertiesFilter - the argument of type java.lang.String[]java.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic LocalPrintServer(java.lang.String[] propertiesFilter,
PrintSystemDesiredAccess desiredAccess)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
NotSupportedException,
IndexOutOfRangeException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentNullException,
OutOfMemoryException,
ArrayTypeMismatchException,
RankException,
InvalidEnumArgumentException,
Win32Exception,
ObjectDisposedException,
ExternalException,
CultureNotFoundException
propertiesFilter - the argument of type java.lang.String[]desiredAccess - the argument of type PrintSystemDesiredAccessjava.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itRankException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itObjectDisposedException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic 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,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentNullException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidOperationException,
InvalidEnumArgumentException,
Win32Exception,
NotSupportedException
Commit in class PrintServerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic boolean ConnectToPrintQueue(PrintQueue printer) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, ObjectDisposedException, CultureNotFoundException
printer - the argument of type PrintQueuejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic boolean ConnectToPrintQueue(java.lang.String printQueuePath)
throws java.lang.Throwable,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentNullException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidOperationException,
InvalidEnumArgumentException,
Win32Exception,
NotSupportedException,
OutOfMemoryException
printQueuePath - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic boolean DisconnectFromPrintQueue(PrintQueue printer) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, ObjectDisposedException, CultureNotFoundException
printer - the argument of type PrintQueuejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic boolean DisconnectFromPrintQueue(java.lang.String printQueuePath)
throws java.lang.Throwable,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentNullException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidOperationException,
InvalidEnumArgumentException,
Win32Exception,
NotSupportedException,
OutOfMemoryException
printQueuePath - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic PrintQueue getDefaultPrintQueue() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static PrintQueue GetDefaultPrintQueue() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, InvalidOperationException, ArgumentNullException, Win32Exception, ObjectDisposedException, OutOfMemoryException, CultureNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itWin32Exception - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class PrintServerpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class PrintServerpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class PrintServernull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class PrintServerpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class PrintServerpublic void Refresh()
throws java.lang.Throwable,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentNullException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidOperationException,
InvalidEnumArgumentException,
Win32Exception,
NotSupportedException,
PrintQueueException,
ObjectDisposedException,
CultureNotFoundException
Refresh in class PrintServerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itPrintQueueException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic void setDefaultPrintQueue(PrintQueue DefaultPrintQueue) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
DefaultPrintQueue - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class PrintServerinstance - the new underlying object