{
String printer_host = "192.168.10.200";
String printer_queue= "lp1";
ILinePrinter printer = new LpdLinePrinter(printer_host, printer_queue);
if (!printer.ping())
{
System.out.println("Remote printer " + printer_host + ":" + printer_queue
+ " is not available.");
return;
}