|
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 | ||||||||
java.lang.Objectag.ion.noa.internal.printing.PrintService
public class PrintService
Service for printing documents.
| Constructor Summary | |
|---|---|
PrintService(IDocument document)
Constructs new PrintService. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrintService(IDocument document)
document - the document using this print service| Method Detail |
|---|
public void print()
throws DocumentException
print in interface IPrintServiceDocumentException - if printing fails
public void print(IPrintProperties printProperties)
throws DocumentException
print in interface IPrintServiceprintProperties - the properties to print with, or null to use default settings
DocumentException - if printing fails
public boolean isActivePrinterBusy()
throws NOAException
isActivePrinterBusy in interface IPrintServiceNOAException - if the busy state could not be retrieved
public IPrinter getActivePrinter()
throws NOAException
getActivePrinter in interface IPrintServiceNOAException - if printer could not be retrieved
public void setActivePrinter(IPrinter printer)
throws NOAException
setActivePrinter in interface IPrintServiceprinter - the printer to be set to be active
NOAException - if printer could not be set
public IPrinter createPrinter(java.lang.String name)
throws NOAException
createPrinter in interface IPrintServicename - 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 | ||||||||