self-test
1.3.6.1.4.1.11.2.3.9.4.2.1.1.5.1
Writing this object allows a device self test to be
started. Reading this object provides an indication
what self-test is currently executing, if any. Actual
self-test operation is device specific. A self test may
not be allowed at any arbitrary time. If the device
supports the requested self test, but can not start the
execution of the self test when requested, the device
will respond with <genErr>. If
a non-destructive self test is being started, the device
will generate a response before the self test is
completed.
RECOMMENDATION: If the device is ready (i.e. the NOT-
READY-PRINTER object does not contain any items, except
maybe being off-line) and is idle (i.e. the NOT-IDLE
object does not contain any items), this request should
always succeed. This provides a mechanism for driver
writers to always determine if the action will succeed
or not.
Additional information:
The eNonDestructiveSelfTest performs limited
testing on the printer and its attached paper handling
devices. After the self-test is complete a
configuration page is printed. The recommended
way to cause a configuration page to be printed is to
use the PRINT-INTERNAL-PAGE object.
A continuous self test cannot be started
or terminated using this OID.
The printer must be idle before it can execute a
self test. The best method to assure that the
printer is idle is to set the object ON-OFF-LINE to
eOfflineAtEndOfJob, wait for the printer to be
offline and then execute the self test. The printer
will put itself online to print the page.
When the printer is idle, setting this object to
eNonDestructiveSelfTest results in a status of <noError>
and a value of eNonDestructiveSelfTest being returned.
If the printer is not idle (whether printing an
external job, printing an internal page or running
self test), a status of
<genErr> status will be
returned with a value of eNotInASelfTest.
When the printer is idle, setting this object to
eNonDestructiveSelfTest causes the page to be
formatted and put in the printer's print
queue. Before the page is in the print queue (which could take several seconds), a
get on this object will return NonDestructiveSelfTest. After the page is in the queue, a get on
this object
will return a value of eNotInASelfTest.
Attempting to set this object before the page has
completed printing will cause
<genErr> status to be
returned. In this case the value will either be eNonDestructiveSelfTest if the page has not been
queued or eNotInASelfTest if it has been queued.
Likewise, if the PRINT-INTERNAL-PAGE object is set to
a valid value and that page has not printed
when this object is set to eNonDestructiveSelfTest, a
status of <genErr> status
with a value of eNotInASelfTest will be
returned until the internal page has printed.