SCO # 1/1

edplogo.gif (5330 bytes)

FECO:

SCO # 1/1

MODIFICATION NO:

N/A

PRODUCT:

SCO WITH CHARISMA.

SUB-ASSEMBLY:

MTS / JETSTREAM OR I/O8+ / PARALLEL

ESTIMATED MAN HOURS:

N/A

CLASS OF CHANGE:

INFORMATIONAL

REASON FOR CHANGE:

UPDATE ON THE INTRODUCTION OF CONFIGURATION FOR SCO PRINTING WITH CHARISMA

RELATED FECO/AB

AB 102, 133, 134 & 150

CONFIGURING NCR SYSTEMS TO SUPPORT SCO PRINTING WITH CHARISMA for MTS/JETSTREAM and for DIRECT DEVICES like I/O8+ & PARALLEL.

This FECO SCO # 1/1 replaces FECO SCO # 1; and is for Charisma ONLY.
Remove and destroy FECO SCO # 1 and replace completely with this FECO SCO#1/1. For Univision see FECO SCO#2

Note:- Throughout this FECO a SPACE in a string is shown by a Ñ .

All other spaces are purely cosmetic.

1.       The purpose of this release is to explain how to configure rcp whilst still using the same print
          commands in Charisma.

         Note: By using rcp it is no longer necessary to configure mtsd processes.

2.      Terminal Server Configuration (Para 2 applies only to                  MTS/Jetstream)

Ports onto which printers are to be attached should be set to "printer" and the flow should be set to "soft". This is configured in 'lines, virtual'.

The rest of the setups remain as previously documented.

3        Interface Scripts

3.1    A modified interface script must be created for each printer to be connected to a terminal
         server port:-

#cd Ñ /usr/spool/lp/model <CR>

3.2    For Charisma systems

#cp Ñ crnlmap Ñ crnlmap.orig <CR>

3.3    For each printer a unique interface script must be created. These will be called:-

For Charisma systems
                        crnlmap1
                        crnlmap2

3.4    Each interface file has to have the following change made:

#vi Ñ crnlmapx

where x is the unique file number

3.5    Find the line :-

echo "\f\c"

and insert a hash sign "#" at the front of the line. There will be two of these.

(For Direct Connection, i.e. I/O8+ and Parallel; go straight to para5

3.6    Find the line which is approximately 10 lines from the bottom of the file and just above the
          last line you edited.

This line contains the commands 0<$ {file} eval ${FILTER} 2> &1

3.7    For MTS replace the line with:

rcp Ñ ${file} Ñ [mts name]:mts_p[port] Ñ 2>&1 Ñ 1>&3

Where [mtsname] is the name of the mts in the /etc/hosts file and [port] is the physical
port number.

3.8     For example Ptr LPO1 is connected onto a terminal server named as mts2 onto port 1

rcp Ñ $ {file} Ñ mts2:mts _p1 Ñ 2>&1 Ñ 1>&3

3.9     For Jetstream replace the line with:

rcp Ñ ${file} Ñ [Jetstream name]:p[port] Ñ 2>&1 Ñ 1>&3

Where [Jetstream name] is the name of the jetstream in the
/etc/hosts file and [port] is the physical port number.

3.10   For example Ptr LPO1 is connected onto a terminal server named as Jet2 onto port 1

rcp Ñ $ {file} Ñ Jet2 : p1 Ñ 2>&1 Ñ 1>&3

4.     Device Files (Para 4 applies only to MTS/Jetstream)

4.1    Each printer to be connected to a terminal server must have its own file in the /dev directory.           This has to be /dev/nullx where x = a number.

4.2     As a default there is only 1 /dev/null

4.3     To create additional files :-

#cd Ñ / dev <CR>

#ls Ñ -l Ñ *null* Ñ | Ñ pg <CR>

4.4    Make a note of the major numbers

#mknod Ñ /dev/nullx Ñ c Ñ [major number] Ñ [minor number] <CR>

where x is the unique file number.
Major / Minor numbers usually 2 2

4.5    Change permissions on the null device just created

Enter # chmod Ñ 666 Ñ nullx

use the same major/minor number you recorded above.

4.6     Repeat as required.

5        Final Configuration

5.1     Using scoadmin configure each printer in the usual way.
          Once all printers have been set up, then to configure the correct interface script, issue
          the following command for each printer:

5.2    For Charisma systems:

#/usr/lib/lpadmin Ñ -p[ptr name] Ñ -v[device name] Ñ -Tdumb Ñ

-mcrnlmap* Ñ -onobanner <CR>

where [ptr name] is the printer label assigned via sysadm and standardx is the interface script name.
where * of -mcrnlmap* is the unique file number.

6.        Testing

6.1    From Unix use lp Ñ -d Ñ [ptr name] Ñ [file] <CR> to test each printer.

6.2    From Charisma, login as bml

then from the tty prompt use lp Ñ -d Ñ [ptr name] Ñ [file] <CR>

Return to Index