sample pdf code