Home |
RTTarget-32 Programming Manual Function RTPrintByte System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) |
Function RTPrintByteFunction RTPrintByte sends a byte of data to an LPT port: BYTE RTPrintByte(int Port, BYTE Data, DWORD Timeout); ParametersPortMust be one of the values RT_LPT1, RT_LPT2, RT_LPT3, or RT_LPT4, which RTTarget-32 maps to I/O port address 378h, 278h, and 3BCh, respectively. There is no default address for RT_LPT4. If you need a fourth parallel port, you can use RT_LPT4 only after having called RTPrinterSetIOBase(RT_LPT4, ...); DataThe byte to output to the printer. Timeoutspecifies in milliseconds how long the function should wait for the printer not to signal busy before returning a timeout error. return valueThe printer's status, see function RTPrinterStatus for details.
|