org.simoes.lpd.command
Class CommandPrintJob

java.lang.Object
  extended byorg.simoes.lpd.command.CommandHandler
      extended byorg.simoes.lpd.command.CommandPrintJob

public class CommandPrintJob
extends CommandHandler

This class handles the Print any waiting jobs Command in RFC1179. The RFC description is below:
5.1 01 - Print any waiting jobs

+----+-------+----+
| 01 | Queue | LF |
+----+-------+----+
Command code - 1
Operand - Printer queue name

This command starts the printing process if it not already running. NOTE: This is not implemented since we intend to hold the print job

Author:
Chris Simoes

Field Summary
 
Fields inherited from class org.simoes.lpd.command.CommandHandler
command, is, os
 
Constructor Summary
CommandPrintJob(byte[] command, java.io.InputStream is, java.io.OutputStream os)
           
 
Method Summary
 void execute()
          Currently does nothing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandPrintJob

public CommandPrintJob(byte[] command,
                       java.io.InputStream is,
                       java.io.OutputStream os)
Method Detail

execute

public void execute()
             throws LPDException
Currently does nothing.

Specified by:
execute in class CommandHandler
Throws:
LPDException - thrown when an error occurs