| |
Get Shareable Printers Information Table
Server |
N |
Station |
Y |
Interrupt |
21h |
Input |
Output |
AX |
FFh |
00h |
|
Sharable
Drives |
AX |
BX |
|
|
|
|
|
CX |
|
02h |
|
|
CX |
DX |
|
|
Pointer
to Table |
ES:BX |
Sharable
Drives |
Bit |
Dec |
Hex |
Description |
0 |
1 |
01h |
Drive A |
1 |
2 |
02h |
Drive B |
2 |
4 |
04h |
Drive C |
3 |
8 |
08h |
Drive D |
4 |
16 |
10h |
Drive E |
5 |
32 |
20h |
Drive F |
6 |
64 |
40h |
Drive G |
7 |
128 |
80h |
Drive H |
A bit of 1 indicates that the drive is Sharable
A bit of 0 indicates that the drive is Non-Sharable
Shareable Printers:
db ? ; The TopWare ID of 1'st shareable printer
db ? ; The TopWare ID of 2'nd shareable printer
db ? ; The TopWare ID of 3'rd shareable printer
. .
. .
db ? ; The TopWare ID of 16'th shareable printer
Remarks:
If there are less than 16 Printer Servers on the network, then the
TopWare ID for them will be left justified, ending with a "FFh"
value.
For example : If there are only 5 Printer Servers with TopWare
ID's 1,2,3,4,5; then the format for those 16 bytes is as
follows:
01,02,03,04,05,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF |