Home
Name Modified Size InfoDownloads / Week
readme.txt 2011-06-23 2.8 kB
recvprtsrv2.exe 2011-06-23 9.2 kB
savepostscript.exe 2011-06-23 6.1 kB
Totals: 3 Items   18.1 kB 0
In order to use the PrinterServer you need at least .NET Framework 3.5 or .NET 3.5 Client Profile.
 Although I have not tested with .NET 3.5 Client Profile. 
In addition for the recvprtsrv2.exe to work you need to have gsdll32.dll. You will find this file by installing Ghostscript. The gsdll32.dll must be installed either in the directory where recvprtsrv2.exe resides or in the Windows\system32 directory. For the recvprtsrv2.exe to work properly you should have administration rights and you should give in the command line:

sc <hostname> create PrinterServer binPath= <absolute path to recvprtsrv2.exe> <name of the physical printer on the host machine> <port number>

Remember to leave a space between the = and the path. Also remember to use double quotes which will contain everything after binPath. You can use \ to escape double quotes in order to use long names for the printer.

Don't forget to open the firewall in the chosen port.

For example. Let's suppose that we have a host PC with the name homePC and a printer with the name Zanon B1 350 .Let suppose that we have installed recvprtsrv2.exe in C:\Users\jonh\printerserver and that the port is 9100.
 Then we give in the command-line:

sc \\homePC create PrinterServer binPath= "C:\Users\jonh\printerserver\recvprtsrv2.exe \"Zanon B1 350\" 9100"

This will install PrinterServer as a Window Service. You should start the service manually when you want to print.

The other program savepostscript.exe should be installed in the computer which does not have a printer. You also have to use .NET Framework 4. You should install a printer driver which produces postscript as output. For example in Win 7 HP Color LaserJet 2800 Series PS. The driver for this printer is exists in Win 7. So you don't have to find it in the Internet. The next step is to install RedMon. RedMon is a port monitor which produced from the same people that produce Ghostscript and enables you to redirect the output of your printer in any program you like. After you install Redmon, you should enable Administrator rights to explorer.exe in order to configure Redmon. Right-click on cmd.exe and select with administrator rights then open the task manager and terminate explorer.exe. In the cmd-line write explorer.exe this will bypass the Win 7 security system. You don't need to do this in Wndows XP. Then open the properties of your postscript printer (HP Laserjet in this example) and configure the port to use redmon. After that configure Redmon to use savepostscript.exe. In the arguments put the name of the server (homePC for this example) and the port (by default is 9100). Provided that the firewall is open you can now print from your one PC to the other without having the drivers of your physical printer.
Source: readme.txt, updated 2011-06-23