Int 21 Fn E0 - Novell Netware - Print Services - Get Printer Status [N]
AH = E0h subfn 06h
DS:SI -> request buffer (see #1503)
ES:DI -> reply buffer (see #1504)
Return: AL = status
00h successful
FFh no such printer
Desc: get current state of specified printer attached to the server
Note: this function is supported by NetWare 4.0+, Advanced NetWare 1.0+, and
Alloy NTNX
Format of NetWare "Get Printer Status" request buffer:
Offset Size Description (Table 1503)
00h WORD 0002h (length of following data)
02h BYTE 06h (subfunction "Get Printer Status")
03h BYTE printer number (00h-04h)
See Also: #1504
Format of NetWare "Get Printer Status" reply buffer:
Offset Size Description (Table 1504)
00h WORD (call) 0004h (size of following results buffer)
02h BYTE flag: 00h printer active, FFh printer halted
03h BYTE flag: 00h printer online, 01h printer offline
04h BYTE current form type
05h BYTE target printer number (00h-04h)
same as number in request buffer unless rerouted by server
console
See Also: #1503