Restrictions
If the following restrictions are not satisfied, the API will fail. The return code indicates the reason for the failure.
- The host session specified in the argument cShortSessionID should not be in PDT mode.
- The host session should not be printing when the API is invoked.
- The File → Page Setup dialog should not be in use.
Some members in the PAGEINFO structure might be valid or supported
only for specific session types. If a restriction is not specified,
then that member is valid or supported for the following session types:
- 3270 display
- 3270 printer
- 5250 display
- ASCII VT
Note: These functions are not currently supported
for DBCS and bidirectional sessions.