imagen(7)
NAME
imagen − line printer
SYNOPSIS
model of printer for lp(1)
DESCRIPTION
The 4508 laser printer ( Imagen 8/300 ) can be used to print ascii documents, troff (sometimes called ditroff ) documents, and Tektronix 4014 plots. The following describes the installation of the printer and lists the various utilities neccessary to use it. imagen is also the name of the model script that provides the interface for the model 4508 laser printer.
INSTALLATION
A description of the installation of the 4508 laser printer follows.
CONNECTING THE PRINTER
Connect the printer to any serial RS-232 port on the system.
There should not be a login entry in /etc/inittab for the serial port on which the printer is connected. For example if the printer is connected to port 04, the inittab line should read
04::off: # imagen printer This will prevent a getty from starting on the port.
CONFIGURING THE PRINTER
The printer itself must be configured correctly in order to operate properly. The printer is configured through a front panel.
The front panel has a two digit display. All configuration codes have two digits. Each digit is one of sixteen values: 0 through 9, A through F.
The four arrow keys that point right, left, up and down are used to select and change numbers in the front panel display. The keys with the arrows left and right select the numbers entered in the display. The arrow right selects the right digit; the arrow left selects the left digit. The keys with the arrows up and down change the value of the number on the front panel display. The button that points up will increase the number, while the button pointing down decreases the number. Use the left and right arrow keys to select the digit displayed on the front panel. Then use the up and down arrow keys to change the digit.
There are four other keys on the keyboard. The on line key puts the printer off line from the host. To get the printer back "on line", press this key again. The reset key forces the system to end the current job. When the test key is pressed,
and the printer is "offline", a test page with all of the current configuration options is printed. Pressing the select key will store the codes displayed on the front panel.
To configure the printer press the offline key. The panel should display 00. Then enter the value 0c on the front panel using the arrow keys and then press the select button. The panel should again show 00, indicating that you are in configuration mode. To change a configuration number enter that number with the arrow keys and then press the select button. The panel will then show the current value for that option. Change the option and then press the select key again to enter the option into memory. The panel will again show 00. To leave configuration mode and store your options, enter ff instead of an option number. The printer will then pause while it stores the vaules and then come back "online."
Consult the Imagen printer manual for further information.
The following are a list of configuration options for the 4508 laser printer. These are NOT neccessarily the defaults when the printer is shipped, so set them using the front panel.
| OPTION | VALUE | EXPLAINATION |
| 01 | 02 | Print a jobheader on Error. |
| 02 | 03 | Set to Daisy (Diablo 630). |
| 03 | 01 | Number of copies 1 (default). |
| 04 | 00 | Do not collate. |
| 05 | 01 | Stack pages in the correct order. |
| 06 | 00 | No jam resistance. |
| 07 | 00 | Line feed generates a line feed. |
| 08 | 00 | Carriage return generates a carriage return. |
| 09 | 02 | Tektronix line width in tenths of millimeters. |
| 10 | 00 | No wrapping at end of line. |
| 11 | 02 | The printer is on an asynchronous serial line. |
| 12 | 02 | 9600 Baud. |
| 13 | 01 | Default. |
| 14 | 04 | Reset character. |
| 15 | 02 | This character is used when spooling troff documents. |
| 16 | 01 | 8 bit communications. |
| 17 | 00 | Normal printer mode. |
| 18 | 01 | Use XON/XOFF flow control. |
| 19 | 00 | Do not ignore control characters. |
CONFIGURING PRINTER SOFTWARE
The imagen printer is supported as part of the lp(1) spooling system. Please see the instructions in the CX Systems Administration manual for installing LP (in the managing peripherals chapter). The imagen printer must be configured into the lp subsystem via the lpadmin(1M) command. To add a printer via lpadmin the lpsched program cannot be currently running. The printer should be added as:
lpadmin -pimagen -v/dev/tty?? -mimagen The -v option specifies the device to which the imagen printer is connected. The -m option specifies the model interface which the printer should use. The -p option specifies the name of the printer.
There should be either a printer, or a class name which is simply imagen. This printer or class is the default destination for the ipr(1), imprint(1), and iroff(1) commands, when the user does not have his own default destination. A user can set his own default destination by setting the environment variable IMAGENDEST to be a valid imagen destination.
Entering the printer into the lp subsystem tells the lpsched program what interface program to run. In the case of imagen printers, a standard model interface is provided. When the printer has been added via lpadmin, an interface script will be created in the file /usr/spool/lp/interface/ printer_name. This script is executed by lpsched, for each spool request sent to the printer. This script calls the program /usr/lib/imfilt, which quotes non-ascii characters, and adds document headers to the file.
UTILITIES
The following are some of the utilities for the 4508 laser printer. imprint Prints ascii documents. ipr Prints ascii, troff , and Tektronix documents. For example:
#ipr -Ltektronix plot
will print a Tektronix plot. roff Sends a troff document to the printer. iroff Can also be used to send a troff document to the printer. iroff was functionally replaced with roff.
FILES
/usr/bin/imprint
/usr/bin/ipr
/usr/bin/dimp
/usr/bin/roff
/usr/bin/iroff
/usr/lib/imfilt
/usr/spool/lp/model/imagen
/usr/spool/lp/interface/∗
SEE ALSO
lp(1), imprint(1), iroff(1), ipr(1), roff(1)
CX/UX Administrator’s Reference