Print over the internet from a remote linux session locally (on a Windows 7 machine) to the shared printers?

Posted by obeliksz on Server Fault See other posts from Server Fault or by obeliksz
Published on 2013-10-22T07:23:34Z Indexed on 2013/10/23 15:57 UTC
Read the original article Hit count: 157

Filed under:
|
|

I'm trying to use a linux virtual machine as a file server for windows clients. I have successfully implemented remote file sharing (samba+ssh) with which I am able to print locally with a little program that I made for this purpose (jetforms style)... but I would like to hear about a somewhat more direct approach.

How can I attach the printers to the server, so that I can for example open a file on the remote session and in the print dialogbox I would see my local printers (on the machine from which I have established a remote session)? I guess there should be some kind of putty tunneling, but dont know how.

I have a windows 7 machine locally; there is a CentOS 6 VM over the internet. It has ssh, cups, and samba.

I have found a question which asks the opposite: there is a windows based server to connect form linux but that windows has a domain, mine is just a simple windows workstation that is behind NAT and has a dynamic IP. That question is: Print from Linux to Windows networked printer.

© Server Fault or respective owner

Related posts about linux

Related posts about Windows