Implemented Business Logic

Implemented business logic for print option in generated ticket page.#41