6.0
Table Of Contents
- Capturing Data
- Overview
- Key Concepts
- Detailed Directions
- Capture Sample Data for a Document You Install on a Printer
- Capture Sample Data for a Document You Install in PlanetPress Watch
- Capture Sample Data in Windows NT
- Capture Sample Data in Windows 2000/Server 2003/XP
- Capture Sample Data in Windows Host Using a Novell Print Server
- Capture Sample Data in UNIX (Solaris)
- Capture Sample Data using an AS/400 Systems
- Capture Sample Data From a Serial Port
- Creating Triggers
- Overview
- Key Concepts
- Detailed Directions
- Implement a Trigger under Novell 3.x
- Implement a Trigger under Novell 4.x and 5.x with NDS or Bindery Printers
- Implement a Trigger under Windows NT 4.0 with TCP/IP
- Implement a Trigger under BSD Printing Systems (BSDi, FreeBSD, Linux)
- Implement a Trigger under UNIX System V (Solaris)
- Implement a Trigger and Configure an AIX 4.3 Printer
- Implement a Trigger under VMS
- Implement a Trigger with AS/400 Systems
- Prepare SAP Device Type for PlanetPress Design
- Implement a Trigger under HP 3000
- Special Printer Requirements
- ASCII Conversion Table
- CL Program for AS/400 Systems
- Index
Detailed Directions
49
If you want to send the print job to a remote LPD server, use rm= to specify the remote print server,
and rp= to specify the remote queue name. You specify the remote print server in the rm field using
either the IP address or host name. For example:
mailing:\
:sd=/var/spool/lpd/mailing:\
:mx#0:\
:sh:\
:rm=192.168.100.147:\
:rp=default:
To create a spool directory by hand:
• Use the following command, replacing mailing with the name you want to use for the spool directory.
mkdir /var/spool/lpd/mailing
Implement a Trigger under UNIX System V (Solaris)
Refer to “Capture Sample Data in UNIX (Solaris)” on page 8 to create a print queue for UNIX and capture
data.
Create a Script File
The following procedure describes how to create a script file for UNIX. This script transfers the data to the
printer and adds the trigger for the document.
To create a script file:
1. Type the following commands:
cd /etc/lp/interfaces
lpadmin -p myscriptfile -I any -v /dev/null
Note that -v /dev/null instructs UNIX to delete the file after the script uses it.
2. Enable the script by issuing the following commands. You must be logged in as an administrator.
su
enable myscriptfile
accept myscriptfile