beautypg.com

Visara Master Console Center Administration Guide User Manual

Page 196

background image

Visara Master Console Center

196

© Visara International 2007

Enter symbol name: q

Printer #0

----------

Symbol type value

------ ---- -----

lf STR /usr/adm/lperr

lp STR

mx INT 0

rm STR laserjet5

rp STR text

sd STR /usr/spool/lpd

sh BOOL on

Are these the final values for printer 0 ? [y]

Adding comments to printcap file for new printer, type '?' for help.

Do you want to add comments to the printcap file [n] ? :

Set up activity is complete for this printer.

Verify that the printer works properly by using

the lpr(1) command to send files to the printer.

Command < add modify delete exit view quit help >: q

4.

Edit the /usr/ics/bin/setupenv file, changing the value of LPDEST= and
PRINTER= to the name of the print host. In the example above, the value
would be either hp5 or laser5. (This is not necessarily the DNS name of
the printer. The DNS name should also be added to the synonym list for
the printer; although this is not shown in the example.)

5.

Shut down and restart the MCC.

6.

Print a file from the MCC screen editor. If the file does not print, verify
the /etc/hosts or DNS name matches the 'rm' entry in the /etc/printcap
file. Also verify the /usr/icsbin/setupenv variables LPDEST= and
PRINTER= match a printer synonym in the /etc/printcap file. Printer
synonyms reside on the first line of an /etc/printcap stanza delimited by
vertical bars (|). The example /etc/printcap file for the preceeding
example follows:

# cat /etc/printcap

lp|lp0|0|hp5|laser5:\

:lf=/usr/adm/lperr:\

:lp=:\

:mx#0:\

:rm=laserjet5:\

:rp=text:\

:sd=/usr/spool/lpd:\

:sh: