I originally posted this in the General section, and I was referred to this section.
A friend scrounges old computers and makes usable computers out of the salvaged parts. Some of them he sells, and some of them he gives to a deserving person. Because of me, he is beginning to set them up with PCLOS instead of some version of Windows. I was assisting him a while back when we needed to determine what hardware was installed. My research uncovered the lshw command, and the completeness of its readout blew him away.
Now that I've set the stage, here's the problem. He would like to customize a live CD with some troubleshooting routines including lshw. Ideally, clicking an icon on the desktop would call the lshw routine and direct the output to a printer. Unfortunately, neither of us knows enough about Linux (especially writing scripts) to do this without help. Any assistance you can provide will be greatly appreciated.