## Presentation Device Driver Reference for OS/2

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

### SplQmOpen

Select an item:

    Syntax
    Parameters
    Returns
    Error Condition List
    Remarks
    Related Functions
    Glossary

Description:

SplQmOpen opens a spool file for generating a print job. It corresponds to the DevOpenDC call.

    #define INCL_SPL /* Or use INCL_PM, */

    #include <os2.h>

    PSZ            pszToken;    /*  Reserved value. */

    LONG           lCount;      /*  Number of items. */

    PQMOPENDATA    pqmdopData;  /*  Pointer to DevOpenStruc. */

    HSPL           hspl;        /*  Spooler handle. */

    hspl = SplQmOpen(pszToken, lCount, pqmdopData);