If you want to print "b.pdf" to a remote Linux box connected to a printer, then
$ cat b.pdf | ssh username@myserver.domain.com "lp -"
A script can be easier to use
#!/bin/bash
cat $1 | ssh username@myserver.domain.com "lp -"
Here is a better guide: http://docs.ocf.berkeley.edu/wiki/How_to_print_through_SSH
This is not a blog, but my notes and tips for research. Feel free to take any information and leave any comments or questions.
Search This Blog
Subscribe to:
Post Comments (Atom)
Labels
- Academic Notes (4)
- BLAS (1)
- CEE618 (2)
- CentOS (1)
- Computation (1)
- Conferences (1)
- Cross compiling (1)
- Graphics (1)
- Hawaii Tour (2)
- Intel compiler (1)
- Just (1)
- Laptop (1)
- LaTex (22)
- Life and Humanity (8)
- Linux and Computing (107)
- LSF (1)
- Lyx (3)
- Macintosh (5)
- MPI (1)
- News (11)
- OpenFoam (1)
- OpenMPI (1)
- PBS (2)
- Software (4)
- SSH (2)
- torque (1)
- Touchpad (1)
- VMD (1)
- yum (1)
Blog Archive
-
▼
2011
(59)
-
▼
August
(11)
- How to put a background image only on one beamer s...
- remove color after word search in vi editor
- How to increase upload file size of wordpress in U...
- How to includepdf files to SmartNotebook
- The simplest way to print text and pdf files throu...
- Your PHP installation appears to be missing the My...
- How to add US Holidays to iPad
- how to sync more than one google calendar to iPhone
- Useful pbs tutorial
- How to disable blinking cursor of gnome terminal o...
- splitting vim editor windows horizontally
-
▼
August
(11)
No comments:
Post a Comment