PrinterIsAcceptingJobsDocument isAccepting = PrinterIsAcceptingJobsDocument.Factory.newInstance();
isAccepting.setPrinterIsAcceptingJobs(false);
resourceProperty.add(isAccepting);
resourceProperty = m_propSet.get(PrinterPortPropertyQNames.QUEUED_JOB_COUNT);
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();