This function
is a simplified version of the PDC_GetState
int
prnIsConnection();
Return Values
0
- if connection with a printer is successfully closed, or connection is
lost
1 - in any other case
Remarks
It
is useful to use this function when printing process takes a long period
of time, that is to regularly call PDC_IsConnection, and if PDC_IsConnection
returns 0, cancel printing.