rc (ULONG) - returns
Return
codes.
- Success
- ERROR_INVALID_FUNCTION)
The command code
is not supported. This lack of support may occur if a new command is sent
to an old spooler, port driver, or protocol converter.
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 set request.
87(ERROR_INVALID_PARAMETER)
An invalid parameter was specified; most likely
an invalid buffer pointer was given.
211(ERROR_INFO_NOT_AVAIL)
The requested information is not available in the
protocol converter cache, or the request cannot be sent with the given ulType
value. The request should be reissued with a different ulType value.
640(ERROR_TIMEOUT)
The
set command was not able to be sent to the printer within the time allotted.
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.
0x1403(PMERR_ALREADY_INITIALIZED)
The port driver has already been initialized for
the port.
0x4005(PMERR_SPL_INV_HSPL)
Not
currently in a passthru session.
0x4011(PMERR_SPL_INV_JOB_ID)
0x403D(PMERR_SPL_CNV_NOT_INIT)
The protocol converter or port driver has not been
initialized for this port.
[Back: SplPdSet Parameter - cbInData]
[Next: SplPdSet - Parameters]