A value of zero is returned all the time that everything is proceeding normally, but any other value indicates a problem in the current transmission operation.
PARALLEL STATUS
function: return the current status of the Parallel Port
status=Parallel Status
This function is used to give information concerning the current status of the Parallel Port. Each possibility is represented by a single bit in the status report. Here is a table of the relevant bits:
Bit Status 0 Printer selected 1 Paper out 2 Printer busy 3 Direction of transmission (0=read, 1=write)
PARALLEL BASE
function: get the base address of the Parallel Port
address=Parallel Base
This function returns the address of the internal memory area that is used to handle the Parallel Port. Experienced programmers will be able to read and change various settings, but careless use of the PARALLEL BASE function can easily result in problems.