Here's how you can print all files in a directory in Linux, by using a terminal command.
1. Open a terminal window.
2. Go to the directory.
3. Type in the following command then hit Enter.
lpr -o landscape *.txt
For more, see the original article at the link below.
lpr: Print file from command line | Fresh Tutorial