The new IDE does not have a tool for printing your sketch. However, here is an extension that works quite well. If the link doesn't automatically take you there, it is post #18.
https://forum.arduino.cc/t/no-print-option-available/700046/18
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
Hi Ron (@zander),
Thanks for this find ... a useful fix for an annoying hole in VS Code baseline capability.
---------------
A trivial thing I noticed, when following through the instructions for Linux (Ubuntu), whilst using Firefox as browser.
The Printing Sketches, includes "The sketch file will now be rendered as a webpage in your browser and a print dialog will open."
It renders the webpage, but I have yet to see a print dialog box, at this point. Of course, being a web page, I can simply go to "Print" in the browser command list, and print the page in the usual way, so it is only a discrepancy with the instructions, not a problem.
I just note it, in case it confuses someone else.
Whether it applies to other operating systems, browsers, etc., I have no idea.
------------------
Once again, Thanks Ron, I hope you are keeping well.
@davee Also no Dialog Box with MacOS, so it is likely a common documentation error. From the web page, print using whatever technique you are familiar with; I simply use Cmd-P. In Windows and *nix, I think that is Ctl-P.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.