## Presentation Device Driver Reference for OS/2

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

### SplPdSendCmd Return Value - rc

rc (ULONG) - returns Return codes.

0 Success

2(ERROR_FILE_NOT_FOUND) The pszPortName given is not a valid port name configured for this port driver.

5(ERROR_ACCESS_DENIED) Not authorized to access printer port.

8(ERROR_NOT_ENOUGH_MEMORY) Not enough memory to satisfy request.

29(ERROR_WRITE_FAULT) Failure attempting to write to the device. The printer might not have received the command sequence.

87(ERROR_INVALID_PARAMETER) An invalid buffer was given.

253(ERROR_INVALID_PATH) Invalid channel requested.

683(ERROR_BIDI_NO_SUPPORT) The printer is not in bidirectional mode, therefore query requests are not honored. The port also may be in the process of being shut down.

0x4013(PMERR_SPL_JOB_PRINTING) A job is being sent to the printer, the printer cannot accept commands while receiving job data, and FLG_ MUSTCOMPLETE is clear.

0x403D(PMERR_SPL_CNV_NOT_INIT) The protocol converter or port driver has not been initialized for this port.