So at my job I test laptops for functionality with a linux mint live usb. I've been looking for a way to get the hardware information and print it out. So far I have it about how I want it by using inxi -M -C -B -m > output.txt. I then print it out with lpr.

What I would like is some of the words to be color or bold when printed out. Specifically the words before the information like CPU: or Memory:. Basically just like it does in terminal.

I've researched quite a bit and have not found a way to do this. Is it possible?

New contributor
Waffles is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

closed as off-topic by waltinator, karel, mook765, Kulfy, Zanna Jul 13 at 17:35

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – waltinator, karel, mook765, Kulfy, Zanna
If this question can be reworded to fit the rules in the help center, please edit the question.