public class CupsMoveJobOperation extends IppOperation
bufferSize, ippPort, operationID| Constructor and Description |
|---|
CupsMoveJobOperation() |
CupsMoveJobOperation(int port) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
getIppHeader(URL uri,
Map<String,String> map)
Gets the IPP header
|
boolean |
moveJob(String hostname,
String userName,
int jobID,
URL targetPrinterURL)
Cancels a print job on the IPP server running on the given host.
|
getAttributeValue, getIppHeader, request, request, stripPortNumberpublic CupsMoveJobOperation()
public CupsMoveJobOperation(int port)
public ByteBuffer getIppHeader(URL uri, Map<String,String> map) throws UnsupportedEncodingException
IppOperationgetIppHeader in class IppOperationurl - printer-urimap - attributes
i.e.job-name,ipp-attribute-fidelity,document-name,compression,
document -format,document-natural-language,job-impressions
,job-media-sheets, job-template-attributesUnsupportedEncodingExceptionpublic boolean moveJob(String hostname, String userName, int jobID, URL targetPrinterURL) throws Exception
hostname - userName - jobID - message - ExceptionCopyright © 2016. All rights reserved.