|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdirk_krause.wstools.DkPrintClient
public class DkPrintClient
Objects of this class can be used to send print jobs to the print system. The job can be either a Printable or a String or a byte array containing PostScript. The webstart variant can handle Printable objects only.
Field Summary | |
---|---|
static java.lang.String[] |
def_t
Default strings to show if not string file is found. |
protected DkTool |
dkt
General tool. |
protected javax.jnlp.PrintService |
ps
Print services to used, filled by constructor. |
static java.lang.String[] |
t
Strings to show, either from file or the default strings. |
Constructor Summary | |
---|---|
DkPrintClient(DkTool d)
Constructor. |
Method Summary | |
---|---|
DkPrintResult |
handleJob(javax.swing.JFrame w,
java.lang.String psData,
java.awt.print.Printable pr)
Submit one print job. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String[] def_t
public static java.lang.String[] t
protected DkTool dkt
protected javax.jnlp.PrintService ps
Constructor Detail |
---|
public DkPrintClient(DkTool d)
d
- General tool.Method Detail |
---|
public DkPrintResult handleJob(javax.swing.JFrame w, java.lang.String psData, java.awt.print.Printable pr)
w
- The window originating the request.psData
- PS data to print.pr
- Printable to print.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |