Pdf ticket generator base