You can also refer to Self Printing Programs