|
TFORMer SDK - JAVA
7.5
|
Provides access to Printer information. More...
Public Member Functions | |
| void | dispose () throws TFormerException |
| Releases the resources allocated by this instance. More... | |
| void | dump (PrintStream s) throws IOException, TFormerException |
| Dumps the current instance into a text stream. More... | |
| String | getComment () throws TFormerException |
| Gets the comment for the Printer. More... | |
| String | getDeviceName () throws TFormerException |
| Gets the device name of the Printer. More... | |
| String | getName () throws TFormerException |
| Gets the name of the Printer. More... | |
| Printer | getNext () throws TFormerException |
| Gets the next Printer defined in the Repository. More... | |
| int | getPrinterDeviceType () throws TFormerException |
| Gets the device type of the Printer. More... | |
| boolean | isDefault () throws TFormerException |
| Gets a value indicating whether this Printer is the default Printer. More... | |
| void | setComment (String sComment) throws TFormerException |
| Sets the comment of the Printer. More... | |
| void | setDeviceName (String sDeviceName) throws TFormerException |
| Sets the device name of the Printer. More... | |
| void | setName (String sName) throws TFormerException |
| Sets the name of the Printer. More... | |
| void | setPrinterDeviceType (int nPrinterDeviceType) throws TFormerException |
| Sets the device type of the Printer. More... | |
| String | toString () |
| Returns a string representation of the instance. More... | |
Provides access to Printer information.
This class provides access to Printer-information stored in a Repository.
The term Printer refers to an output device defined in a Repository. A Printer is used by TFORMer Server only.
| void dispose | ( | ) | throws TFormerException |
Releases the resources allocated by this instance.
Call this method in every case (even in case of exceptions) is this instance is not required anymore.
| void dump | ( | PrintStream | s | ) | throws IOException, TFormerException |
Dumps the current instance into a text stream.
| s | Instance of the stream |
| String getComment | ( | ) | throws TFormerException |
| String getDeviceName | ( | ) | throws TFormerException |
| String getName | ( | ) | throws TFormerException |
| Printer getNext | ( | ) | throws TFormerException |
Gets the next Printer defined in the Repository.
To retrieve the first Printer within a Repository refer to Repository.getFirstPrinter.
null. | int getPrinterDeviceType | ( | ) | throws TFormerException |
| boolean isDefault | ( | ) | throws TFormerException |
| void setComment | ( | String | sComment | ) | throws TFormerException |
| void setDeviceName | ( | String | sDeviceName | ) | throws TFormerException |
| void setName | ( | String | sName | ) | throws TFormerException |
| void setPrinterDeviceType | ( | int | nPrinterDeviceType | ) | throws TFormerException |
| String toString | ( | ) |
Returns a string representation of the instance.
| © 2006-2017 - all rights reserved by TEC-IT Datenverarbeitung GmbH |
![]() |
| Generated on Fri Nov 3 2017 07:59:14 for TFORMer SDK - JAVA with doxygen 1.8.9.1 |