|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.lpr.daemon.commands.spi.AbstractDaemonCommand
net.sf.lpr.daemon.commands.ReceivePrinterJob
public class ReceivePrinterJob
Command the LPD server to be ready to receive a print job. Once the LPD server receives this command it will go into subcommand mode that will wait for a job to be sent to it to be printed.
Constructor Summary | |
---|---|
ReceivePrinterJob(java.io.PrintStream print,
java.io.InputStream serverIn,
java.lang.String queue)
Construct the command that will put the LPD server into subcommand mode for the current session to receive a print job. |
Method Summary | |
---|---|
protected void |
printCommand(java.io.PrintStream print)
This method needs to be implemented for the daemon command that actually sends the request to the LPD server. |
Methods inherited from class net.sf.lpr.daemon.commands.spi.AbstractDaemonCommand |
---|
print |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.lpr.daemon.DaemonCommand |
---|
print |
Constructor Detail |
---|
public ReceivePrinterJob(java.io.PrintStream print, java.io.InputStream serverIn, java.lang.String queue)
print
- the stream that the command will be written to.serverIn
- the stream that the response from the server will be read.queue
- the name of the queue that will be put into receive job mode.Method Detail |
---|
protected void printCommand(java.io.PrintStream print) throws java.io.IOException
AbstractDaemonCommand
printCommand
in class AbstractDaemonCommand
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |