QueuedJobCountDocument queuedJobCountDocument = QueuedJobCountDocument.Factory.newInstance();
queuedJobCountDocument.setQueuedJobCount(BigInteger.valueOf(0));
resourceProperty.add(queuedJobCountDocument);
resourceProperty = m_propSet.get(PrinterPortPropertyQNames.OPERATIONS_SUPPORTED);
OperationsSupportedDocument operationsSupportedDocument =
OperationsSupportedDocument.Factory.newInstance();
List operationsSupported = new ArrayList();
operationsSupported.add(Operations.PRINT_JOB); //refer to doc...
operationsSupported.add(Operations.CREATE_JOB); //refer to doc...
operationsSupported.add(Operations.SEND_DOCUMENT); //refer to doc...
operationsSupportedDocument.setOperationsSupported(operationsSupported);
resourceProperty.add(operationsSupportedDocument);
resourceProperty = m_propSet.get(PrinterPortPropertyQNames.DOCUMENT_FORMAT_SUPPORTED);
DocumentFormatSupportedDocument documentFormatSupportedDocument =
DocumentFormatSupportedDocument.Factory.newInstance();