To create a virtual printer:
In the File Manager, choose File and then OpenTerminal.
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
To assign a print queue to a virtual printer:
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
To send data to the print queue:
Use the command:
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.
To set up your PlanetPress Suite Workflow Tool to capture data sent using LPR:
In PlanetPress Watch Configuration, create a new PlanetPress Suite process by choosing Insert | New Process.
In the Process area, click the unknown task in the upper-left corner at the beginning of the data stream.
Choose Insert | Input