Attendance sheet PDF
doc_attendance_sheetGenerate printable attendance and sign-in sheet PDFs with names, date columns, weekday skips, tick or signature cells, totals, and extra rows; also returns a blank register CSV.
Instructions
Make a printable attendance / sign-in sheet PDF: names down the side, one column per date for a month (skipping chosen weekdays, e.g. Fri+Sat or Sat+Sun), a run of N sessions from a start date, or N blank columns; tick boxes or wide signature cells; row numbers, a total column, extra empty rows, title, group and teacher. Same page maths as the website: rows that don't fit continue on more pages, and too many date columns are split across pages with the same names. Also returns a blank register CSV. English labels, Latin text only for now. Web version: https://s3eidat.github.io/attendance-sheet/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell | No | box = tick boxes, sign = wide cells for signatures. | box |
| mode | No | month = every day of a month; sessions = N dates from a start date; blank = N unnamed columns. | month |
| skip | No | Weekdays to skip, 0 = Sunday … 6 = Saturday (default [0, 6] = weekends Sat+Sun; use [5, 6] for Fri+Sat). | |
| count | No | sessions/blank: number of columns. | |
| group | No | Class / group, shown under the title. | |
| month | No | month mode: YYYY-MM (default this month). | |
| names | Yes | Names, one per line (leading "1." numbering and anything after a tab are removed), or a list. | |
| paper | No | A4 | |
| start | No | sessions mode: first date YYYY-MM-DD (default today). | |
| title | No | Title (default "Attendance"). | |
| total | No | Total column. | |
| output | No | Where to write the result: a file path, or a folder ending in "/". Default: the server output folder (a temp folder unless --out-dir is set). | |
| numbers | No | Row number column. | |
| teacher | No | Teacher, shown under the title. | |
| extraRows | No | Empty rows after the names. | |
| rowHeight | No | Row height in mm (default 8, or 13 for signature cells). | |
| orientation | No | landscape | |
| returnBase64 | No | Also return the output as base64 in the result (only for small files). Default false. |