double marginTop, marginBottom, marginLeft, marginRight;
short marginUnit;
/* Get the margin size and the units used for the current document */
if ( ( nError = IN_ GetPrintMargins (&marginTop, &marginBottom, &marginLeft, &marginRight, &marginUnit ) ) != IN_SUCCESS )
{
ErrorHandler( nError, "Error message:" );
}