lp
lp is the command used to print files. lp stands for line printer. As with most Unix commands there are a fairly large number of options available to enable flexible printing capability.
[lp /etc/passwd]
This command prints the "/etc/passwd" file to the default printer. If you do not use the "-d" option, the default printer destination is used.
[lp -dSales .profile]
This command prints the ".profile" file to the printer named "Sales". The -d option specifies the destination.
[lp -dSales fil1 file2 file3]
This command prints the three files "file1", "file2", and "file3" to the printer named "Sales".