Printing using Publishing HTML- grey boxes for code lines

How do I print the grey background boxes of the code lines? I used Publish HTML and can preview. But in the HTML viewers of MATLAB, I can't find a setting to print the background color for code lines.

回答(1 个)

This is solely an issue regarding print an .html document, right? If you open the html file using Internet Explorer, under File>Page Setup, there is an check option "Print Background Colors and Images".

类别

帮助中心File Exchange 中查找有关 File Operations 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by