You need some SET commands in your SQL script before the SPOOL command, e.g.:
SET FEEDBACK OFF
SET PAGESIZE 0
SET VERIFY OFF
SET TERM OFF
Then after the SPOOL OFF reset them:
SET FEEDBACK ON
SET PAGESIZE 20
SET VERIFY ON
SET TERM ON
See SQL Plus docs for lots more SET commands you can use!