buddy,
i could not find the set command to turn off the data compression in the script, but as far as you question as to where to put the commands, i always preface the particular scrtipt for that particular type of gear with a short subroutine that you can either imbed or call up within each macro. yours may may look something like this one i use to ensure that i get the rigth keyboard response from an octel ...
PROC MAIN
#define VK_LEFT 0x25 ; Left arrow key
#define VK_UP 0x26 ; Up Arrow key
#define VK_RIGHT 0x27 ; Right Arrow key
#define VK_DOWN 0x28 ; Down Arrow key
set port baudrate 9600 ; 9600
set port databits 8 ; 8
set port parity NONE ; n
set port stopbits 1 ; 1
SET port softflow OFF ;
SET port hardflow OFF ;
SET TERMINAL KEYBOARDFILE "VT100-CUSTOM.KBD" ;OPTIONAL
dialload "PW5-CUSTOM.DIR" ; OPTIONAL
set duplex full
ENDPROC
HERE IS FROM THE HELP FILE ...
The following set/fetch statements control the communication port for the current connection.
FAILURE is set if any set port command is used to set/fetch the settings of an unopened TAPI connection. Also, all set port commands fail with the "direct connect-none" connection and .dlc connections like Telnet.
For TAPI connections, the set port commands only affect the currently selected connection in System panel of Setup. They cannot change or access settings of a connection that is referenced by a Connection Directory entry. The settings will not be saved as new settings for a TAPI connection.
All set port commands will fail if a file transfer or a dialing attempt is in progress.
port baudrate baudrate
Specifies the baud rate at which Procomm Plus talks to the current data modem. If the DEFAULT keyword is specified, the string Modem Default is used. fetch returns the current baud rate as a long value.
port databits integer
Specifies the length of a byte sent or received through the current port, either 7 or 8 bits. fetch returns 7 for 7 data bits or 8 for 8 data bits.
port dropdtr OFF | ON
Determines whether Procomm Plus will drop the RS-232 DTR signal to disconnect. fetch returns 0 for OFF or 1 for ON. This command always fails for TAPI connections.
port hardflow OFF | ON
Enables or disables hardware flow control, which is sometimes referred to as RTS/CTS flow control. fetch returns 0 for OFF or 1 for ON.
port parity NONE | ODD | EVEN | MARK | SPACE
Specifies the parity for the current communication port. fetch returns 0 for NONE, 1 for ODD, 2 for EVEN, 3 for MARK or 4 for SPACE.
port softflow OFF | ON
Enables or disables software flow control, which is sometimes referred to as XON/XOFF flow control. fetch returns 0 for OFF or 1 for ON.
port stopbits integer
Specifies the number of bits used to signify the end of a byte sent or received through the current port. fetch returns 1 for 1 stop bit or 2 for 2 stop bits.