Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Print to Unix systems without direct printer access' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Print to Unix systems without direct printer access
Authored by: Kool on Apr 20, '05 04:20:53PM

Another approach would be to set up the printer locally by setting the hostname to localhost and choosing the appropriate printermodel and printqueue name, then do this:

sudo ssh -L515:<ssh-server>:515 <username>@<ssh-server>

Now you can print as normal. You need to rerun the above command each session.

Not sure, if this is better than this hint or not. Just wanted to point out this way too.



[ Reply to This | # ]
Print to Unix systems without direct printer access
Authored by: richwiss on Apr 20, '05 10:57:50PM

Can you explain that a little further? I like this idea (since I remotely print somewhat frequently) but my limited understanding of port forwarding keeps me from knowing what's actually going on.



[ Reply to This | # ]
Print to Unix systems without direct printer access
Authored by: Kool on Apr 21, '05 06:27:43AM

What they above command does is forward my local port 515 to port 515 of the ssh- aka printerserver. So when this ssh-tunnel is set up, I print to localhost on port 515. This is then forwarded to the ssh-tunnel, which makes it looks like I print on the ssh-server from the administration point of view.

This works great for me, I only need to remember to make sure the ssh-tunnel is established.



[ Reply to This | # ]
Print to Unix systems without direct printer access
Authored by: PeteVerdon on Apr 23, '05 07:42:30PM

Not sure this would work in my department. Everything is locked down pretty tightly. Plus, although that's conceptually simpler, it would actually be less convenient than the "Print in DCS" button I currently have. Might be handy for some people, though.



[ Reply to This | # ]