|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPrintService
Service for printing documents.
Method Summary | |
---|---|
IPrinter |
createPrinter(java.lang.String name)
Constructs a printer with the given properties and returns it. |
IPrinter |
getActivePrinter()
Returns the active printer. |
boolean |
isActivePrinterBusy()
Returns if the active printer is busy. |
void |
print()
Prints the document to the active printer. |
void |
print(IPrintProperties printProperties)
Prints the document to the active printer with the given print properties. |
void |
setActivePrinter(IPrinter printer)
Sets the active printer. |
Method Detail |
---|
void print() throws DocumentException
DocumentException
- if printing failsvoid print(IPrintProperties printProperties) throws DocumentException
printProperties
- the properties to print with, or null to use default settings
DocumentException
- if printing failsboolean isActivePrinterBusy() throws NOAException
NOAException
- if the busy state could not be retrievedIPrinter getActivePrinter() throws NOAException
NOAException
- if printer could not be retrievedvoid setActivePrinter(IPrinter printer) throws NOAException
printer
- the printer to be set to be active
NOAException
- if printer could not be setIPrinter createPrinter(java.lang.String name) throws NOAException
name
- the name of the printer cue to be used
NOAException
- if printer could not be constructed
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |