Restrictions
If the following restrictions are not met, the API will fail. The return code indicates the reason for the failure.
- The host session should not be printing when the API is invoked.
- The File → Printer Setup dialog should not be in use.
If the following restrictions are not met, the API will fail. The return code indicates the reason for the failure.