Generating e-payslips

How do I generate e-payslip for one staff and for all staff

Just process the payroll, and make sure that after processing, the payslips generated are Published.