Skip to content

Instantly share code, notes, and snippets.

@dcode
Created February 8, 2016 15:24
Show Gist options
  • Select an option

  • Save dcode/dd17cae150224bb5d34d to your computer and use it in GitHub Desktop.

Select an option

Save dcode/dd17cae150224bb5d34d to your computer and use it in GitHub Desktop.
Uses a2ps to format a text file with line numbers on letter paper, one page per sheet, and output to a postscript file.
a2ps --line-numbers=1 -1 -M letter -o output.ps input.txt
@dcode

dcode commented Feb 8, 2016

Copy link
Copy Markdown
Author

Install with brew install a2ps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment