/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* ident "%Z%%M% %I% %E% SMI"
*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* PrinterUtil class
* Methods not associated with a printer instance.
*/
public class PrinterUtil {
//
// main for testing
//
try {
// checkRootPasswd("xxx");
devs = getDeviceList();
}
catch (Exception e)
{
}
}
}
}
//
// Get the default printer for a specified name space
//
{
return (new String(""));
}
}
//
// Get a list of possible printer devices for this machine.
//
{
return (emptylist);
}
return (ret);
}
//
// Get the list of supported Printer Makes (Manufacturers)
// If supported, a PPD file exists for this Make
//
{
return (emptylist);
}
return (ret);
}
{
return (ret);
}
{
return (emptylist);
}
return (ret);
}
{
return (ret);
}
//
// Get a list of printers in the specified name service.
//
{
return (emptylist);
}
return (ret);
}
//
// Does this printer already exist in the specified
// name service
//
public synchronized static boolean exists(
{
}
public synchronized static boolean isLocal(
{
}
public synchronized static void checkRootPasswd(
{
}
}