Issue the tac-pac bootflash://<filename>command in order to redirect the output of the show techcommand to a file, and then gzip the file.
switch#tac-pac bootflash://showtech.switch1
Issue the copy bootflash://showtech.switch1 tftp://<server IP/<path>command in order to copy the file from bootflash to the TFTP server.
switch#copy bootflash://showtech.switch1 tftp://<server IP/<path>