| Previous | Next |
| ERROR_INVALID_TIME | ERROR_INVALID_FORM_SIZE |
ERROR_INVALID_FORM_NAME
A print form is a named paper or media definition managed by the spooler. AddForm adds a form to the forms available for a printer, while GetForm retrieves a form by name and EnumForms supplies the names that the printer currently exposes.
This code should therefore be diagnosed against the target printer's form namespace. A localized display label from an application, a stale name saved from another print server, or a typo is not equivalent to a form name returned by the spooler.
Verify the form reference
- Enumerate forms on the same printer handle and compare the exact name used by the failing call.
- Keep form name separate from media dimensions; ERROR_INVALID_FORM_SIZE is a different condition.
- For server-managed forms, confirm that deployment added the form to the intended print server and printer context.
- Log the printer name and form name together because the same application may use several queues with different supported forms.
Microsoft AddForm · GetForm and EnumForms guidance · Samba spoolss form commands
Looking for a different code? Search another status or error code.