⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 printerinfoinvoker.java

📁 打印管理程序,测试完全通过.windows开发环境.
💻 JAVA
字号:
package jp.co.ntl.swing.ext.printer.printer;

import java.util.Vector;

import jp.co.ntl.Net;
import jp.co.ntl.NetworkException;
import jp.co.ntl.ServerException;
import jp.co.ntl.TimeOutException;
import jp.co.ntl.printer.PrinterInfo2;
///import jp.co.ntl.printer.PrinterRelationInfo;
///import jp.co.ntl.group.GroupRelationInfo;

public abstract class PrinterInfoInvoker {
	public static PrinterInfoInvoker getInstance(Net net) {
		return new PrinterInfoInvokerImpl(net);
	}
	
	public abstract Vector getPrinterInfo()  throws NetworkException, ServerException, TimeOutException;
	public abstract void setPrinterInfo(PrinterInfo2 printerInfo) throws NetworkException, ServerException, TimeOutException;
	public abstract int addPrinter(PrinterInfo2 printerInfo) throws NetworkException, ServerException, TimeOutException;
	public abstract void delPrinter(Vector vcPrinterInfo) throws NetworkException, ServerException, TimeOutException;
	public abstract boolean isRelatedPrinter(Vector vcPrinterInfo) throws NetworkException, ServerException, TimeOutException;
	public abstract Vector getPrinterList() throws NetworkException, ServerException, TimeOutException;
/*	public abstract void addRelatedPrinterGroup(PrinterRelationInfo prInfo) throws NetworkException, ServerException, TimeOutException;
	public abstract void releaseRelatedPrinterGroup(PrinterRelationInfo prInfo) throws NetworkException, ServerException, TimeOutException;*/
	public abstract Vector getRelatedPrinterGroup(PrinterInfo2 printerInfo) throws NetworkException, ServerException, TimeOutException;
/*	public abstract void addRelatedGroup(GroupRelationInfo grInfo) throws NetworkException, ServerException, TimeOutException;
	public abstract void releaseRelatedGroup(GroupRelationInfo grInfo) throws NetworkException, ServerException, TimeOutException;*/
	public abstract Vector getRelatedGroup(PrinterInfo2 printerInfo) throws NetworkException, ServerException, TimeOutException;
	public abstract boolean isRelatedPrinterOnAccount(Vector vcPrinterInfo) throws NetworkException, ServerException, TimeOutException;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -