Based on ISO 2859-1 / ANSI Z1.4, single sampling, normal inspection.
On: uses the official plan (e.g. small lots are fully inspected). Off: uses the code letter's own sample size, like the Excel sheet.