$ERR_INVCLLSEQ

546

Invalid calling sequence

You specified a Windows printing API function or operation that requires previously set values. (For more information about valid calling sequences, see Recommended calling sequence.)