Description:
This function displays a control panel for a printer that is communicating bidirectionally.
#define INCL_SPL
#define INCL_SPLBIDI
#include <os2.h>
PSZ pszComputerName; /* Printer server name for displaying a remote printer panel from a client machine. */
PSZ pszPortName; /* Printer port name. */
PSZ pszDeviceID; /* Device ID, if known, for the printer connected to pszPortName. */
PSZ pszControlPanel; /* Name of control panel to call to display the front panel for this printer. */
HAB hab; /* Anchor block handle. */
ULONG flCapabilities; /* Capabilities requested. */
ULONG rc; /* Return codes. */
rc = SplDisplayControlPanel(pszComputerName,
pszPortName, pszDeviceID, pszControlPanel,
hab, flCapabilities);