## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### SplPdOpen Return Value - rc

rc (ULONG) - returns Return codes.

0 Success

5(ERROR_ACCESS_DENIED) Not authorized to open printer port.

8(ERROR_NOT_ENOUGH_MEMORY) Not enough memory to satisfy request.

29(ERROR_WRITE_FAULT) Failure attempting to write to the device. This could happen if a BIDI_START_JOB bracket is sent during open time, and the print device does not accept the start job command.

87(ERROR_INVALID_PARAMETER) An invalid parameter was specified; most likely an invalid pointer was passed to PrtOpen.

99(ERROR_DEVICE_IN_USE) Device is in use by another application.

240(ERROR_VC_DISCONNECTED) Unable to connect to the remote printer.