7.5
2014-03-28

Capture Sample Data in UNIX (Solaris)

Create a Virtual Printer

To create a virtual printer:

  1. In the File Manager, choose File and then OpenTerminal.

  2. Use the following commands to open the Hosts file:

cd /etc

vi ./hosts

3. In the Hosts file, add the IP address of the printer, or the IP address of the workstation on which your PlanetPress Suite Workflow Tool is installed, and assign a name to that IP address. For example:

192.xxx.yyy.zzz printdestination

4. Save the Hosts file as follows:

Press ESCAPE.

Enter :wq

Assign a Print Queue to a Virtual Printer

To assign a print queue to a virtual printer:

  1. Use the command:

lpadmin -p queuename -I any -s printdestination

Where:

-p queuename specifies the name of this queue

-I any specifies no data formatting (i.e.: Text Only)

-s printdestination specifies the name of the virtual printer

Send Data to the Print Queue

To send data to the print queue:

lp -d queuename data_filename

Note that you must create a PlanetPress Watch process before you send data from UNIX to the workstation running your PlanetPress Suite Workflow Tool.

PlanetPress Suite Configuration

To set up your PlanetPress Suite Workflow Tool to capture data sent using LPR:

  1. In PlanetPress Watch Configuration, create a new PlanetPress Suite process by choosing Insert | New Process.

  2. In the Process area, click the unknown task in the upper-left corner at the beginning of the data stream.

  3. Choose Insert | Input