This function returns the status of a printer or printing operation that is in progress.
| Header file: | Prnport.h |
| Component: | |
| Platforms: | H/PC, Palm-size PC |
| Windows CE versions: | 2.0 and later |
BOOL WINAPI ReportPrinterStatus( DWORD dwStatus,
LPCTSTR lpPortName, LPCTSTR lpPrinterName, LPARAM lparam );
This function uses a registry setting to determine printer time-out errors for IR and serial printing. The time-out default value is 45seconds. It can be changed using the HKEY_LOCAL_MACHINE\PrintSettings\TimeOut registry key.