[comp.sys.apollo] prmgr/prsvr SR10.1 woes

jec@iuvax.cs.indiana.edu (04/08/89)

Does the software for prmgr/prsvr on DN3000 under SR10.1
actually work?  I have been having no luck with this.  Here
are the files of interest:

----------------------- //cimon/sys/print/Lindley_Printers --------------------
spool_node = //cimon
prmgr_name = lindley_spool
-------------------------------------------------------------------------------

----------------------- //cimon/sys/print/io_config ---------------------------
prmgr_site lindley_spool
pritner_name io
description Personal Printer for James Conley
#
printer_ext 0
#
device_driver spinwriter
#
io_device_name /dev/sio1
speed 9600
-------------------------------------------------------------------------------

----------------------- /etc/rc.user ------------------------------------------
.
.
.
#  AEGIS PRINT SERVICES
#
# start a print manager
 if [ -f /sys/hardcopy/prmgr ]; then
       (echo " prmgr\c" >/dev/console)
       /sys/hardcopy/prmgr -cfg /sys/print/Lindley_Printers &
 fi
#
# start a print server for each printer connected to this node
 if [ -f /sys/hardcopy/prsvr ]; then
       (echo " prsvr\c" >/dev/console)
       /sys/hardcopy/prsvr /sys/print/io_config &
 fi
.
.
.
-------------------------------------------------------------------------------

	More information:  io is a diskless node, cimon is the boot partner.

Symptoms:

PRMGR
-----
[jec@io:7]/sys/hardcopy/prmgr -cfg //cimon/sys/print/Lindley_Printers
prmgr name = lindley_spool, dds://io[164]
(prmgr) Warning: Can't lookup print manager (1c020003)
Listening...

PRSVR
-----
[jec@io:1]/sys/hardcopy/prsvr //cimon/sys/print/io_config
loading manager print_spinwr from /sys/hardcopy/drivers/spinwr
?(prsvr) Unable to install /sys/hardcopy/drivers/spinwr as manager for type prin
t_spinwr -
type manager already exists (object based systems/type manager)

Apollo print server, revision 10.1.07   11/02/88

Started 15:57 04/07

DEFAULT JOB PARAMTERS

  PRINTER IDENTIFICATION
printer name = io
printer ext = 0
presr10 name =
print manager name = lindley_spool
banner page logo =
printer description = Personal Printer for James Conley
  I/O CONNECTION
print driver name = spinwr
Printer Model Name = pr__spin
Serial device name = /dev/sio1
Serial device speed = 9600


  DEFAULT OUTPUT PAGE
Page Width = 8.50
Page Length = 11.00
  DEFAULT TEXT LAYOUT PROPERTIES
text point size = 10.00


  MISC PROPERTIES
file banners = first

*******************************************************************************
?(prsvr) Problem building print environment - error creating I/O connection (US/
print utility)
Server quitting. Please wait
error creating I/O connection (US/print utility)
[jec@io:2]
-------------------------------------------------------------------------------


	Any help would be appreciated.

James Conley
Indiana University Computer Science
jec@iuvax.cs.indiana.edu

jec@iuvax.cs.indiana.edu (04/08/89)

By the way, I talked to Apollo earlier about this and found another error.  It
appears that prsvr will totally freak out if you use tabs in the configuration
file.  Just thought you all might be interested.

James Conley
Indiana University Computer Science
jec@iuvax.cs.indiana.edu

jec@iuvax.cs.indiana.edu (James E. Conley) (04/08/89)

	Sorry about the multiple posting, but the last message may have
given the impression that the problem was my running the prsvr and prmgr
as jec rather than root-- here is the output as root:

PRSVR
-----
io 1# /sys/hardcopy/prmgr -cfg //cimon/sys/print/Lindley_Printers
prmgr name = lindley_spool, dds://io[162]
(prmgr) Warning: Can't lookup print manager (1c020003)
Listening...

PRMGR
-----
g manager print_spinwr from /sys/hardcopy/drivers/spinwr

Apollo print server, revision 10.1.07   11/02/88

Started 16:18 04/07

DEFAULT JOB PARAMTERS

  PRINTER IDENTIFICATION
printer name = io
printer ext = 0
presr10 name =
print manager name = lindley_spool

banner page logo =
printer description = Personal Printer for James Conley
  I/O CONNECTION
print driver name = spinwr
Printer Model Name = pr__spin
Serial device name = /dev/sio1
Serial device speed = 9600


  DEFAULT OUTPUT PAGE
Page Width = 8.50
Page Length = 11.00
  DEFAULT TEXT LAYOUT PROPERTIES
text point size = 10.00


  MISC PROPERTIES
file banners = first

*******************************************************************************
?(prsvr) Problem building print environment - error creating I/O connection (US/
print utility)
Server quitting. Please wait
error creating I/O connection (US/print utility)
io 3#

wescott@LNIC1.HPRC.UH.EDU (Andrew M. Wescott) (04/10/89)

I have had no actual problems with the prmgr/prsvr software under SR 10.1.
However, getting someone in the graphics group in Chelmsford to help in
setting up an "unsupported" printer is like pulling teeth.  We upgraded a
nearly new DEC LNO3 laser to the LNO3R (100% PostScript compatible) and 
experienced difficulty getting our DN 3500 sio port to talk to the
printer.  Apollo's response was that they only use leads 2,3, and 7.
End of Story!  We found something quite different with a breakout box,
and the printer works great configured as a laserwriter plus...just like
the manufacturer said.

Here are our config files:

(/sys/hardcopy/lnic2_prsvr.conf)

prmgr_site       prmgr.lnic2
file_banners     off
bottom_margin    0.5
top_margin       0.5
collate_copies   on
device_driver    postc
form_feeds       0
io_device_name   /dev/sio1
lpi              6
model_number     laserwriter
paper_size       a
point            10
printer_name     p
speed            9600
top_margin       0.5

(/sys/hardcopy/lnic2_prmgr.conf)

spool_node = //lnic2
prmgr_name = prmgr.lnic2

(/u1/$user/user_data/startup.prf)

wrap   on  
margins on 
top     0.5
bottom  0.5
right   0.5
left    0.5
orient  portrait

To start up the prmgr from the DM:

cps /sys/hardcopy/prmgr -cfg lnic2_prmgr.conf -n prmgr.lnic2

To start up the prsvr from the DM:

cps /sys/hardcopy/prsvr  lnic2_prsvr.conf -n prsvr.lnic2  
(notice the lack of a -cfg flag)


Hope this helps.


Andrew M. Wescott
University of Houston 
Department of Chemical Engineering

weiner@novavax.UUCP (Bob Weiner) (04/14/89)

We got the prmgr/prsvr to work with a NEC LC-890 in postscript mode
without any problem.  We then tried to do the same for an Apple
LaserWriter NT and all we got was a '%% defaultpapertray' error and no
output.  Calls to Apollo turned up the fact that none of Apple's newer
printers beyond the LaserWriter Plus are currently 'supported' by
Apollo.

If anyone has a solution to this printing problem, I would greatly
appreciate it.  (By the way, when the server starts up it says the model
name of my LaserWriter NT is 'laser26', I know not why though, and I
know of no way to set this value.)
-- 
Bob Weiner, Motorola, Inc.,   USENET:  ...!gatech!uflorida!novavax!weiner
(407) 738-2087

wescott@LNIC1.HPRC.UH.EDU (Andrew M. Wescott) (04/18/89)

I know very little about Apple's LaserWriters, but I would
suspect that is has a LaserWriter Plus emulation mode.  As regards
to your prsvr.conf file,  I suggest you mail me a copy and I will
look at it for you.  We have had no problems.

Do you have the book "Printing in the Aegis Environment" ?  
I found it very enlightening.

Andrew Wescott
University of Houston
Department of Chemical Engineering