Hooks SRP Unicode OIPI into GET_PRINTER and SET_PRINTER.

Syntax

SRP_Unicode_OIPI_Services("Install")

Parameters

None

Remarks

The Install service tells OpenInsight to call SRP_Set_Printer_Listener and SRP_Get_Printer_Listener to be called when BASIC+ makes calls to SET_PRINTER and GET_PRINTER respectively. This is done by adding entries to the MD table. The original SET_PRINTER and GET_PRINTER routines are left untouched. In fact, you can tell SRP Unicode OIPI to route calls to those original routines by calling the Disable service.

You need to restart OpenInsight after calling this service.

Example

// Install SRP Unicode OIPI and make sure it's enabled
SRP_Unicode_OIPI_Services("Install")

// (not necessary the first time, but never hurts to make sure)
SRP_Unicode_OIPI_Services("Enable")
  • No labels