Function NnetPsErr() Foundation

Determines the error code of the last print server operation.

Syntax
NnetPsErr() --> nErrorCode
Return

The following table lists print server error codes.

Possible return values of NnetPsErr()
Value Description
0 No error
64 SPX connection not available
65 SPX connection not initialized
66 No such print server
67 Unable to get server address
68 Unable to connect to server
69 No available IPX sockets
70 Already attached to a print server
71 IPX connection not initialized
237 Connection terminated
257 Too many file servers
258 Unknown file server
259 Bindery is locked
260 Server time out
261 No response
262 Print server already attached
263 Unable to attach print server
264 No account balance
265 No credit left
266 Intruder detection lock
267 Too many connections
268 Account disabled
269 Unauthorized time
270 Unauthorized station
271 No more grace left
272 Login is disabled
273 Illegal account name
274 Password has expired
275 Access denied
276 Unable to login
277 Printer is already installed
278 Unable to open configuration file
279 Unable to read configuration file
280 Unknown printer type
281 Maximum of forms exceded
282 No such print job
283 Unknown printer error
284 Communications error
285 Mode is not supported
512 No such queue
513 Not authorized for queue
514 Queue halted
515 Unable to attach to queue
516 Too many queue servers
768 Invalid request
769 Not enough memory
770 No such printer
771 Invalid parameter
772 Printer is busy
773 Unable to detach primary server
774 Print server going down
775 Not connected
776 Already in use
777 No job active
778 Not attached to server
779 Already in list
780 Print server is down
781 Not in list
782 No rights
783 Command is not supported
784 Password unavailable
785 Illegal notify object
1024 Unable to verify identity
1025 Not a remote printer
1026 Unauthorized printer

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.