[minor] use frappe.attach_print() in salary slip and recurring document