5 Oca 2011 ... lpr is indeed the correct command. There's not much to it, just lpr filename.pdf should simply work, presuming that the default printer is set correctly.
macos - Possible to print to PDF from Mac terminal? - Super User
This summary was compiled by our editorial team from publicly available information for quick reading. For full details, refer to original reporting where available.