Lancer Corp. has posted second- and third-quarter gains.