SELECT item.printerStatus
FROM
noStatus => noStatus,
paperLetter => paperLetter,
paperA4 => paperA4,
paper215X330 => paper215X330,
paperLegal => paperLegal,
paperEnvelope10 => paperEnvelope10,
paperEnvelopeRX => paperEnvelopeRX,
preregistrationJam => preregistrationJam,
noPaper => noPaper,
callForService => callForService,
fuserJam => fuserJam,
noExit => noExit,
clamShellOpen => clamShellOpen,
feeding => null, -- transient response to inquiry only
readyToFeed => readyToFeed,
parityError => parityError,
feedRejected => feedRejected,
diagnosticMode => diagnosticMode,
feedTrayNotEngaged => feedTrayNotEngaged,
pageSync => pageSync,
pageDelivered => pageAtOutputTray,
keyOffLine => keyOffLine,
outputTrayFull => outputTrayFull,
noToner => noToner,
keyReset => keyReset,
keyLastPage => keyLastPage,
copyModeOn => copyMode,
revisionLevelPrefix => null, -- inconsequential
alternatePowerUp => null, -- not used
test36 => keyTest36,
test37 => keyTest37,
test38 => keyTest38,
test39 => keyTest39,
test40 => keyTest40,
test41 => keyTest41,
test42 => keyTest42,
test43 => keyTest43,
test44 => keyTest44,
test45 => keyTest45,
test46 => keyTest46,
test47Loopback => keyTest47Loopback,
testStop => keyTestStop,
testPrintRequest => testPrintRequest,
statusError => statusError,
statusOverRun => statusOverRun,
ENDCASE => undefinedStatus;