
5 - Access denied.
1797 - The printer driver is unknown.
Other - For integer values other than those listed above, refer to the documentation on the Win32 error codes.