Add sample code for customized print