remote lp access in Solaris2.3

The question I posed was how to get remote print access from a Solaris 2.3

client to a DEC3100 print server. The print server's name is "bones" and

the printer's name on bones is "lab". I had unsuccessfully tried to add it

using the admintool.

I had set up the printer (correctly) to be of type bsd, but it still

didn't work.

A number of people responded. Zdzislaw Meglicki suggested that I delete

the printer and reinstall it. This was a good suggestion, but the critical

point was that the client's name and IP address be put into my /etc/hosts file.

Dave Haut suggested this idea since the lp scheduler apparently has a problem

reading the NIS hosts map.

With the entry in my /etc/hosts file the printer installation went through

just fine and worked! I got some help from SUN on my maintenance contract

and got the following tip for how to "reset" the lp scheduler when the printer

was already installed:

        /usr/sbin/lpshut

        cd /var/spool/lp

        rm -r requests/*

        rm -r tmp/*

        /usr/lib/lp/lpsched

It still all seems strange to me! Thanks to all respondents:

Zdzislaw Meglicki (Zdzislaw.Meglicki@arp.anu.edu.au)

Ted Whitely (twhitely@mailhost.to.ford.com)

Marisa Pfalzgraf (pfalzgmh@eckerd.edu)

Peter Watkins (peter@jrc.nl)

Jason Patterson (jasonp@fit.qut.edu.au)

John Malick (johnm@sse.com)

David Haut (dave@ca.pdc.com)

? (vuppala@cps.msu.edu)

==============================================

Robert Kline

Department of Computer Science

West Chester University

West Chester, PA 19383

Phone: 215-436-2181

e-mail:rkline@spock.wcupa.edu

==============================================

[3464 byte] By [CodeProf.com] at [2007-12-25 8:43:00]