title: print with a2ps updated: 2015-10-10 11:10:37 description: Printing from the command line. os: [macosx, linux] tags: [a2ps] deps: [] contributors: ["http://www.github.com/anschwa"] How to print on the command line with `a2ps`. # Print Normally Two-Sided ``` a2ps -1 --portrait --sides=2 -P # Convert to PDF ``` a2ps --delegate no -P pdf ``` # Connected Printer Status ``` lpstat -p ``` # Connected Printer Location ``` lpstat -c ```