7.x
Table Of Contents
- Copyright Information
- Table of Content
- Overview
- Capturing Data
- Sample Data File
- Spool File
- Capture Sample Data for a Document You Install on a Printer
- Capture Sample Data for a Document You Install in your PlanetPress Suite Work...
- 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
- Trigger
- Trigger Syntax
- Techniques for Inserting Triggers
- 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 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
1. Click Start, then Devices and Printers.
2. Click on Add a printer
3. Click on Add a local printer
4. Select Create a new port , then select the StandardTCP/IP Port option. Click Next.
5. Type in the printer's IPaddress or network name (for example, 192.168.100.213 or 10.0.0.163) then click Next (the
Port Name will fill itself).
6. Wait for the TCP/IPport detection to finish, leave the Device Type to Generic Network Card, then click Next.
7. Select the Generic manufacturer and the Generic / Text Only printer.
8. Enter a printer name. This printer can be local only or shared on a network and will be unique to the document it
triggers.
9. If the printer is to be shared on the network, enter a Share name, then click Next.
10. Check if you want to set the printer as default on the system, then click Finish when you're done.
Step 2 - Create a separator page
The separator page feature in Windows is generally used to add a page containing text between print jobs, often to identify
them. Because the separator page is sent as-is to the printer, however, even printer commands such as postscript will be
executed on the printer. Separator pages are the same for all versions of Windows, but selecting them is slightly different.
1. Open Notepad by clicking Start, Run, typing notepad.exe and clicking OK.
2. Enter the following 2 lines in the Notepad window:
\N
\FSEPARATOR.TRG
3. Go in the File menu then click Save. The name of the file should be SEPARATOR.SEP , and its location should be in
C:\WINDOWS\SYSTEM32\
4. Create a new file by going in File, New.
5. Enter the following 2 lines:
%!PS-Adobe
(MYFORM)run MYFORM
6. Save the file as SEPARATOR.TRG , also in C:\WINDOWS\SYSTEM32\
In the previous instructions, change both the trigger name (MYFORM)as well as a unique name for the SEPand TRGfile
names, especially if you intend to have more than one. Once this is done, follow these instructions to add the trigger to any job
printed through the chosen printer:
1. Right-click on the printer that was just created and click Properties in Windows 2000/XP/2003 , or Printer Prop-
erties in Windows Vista/7/2008.
2. In the Advanced tab, click Separator Page
3. Click Browse and browse to C:\WINDOWS\SYSTEM32\. Open the SEPARATOR.SEP file and OK.
Implement a Trigger under BSD Printing Systems (BSDi, FreeBSD, Linux)
The procedure here describes trigger implementation for UNIX systems using a BSD-like printing system (lpr, lpq, /etc/prin-
tcap). It assumes you are logged on as root.
To install a BSD printing system:
1. Create a text-only print queue entry in /etc/printcap and a spool directory.
If your system has a tool to create a print queue, use it to create a text-only queue. Make sure no input filter is used
(i.e. there is no if: command in the printcap entry). If you do not have such a tool, you must create the printcap
entry and a spool directory by hand. See To create a printcap entry by hand: and To create a spool directory by hand:.
2. Create an input filter for the trigger. The input filter is a shell script that inserts the trigger in front of the print job. You
should give the script the name of the document. In this example, we have a document named MAILING on the hard
Creating Triggers
©2014 Objectif Lune Inc - 36 -