How to put custom HTML

How to put custom HTML in accounts receivable reports or any other reports . I have seen the option in print formats