-  
       
- All Superinterfaces:
 -  
         
DocPrintJob 
public interface MultiDocPrintJob extends DocPrintJob
从获得MultiDocPrintService,一个MultiDocPrintJob可打印的文档指定集合为一组工作属性的单一的打印作业。 
-  
        
       
-  
             
方法摘要
所有方法 实例方法 抽象方法 变量和类型 方法 描述 voidprint(MultiDoc multiDoc, PrintRequestAttributeSet attributes)使用指定的作业属性打印MultiDoc。 
 -  
             
 
-  
        
       
-  
             
方法详细信息
-  
print
void print(MultiDoc multiDoc, PrintRequestAttributeSet attributes) throws PrintException
使用指定的作业属性打印MultiDoc。 对于给定的打印作业,只应调用此方法一次。 再次调用它不会导致新作业被假脱机到打印机。 服务实现将定义服务中断和恢复的策略。 想要监控成功或失败的应用程序客户端应注册PrintJobListener。- 参数
 -  
              
multiDoc- 要打印的文档。 ALL必须是PrintJob和PrintService支持的风格。 -  
              
attributes- 要应用于此打印作业的作业属性。 如果此参数为null则使用默认属性。 - 异常
 -  
              
PrintException- the exception additionally may implement an interfaces which more precisely describes the cause of the exceptionFlavorException. If the document has a flavor not supported by this print job.AttributeException. If one or more of the attributes are not valid for this print job.
 
 
 -  
 
 -