The function returns the flag which shows whether printing is disabled.
Return value: nonzero means that printing is disabled.