lp

Print files. More information: https://manned.org/lp.

echo "test" | lp

lp path/to/filename

lp -d printer_name path/to/filename

lp -n N path/to/filename

lp -P 1,3-5,16 path/to/filename

lp -i job_id -H resume