Digital Document Solutions

Some useful programs

rpwin

A simple Windows utility to send data to an IP address and TCP port using... the TCP/IP protocol. In the printing world, this is "raw port printing".

You can download rpwin.exe here.

You will probably (unless you have Visual C++ 2010 installed) also need the Microsoft Visual C++ 2010 Redistributable Package (x86), which is currently available at:

http://www.microsoft.com/en-us/download/details.aspx?id=5555

rpwin takes 2 mandatory and 1 optional argument.

Usage: rpwin <Server IP> <File> [<Port>]

If <Port> is omitted, the default port 9100 is used.

Example: rpwin 1.2.3.4 myfile.ps 9000

outbrpw.bat

This is a simple script to print all the files in the current folder to a particular IP and port

It's intended for use by staff printing documents from a WML output batch zip file.

It uses rpwin.exe, which is described above.

Create a working folder, and copy this script (outbrpw.bat) into it. Make sure the rpwin.exe program is there, also (or in your PATH, if you know how to do that).

Edit the outbrpw.bat file, placing the correct IP address and TCP port number for your printer in the IP_ADDRESS and TCP_PORT variables.

Download outbrpw.bat

outblpr.bat

This is a simple Windows script to print all the files in the current folder to a particular IP and LPR queue.

It's intended for use by staff printing documents from a WML output batch zip file.

Create a working folder, and copy this script (outblpr.bat) into it.

Edit the outblpr.bat file, placing the correct IP address and LPD queue name for your printer in the IP_ADDRESS and LPD_QUEUE variables.

Unpack the contents of the WML output batch zip file into the working folder.

Double click outblpr to spool all the ob* files to the specified printer/RIP.

A list of the files which it attempted to print is placed into printlog.txt. Any errors from the lpr command will be shown in REM lpr_output.

Download outblpr.bat