If you want to build a complete custom search solution by creating your own search and print templates and search forms from scratch, refer to Working with Template Variables and Search Parameters.