Close Spool File 0x2222 17 01

Closes the client's current spool file.

NetWare Server:2.x, 3.x, 4.x, 5.x

Request Format

Offset

Content

Type

Request header

6

FunctionCode (17)

byte

7

SubFunctionStrucLen (2)

word (Hi-Lo)

9

SubFunctionCode (1)

byte

10

AbortQueueFlag

byte

Return Values

Decimal

Hex

Description

0

0x00

Successful

128

0x80

Lock Fail

129

0x81

Out Of Handles

135

0x87

Create Filename Error

136

0x88

Invalid File Handle

141

0x8D

Some Files In Use

142

0x8E

All Files In Use

143

0x8F

Some Read Only

144

0x90

All Read Only

147

0x93

No Read Privileges

148

0x94

No Write Privileges

149

0x95

File Detached

150

0x96

Server Out Of Memory

152

0x98

Disk Map Error

153

0x99

Directory Full Error

155

0x9B

Bad Directory Handle

156

0x9C

Invalid Path

157

0x9D

No Directory Handles

161

0xA1

Directory I/O Error

208

0xD0

Queue Error

209

0xD1

No Queue

210

0xD2

No Queue Server

211

0xD3

No Queue Rights

212

0xD4

Queue Full

218

0xDA

Queue Halted

232

0xE8

Write To Group

234

0xEA

No Such Member

235

0xEB

Property Not Set Property

236

0xEC

No Such Set

252

0xFC

No Such Object

253

0xFD

Bad Station Number

254

0xFE

Directory Locked

255

0xFF

Bad Printer, Lock Error, Hard Failure, No Files Found

Remarks

If AbortQueueFlag is zero, the spool file is placed at the end of the print queue. If AbortQueueFlag is set, the spool file is not placed in the print queue; instead, the spool file's status flags are examined.

If the spool file is marked for deletion after printing, the file is immediately deleted; if not, the print server closes the spool file and disregards it.

See Also

Set Spool File Flags 0x2222 17 02