Printing from a CUPS server to Windows 7
A colleague of mine has some family issues that require him to be home more often. However, work continues. So he started working at home with a laptop. Nothing special about that. What is special, is that we're running a piece of software ("RR") that has old-style telnet-like terminals, which is sending it's print jobs straight to the printer.
His laptop has a direct VPN connection to the company network, but his printer doesn't.
Windows setup:
Network info
The old software ("RR") is running on a pretty new RHEL 5.6 installation. It uses CUPS to queue and deliver print jobs. In my situation, the RR printer has zero printers configured, there's another Linux server that has all printers configured and broadcasts those printers over the network. But you could leave that print server out.Problem
RR cannot reach the printer directly. But it can reach the laptop, which is running Windows 7 Professional. I searched for an IPP server that I could install on Windows, so that the printserver could use that to relay messages to the local printer, but I couldn't find any.Solution
Windows 7 still has the option to install an lpd server. It's not installed by default, but it's very simple to install.
Windows setup:
- In the Windows 7 Control Panel
- Go to the "Programs and Features"
- Click "Turn Windows Features on or off"
- Turn on the LPD protocol.
- Now go to the "printers" and share all printers you want to share.
- Don't use long names and names with spaces, like "HP Laserjet 4200 Series", which are hard to setup on the client. Use something short like hplj4200.

