Try lp not lpr
if that doesn't work then please show:
uname -X
customquery listfiles |grep /lp
Also, if the uname above indicates OpenServer, then have you run
"scoadmin printer" to set up at least one printer in the spooler? lp
won't do much without it.
If it's Unixware someone else'll have to chime in.
maybe "uname -a" and "pkginfo -i" for starters ?
--
Brian K. White -- br...@aljex.com -- http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani
ln /usr/bin/lp /usr/bin/lpr
If /usr/bin/lp is missing, too, then something went awry in the
"restore" process.
Ray Robert
Three Star Software
# uname -X
System = scosysv
Node = scosysv
Release = 3.2v4.2
KernelID = 93/04/28
Machine = i80486
BusType = MCA
Serial = 2BC013036
Users = 16-users
OEM# = 0
Origin# = 1
NumCPU = 1
As far as I can tell, nothing went wrong in the restore process. There
were no errrors shown on screen. Everything was on 3 or 4 floppy disks
and a tape. I just don't know where to look for an lp or lpr package
for a SCO box. Thanks for the help.
> Thanks for the help. Here's what I've found thus far. This is no
> "/usr/bin/lp" and there is no "/usr/bin/lpr". There is no "scoadmin"
> command anywhere on this box, and the results of uname -X are:
>
> # uname -X
>
> System = scosysv
> Node = scosysv
> Release = 3.2v4.2
> KernelID = 93/04/28
> Machine = i80486
> BusType = MCA
> Serial = 2BC013036
> Users = 16-users
> OEM# = 0
> Origin# = 1
> NumCPU = 1
>
> As far as I can tell, nothing went wrong in the restore process. There
> were no errrors shown on screen. Everything was on 3 or 4 floppy disks
> and a tape. I just don't know where to look for an lp or lpr package
> for a SCO box. Thanks for the help.
>
Got me swinging. Maybe someone else can say what's the equivalent of the "customquery listfiles" command I asked for?
On OSR 5 and up that command would spit out a list of files the software manager thought were installed.
I don't know if it goes back to 4.2
I know you have "custom" but that doesn't mean you necessarily have "customquery" or if you do that it has the option "listfiles".
Wow, a real live MicroChannel box? I've never seen one in person.
LPR is a package in the UNIX System V Extended Utilities.
Ray Robert
Three Star Software
Brian K. White wrote:
I just picked up this thread and noted that the OP mis identified his system
as Sys V Rel 4: SCO 3.2v4.2 is Sys V release 3. The operating system that became
Unixware and its decedents is Sys V Rel 4.
For 3.2v4.2 use the fixperm -n /etc/perms/"package name" to generate a list
of permissions and missing files a-la Openserver 5.0 custom -> software -> verify system.
The /etc/perms/"package name" files contain information on the files of the
package and which floppy disk of the installation set the file was loaded
from: X1, B1, etc. /usr/bin/lp is on the X1 disk. You can use tar to extract it.