ulType (ULONG) - input
Values are as follows:
TYPE_SHORT_WAIT(1)
An example would be using NPAP or SNMP. If the requested information cannot be sent using this type of channel (for instance, if a PJL command is required in order to set this information), ERROR_INFO_NOT_AVAIL is returned.
If the printer supports only one command channel, and this channel can be used while a job is being sent to the printer, TYPE_SHORT_WAIT(1) and TYPE_LONG_WAIT(2) will behave in the same way.
This is useful for BIDI_SEND_PASSTHRU as it allows an application to send and receive printer-interpreter language commands without having to know the format of the BIDI protocol's data wrappers. An example would be sending a Postscript query to the printer and the NPAP protocol converter adds the necessary NPAP wrapper before transmitting the data to the printer.
If BIDI_SEND_PASSTHRU is used without this value, the calling application must have already wrapped the passthru data.
Note: If this value is used with any command other than BIDI_SEND_PASSTHRU, ERROR_INVALID_PARAMETER is returned.