adding remote ssh printer as local printer
Posted
by
guest
on Server Fault
See other posts from Server Fault
or by guest
Published on 2011-02-22T13:42:16Z
Indexed on
2011/02/22
15:27 UTC
Read the original article
Hit count: 291
I have SSH access to a remote host (FreeBSD) that has a printer set up. I do not have root access on that host or any other special user rights. Now I want to print directly from my laptop on that printer (Ubuntu 10.10). The problem is that I don't know how to "import" or whatever the the printer, as it needs authetification from my user account (print quota limitations). E-mailing me the files I want to print or scp them every time is a pain, ATM I pipe the PostScript output manually to a ssh command, but that's also a huge working overhead. E.g. when I want to print a foo.pdf
pdftops '/path/to/foo.pdf' - | ssh user@remotehost 'lpr -P printername'
So, does anyone know of a smooth way to shorten this procedure? Ideally I would just want to use a printername instead of the whole ssh command
© Server Fault or respective owner