Printfile makes a temporary file with the source of the target file in a directory in your home dir (~/printfile) which will be opened and you will be prompted to print. When you select an option, the file will be deleted.
Install
npmiprint-file# -g if you want a global CLI command, may require prepending sudo