Class Print

java.lang.Object
  extended by Print

public class Print
extends Object


Constructor Summary
Print()
           
 
Method Summary
 void print(String file)
          Prints a file on a Windows System
 boolean printerExists()
          Checks if there is any printer connected to the PC
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Print

public Print()
Method Detail

print

public void print(String file)
Prints a file on a Windows System

Parameters:
file - Name of the file to print

printerExists

public boolean printerExists()
Checks if there is any printer connected to the PC

Returns:
true -> printer connected; false -> no printer