Last active
July 17, 2021 15:31
-
-
Save AaronCQL/3ee6bbb1999402b558c942eb8f50cf29 to your computer and use it in GitHub Desktop.
Cheatsheet for printing via Sunfire
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Login to Sunfire | |
ssh e0123456@sunfire.comp.nus.edu.sg | |
# Copy a local file to Sunfire | |
scp some_file.txt e0123456@sunfire.comp.nus.edu.sg:/home/e/e0123456/ | |
# Copy a local directory to Sunfire | |
scp -r ./some_directory e0123456@sunfire.comp.nus.edu.sg:/home/e/e0123456/ | |
# Convert PDF to PS file | |
pdftops input.pdf | |
# Print via Sunfire | |
lpr -Ppstsb input.ps | |
# Convert PS file to 2 pages per sheet | |
psnup -2up input.ps output.ps |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment