Get status of one printer server's spooling queue
|
Server |
Y |
Station |
Y |
Interrupt |
21h |
|
Input |
Output |
| AX |
FFh |
CCh |
Hash Files |
Status |
AX |
| BX |
Start Item |
Item Required |
|
|
BX |
| CX |
|
Print Server |
|
|
CX |
| DX |
560
byte Buffer |
|
|
DX |
Status: 0 Successful
1 Unable to get the spooling queue
-1 Unable to communicate with File Server
The buffer is filled as follows:
| filename |
size |
date |
time |
username |
copies |
status |
Lpt. |
| <-- 12
--> |
<- 4 -> |
<- 2 -> |
<- 2 -> |
<-- 15
--> |
<- 1 -> |
<- 1 -> |
<- 1 -> |
| Status
Byte |
| Bit |
Dec |
Hex |
Description |
| 0 |
1 |
01h |
Printout
Header
0=Off 1=On |
| 1 |
2 |
02h |
End of Job
FormFeed 0=Off 1=On |
| 2 |
4 |
04h |
Not Used |
| 3 |
8 |
08h |
| 4 |
16 |
10h |
Start of Job
FormFeed 0=Off 1=On |
| 5 |
32 |
20h |
Not Used |
| 6 |
64 |
40h |
| 7 |
128 |
80h |
Status
0=Waiting 1=Printing |
|