[comp.unix.sysv386] `lpadmin' and `lpforms' in SCO SysV3.2

chap@art-sy.detroit.mi.us (j chapman flack) (05/18/91)

I've just begun setting up lp and company under SCO System V 3.2 (ODT 1.0.1)
and have been having enormous problems.  `lpadmin' complains about invalid
scaled numbers; eg, if I use 11i as form length, it tells me to use only i or c
as the suffix!  It also says it should put an i or c at the end of a number
like cpi, e.g., cpi=10i, which seems like the inverse of what I want, but if
they want it that way, hey, I'll do it.  Doesn't matter.  Still complains that
I should have an i or c at the end.  (Maybe I should take it literally and
put TWO i's at the end? ;-) )

`lpforms' is worse.  It has the same problem with parsing 'scaled numbers', so
any form description I create will be rejected if it specifies any value for
form length, width, cpi, or lpi.  The only way I can get it to create a form
at all is to omit everything in the description except the comment.  That
avoids choking the parser, and lpforms fills in default values for everything
else, creates the appropriate directory and files in
/usr/spool/lp/admins/lp/forms, and then says it got an unexpected return code 5
from the lp process.

After that, subsequent attempts to modify the same form result in a complaint
that the form is corrupted.  "lpstat -f all" doesn't know about the form at all.
So far, I am completely unable to use forms at all.

Are these utilities this broken for everybody?  Is this a SCOism?  Do I have a
trashed distribution?  Does anyone know of workarounds?

Thanks!
-- 
Chap Flack                         Their tanks will rust.  Our songs will last.
chap@art-sy.detroit.mi.us                                    -MIKHS 0EODWPAKHS

Nothing I say represents Appropriate Roles for Technology unless I say it does.

jeffl@comix.UUCP (Jeff Liebermann) (05/19/91)

In article <9105172311.aa01982@art-sy.detroit.mi.us> chap@art-sy.detroit.mi.us (j chapman flack) writes:
>I've just begun setting up lp and company under SCO System V 3.2 (ODT 1.0.1)
>and have been having enormous problems.  `lpadmin' complains about invalid
[horrors with forms setup deleted]
>-- 
>Chap Flack                         Their tanks will rust.  Our songs will last.
>chap@art-sy.detroit.mi.us                                    -MIKHS 0EODWPAKHS

You need update unx249b from the sosco uucp bbs.  The following is an
exert from the accomanying unx249b.ltr
---------
UTILITY MODIFICATIONS
+ A new version of /usr/lib/lpsched(ADM), engineered especially to handle the
  use of filters and forms as specified in the documentation.  This corrects
  problems with /usr/lib/lpsched(ADM) dying with the following message when
  using the filters option:
     "UX: lp: ERROR: can't receive message from the LP print service. 
          TO FIX: The LP print service apparently has been stopped. 
          Get help from your system administrator."  
+ A more robust /usr/lib/lpforms(ADM) binary that corrects problems experienced
  when attempting to configure a form.
+ A more robust /usr/lib/lpadmin(ADM) binary that corrects problems experienced
  when administering the forms feature of the print service.
FILE MODIFICATIONS
+ All of the model printer interface scripts have been revised and upgraded to
  include support for the filters feature of the print service.  The hpjet
[lots of stuff deleted]

Not connected with, employable by, or associated with SCO in any way.

-- 
# Jeff Liebermann   Box 272   1540 Jackson Ave     Ben Lomond    CA  95005
# 408.336.2558  voice           WB6SSY @ KI6EH.#NOCAL.CA.USA   packet radio
# 408.429.0483  digital pager   73557,2074       cis
# jeffl@comix.santa-cruz.ca.us  uunet!comix!jeffl  jeffl%comix@ucscc.ucsc.edu