Adtec API Help

# PARMAP PMP PM ## Description: Re-maps the parallel port to the argued string. The string must start with a 'B' or 'M' to indicate Bit or Multiplexed mapped. If it does not, then the map is invalid and the default commands will be in effect. After the first character, all other characters are comments with the exception of the square brackets [] and all enclosed text, which are each relative command. If the map is bit mapped, then there may be up to 16 square bracket pairs, where the first 4 are for D0/Pin5, the next 4 are for D1/Pin4, the next 4 are for D2/Pin3, and the final 4 are for D3/Pin2. If the map is multiplexed mapped, then there may be up to 64 square bracket pairs, where the first 4 are for the hex value 0, the next 4 are for the hex value 1, and so on up to the hex value F. The alignment of each group of 4 is: first- command(s) to be issued in LO state, second- command(s) to be issued on LO-to-HI _/ transition, third- command(s) to be issued in HI state, fourth- command(s) to be issued on HI-to-LO transition. See the Parallel port Appendix for further information on this command. ## Form:
      PARMAP|PMP|PM [ASCII]
      Argument List:
      Argument      Description
      ASCII         ASCII text string, actual map.  String must start with a B for Bit
                    or M for Multiplexed mapped.
## Response:
      PARMAP RESPONSE
        Verbose- "OK\r\n" to acknowledge receipt of command, or
                 "ERROR- [Description]\r\n" if error, ending command
        Terse-   "0\r\n" to acknowledge receipt of command, or
                 "[NON-ZERO POSTIVE ERROR NUMBER]\r\n" if error, ending command
        "\r\n" concludes modify responses (empty line)
## Examples:
      Verbose command to set D0 on a rising edge to play spot ADTEC6:
      PARMAP B 1 [] [PS ADTEC6] [] [] <enter>
         Response is: OK\r\n

      Terse command to set D0 on a rising edge to play spot ADTEC6:
      PM B 1 [] [PS ADTEC6] [] [] <enter>
         Response is: 0\r\n
## Notes:
## Products Supporting Command mediaHUB SoloistHD4111 edjeHD4111 signEdjeHD SoloistHD Pro Created By: Adtec Digital Inc