PARALLEL_ON

PARALLEL_ON

STARTS THE INPUT-OUPUT OPERATIONS ON PARALLEL PORT

  • Type: Command
  • Parameter: 0
  • Group: Input-Output

ACTION

The command PARALLEL_ON starts the input-output operations on parallel port.

The DLL inpout is loaded in memory and the input-output operations are made possible: outpout with PARALLEL_OUT and input with PARALLEL_INP.

The DLL must be in the same directory than the executable, or in the Windows directory, with all the system DLLs.

SYNTAX: PARALLEL_ON

USE

  • The command PARALLEL_ON is used to start the input-output operations on the printer plug.

ERROR

  • If a command PARALLEL_ON has already been executed (the command PARALLEL_OFF stops the input-output operations).
  • If the DLL inpout cannot be reached.

EXAMPLE

rem start the input-output operations

parallel_on

rem set all the bits to 1 on the data port

parallel_out 888,255

rem read the status port

print parallel_inp(889)

rem stop the input-output operations

parallel_off

SEE ALSO

PARALLEL_OFF

PARALLEL_OUT

PARALLEL_INP()