ERROR_OUT_OF_PAPER - 28 (0x1C)
The printer is out of paper.
Updated: Feb 21, 2026
Technical Meaning
The error code ERROR_OUT_OF_PAPER with the numeric value 28 and hexadecimal representation 0x1C indicates that a printer is currently out of paper. This error typically occurs when attempting to print, and the printer cannot continue because it lacks sufficient paper.
Error Details
This error is specific to printer-related operations in Windows. It signifies an issue with the physical state of the printer rather than a software or configuration problem. The error can be returned by various APIs that interact with printers, such as PrintDocument or PrinterQueue.
Usage Context
The error code 28 is commonly encountered when attempting to print documents or manage printer settings. It is not related to file system operations, permission issues, parameter validation, data integrity checks, resource limits, or unsupported capabilities.
Developer Interpretation
When this error is returned, it indicates that the operation cannot proceed because the printer needs more paper. Developers should handle this error by informing the user and possibly retrying the print job after adding paper to the printer. The error can be used in conditional logic to determine whether a print operation should be attempted or if additional steps are required.
Related Errors
ERROR_PRINTER_NOT_FOUND(2)ERROR_NO_SPOOL_SPACE(1067)ERROR_INVALID_PRINTER_NAME(2558)
FAQ
Q: What does the error code 28 mean?
A: The printer is out of paper.
Q: How can I handle this error in my application?
A: You should inform the user that the printer needs more paper and possibly retry the print operation after adding paper to the printer.
Summary
The ERROR_OUT_OF_PAPER (28) error code is a generic reference indicating that a printer lacks sufficient paper. It is specific to printer operations and can be used in conditional logic to manage print jobs based on the current state of the printer.