How OSDI Functions Match Application Calls

The following table shows the user-modifiable OSDI functions that are triggered when device calls are made from a DP4 C application.

DP4 C Application Call

OSDI Function

dvc_choose()

prg_start()
prn_select()
(prn_parameters())

dvc_close()

prg_stop()

dvc_set_subdevice()

prn_select()
(prn_parameters())

dvc_get_status()

prn_status()

prn_print() (after calls to DP4 functions such as form(), or prn_c() etc.)

prn_print()

dvc_set_inp_mask()

inp_start() or inp_restart()

The following sections describe the areas of the OSDI that you may modify to handle Device Groups and their constituent PODs and input devices.