Skip to content

Instantly share code, notes, and snippets.

@leingang
Last active October 10, 2025 16:25
Show Gist options
  • Select an option

  • Save leingang/b782762d50e362baf2c8902e1692112f to your computer and use it in GitHub Desktop.

Select an option

Save leingang/b782762d50e362baf2c8902e1692112f to your computer and use it in GitHub Desktop.
Print to CIMS printers with stapling (bypassing Pharos)
alias sshlpr='ssh mpl5@access.cims.nyu.edu lpr -P mf-07 -o sides=two-sided-long-edge -o StapleLocation=UpperLeft'
ssh mpl5@access.cims.nyu.edu lpr -P mf-07 -\\# 25 -o sides=two-sided-long-edge -o ColorMode=Gray -o StapleLocation=UpperLeft < file.pdf
@leingang
Copy link
Author

leingang commented Sep 3, 2024

Options have changed a bit since I last used this. Double check stapling and color next time you get a chance.

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