## Presentation Device Driver Reference for OS/2

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

### SplPdResetAbort - Syntax

Description:

SplPdResetAbort is an API exported by port drivers. It is called by PrtResetAbort to reset an aborted device handle to again allow writes. After the reset is successful, the printer driver is allowed to call PrtWrite for the device handle to send the reset sequence to the printer.

Note:

Resetting an aborted device handle does not initiate a new printer job. It only allows writes to be sent to the printer.

SplPdResetAbort is an optional API; it does not have to be exported by the port driver.

    #define INCL_SPL

    #define INCL_SPLBIDI

    #include <os2.h>

    HFILE    hDevice;  /*  Handle from SplPdOpen. */

    ULONG    rc;       /*  Return codes. */

    rc = SplPdResetAbort(hDevice);