write PPS header