lpr on SVR4 - SCO

This is a discussion on lpr on SVR4 - SCO ; Hi all. I've recently had to restore a Sys V rel 4 box and it doesn't seem to have lpr. I need that to print? I can 'cat' stuff to the printer, but I'm trying to get an old COBOL ...

+ Reply to Thread
Results 1 to 8 of 8

Thread: lpr on SVR4

  1. lpr on SVR4

    Hi all. I've recently had to restore a Sys V rel 4 box and it doesn't
    seem to have lpr. I need that to print? I can 'cat' stuff to the
    printer, but I'm trying to get an old COBOL program to print (CMI in
    case it matters) and it's scripts seem to want /usr/bin/lpr. Is there
    somewhere that I can find this lpr program? Total stranger to SCO so
    any help would be appreciated.


  2. Re: lpr on SVR4

    On Tue, 2006-12-12 at 20:41 -0800, 0 wrote:
    > Hi all. I've recently had to restore a Sys V rel 4 box and it doesn't
    > seem to have lpr. I need that to print? I can 'cat' stuff to the
    > printer, but I'm trying to get an old COBOL program to print (CMI in
    > case it matters) and it's scripts seem to want /usr/bin/lpr. Is there
    > somewhere that I can find this lpr program? Total stranger to SCO so
    > any help would be appreciated.


    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 -- brian@aljex.com -- http://www.aljex.com/bkw/
    +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
    filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani


  3. Re: lpr on SVR4

    /usr/bin/lpr is available in rel 4 systems (at least on the 3.2v4.2 I
    checked). It's hard-linked to lp. If command /usr/bin/lp is available
    on your system then you can restore the link:

    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

    Brian K. White wrote:
    > On Tue, 2006-12-12 at 20:41 -0800, 0 wrote:
    > > Hi all. I've recently had to restore a Sys V rel 4 box and it doesn't
    > > seem to have lpr. I need that to print? I can 'cat' stuff to the
    > > printer, but I'm trying to get an old COBOL program to print (CMI in
    > > case it matters) and it's scripts seem to want /usr/bin/lpr. Is there
    > > somewhere that I can find this lpr program? Total stranger to SCO so
    > > any help would be appreciated.

    >
    > 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 -- brian@aljex.com -- http://www.aljex.com/bkw/
    > +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
    > filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani



  4. Re: lpr on SVR4

    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.
    ThreeStar wrote:
    > /usr/bin/lpr is available in rel 4 systems (at least on the 3.2v4.2 I
    > checked). It's hard-linked to lp. If command /usr/bin/lp is available
    > on your system then you can restore the link:
    >
    > 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
    >
    > Brian K. White wrote:
    > > On Tue, 2006-12-12 at 20:41 -0800, 0 wrote:
    > > > Hi all. I've recently had to restore a Sys V rel 4 box and it doesn't
    > > > seem to have lpr. I need that to print? I can 'cat' stuff to the
    > > > printer, but I'm trying to get an old COBOL program to print (CMI in
    > > > case it matters) and it's scripts seem to want /usr/bin/lpr. Is there
    > > > somewhere that I can find this lpr program? Total stranger to SCO so
    > > > any help would be appreciated.

    > >
    > > 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 -- brian@aljex.com -- http://www.aljex.com/bkw/
    > > +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
    > > filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani



  5. Re: lpr on SVR4

    On Thu, 2006-12-14 at 12:57 -0800, 0 wrote:
    > ThreeStar wrote:
    > >
    > > Brian K. White wrote:
    > > > On Tue, 2006-12-12 at 20:41 -0800, 0 wrote:
    > > > > Hi all. I've recently had to restore a Sys V rel 4 box and it doesn't
    > > > > seem to have lpr. I need that to print? I can 'cat' stuff to the
    > > > > printer, but I'm trying to get an old COBOL program to print (CMI in
    > > > > case it matters) and it's scripts seem to want /usr/bin/lpr. Is there
    > > > > somewhere that I can find this lpr program? Total stranger to SCO so
    > > > > any help would be appreciated.
    > > >
    > > > 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 -- brian@aljex.com -- http://www.aljex.com/bkw/
    > > > +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
    > > > filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani

    >
    > /usr/bin/lpr is available in rel 4 systems (at least on the 3.2v4.2 I
    > > checked). It's hard-linked to lp. If command /usr/bin/lp is available
    > > on your system then you can restore the link:
    > >
    > > 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



    > 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.

    --
    Brian K. White -- brian@aljex.com -- http://www.aljex.com/bkw/
    +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
    filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani


  6. Re: lpr on SVR4

    On those SVR4 systems the administration tool is "sysadmsh" rather than
    "scoadmin". However in either you can get straight to Software
    installation by just running "custom".

    LPR is a package in the UNIX System V Extended Utilities.

    Ray Robert
    Three Star Software

    Brian K. White wrote:
    > On Thu, 2006-12-14 at 12:57 -0800, 0 wrote:
    > > ThreeStar wrote:
    > > >
    > > > Brian K. White wrote:
    > > > > On Tue, 2006-12-12 at 20:41 -0800, 0 wrote:
    > > > > > Hi all. I've recently had to restore a Sys V rel 4 box and it doesn't
    > > > > > seem to have lpr. I need that to print? I can 'cat' stuff to the
    > > > > > printer, but I'm trying to get an old COBOL program to print (CMI in
    > > > > > case it matters) and it's scripts seem to want /usr/bin/lpr. Is there
    > > > > > somewhere that I can find this lpr program? Total stranger to SCO so
    > > > > > any help would be appreciated.
    > > > >
    > > > > 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 -- brian@aljex.com -- http://www.aljex.com/bkw/
    > > > > +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
    > > > > filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani

    > >
    > > /usr/bin/lpr is available in rel 4 systems (at least on the 3.2v4.2 I
    > > > checked). It's hard-linked to lp. If command /usr/bin/lp is available
    > > > on your system then you can restore the link:
    > > >
    > > > 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

    >
    >
    > > 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.
    >
    > --
    > Brian K. White -- brian@aljex.com -- http://www.aljex.com/bkw/
    > +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
    > filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani



  7. Re: lpr on SVR4

    ThreeStar wrote:
    > On those SVR4 systems the administration tool is "sysadmsh" rather than
    > "scoadmin". However in either you can get straight to Software
    > installation by just running "custom".


    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.

    >
    > LPR is a package in the UNIX System V Extended Utilities.
    >
    > Ray Robert
    > Three Star Software
    >
    > Brian K. White wrote:
    >> On Thu, 2006-12-14 at 12:57 -0800, 0 wrote:
    >>> ThreeStar wrote:
    >>>> Brian K. White wrote:
    >>>>> On Tue, 2006-12-12 at 20:41 -0800, 0 wrote:
    >>>>>> Hi all. I've recently had to restore a Sys V rel 4 box and it doesn't
    >>>>>> seem to have lpr. I need that to print? I can 'cat' stuff to the
    >>>>>> printer, but I'm trying to get an old COBOL program to print (CMI in
    >>>>>> case it matters) and it's scripts seem to want /usr/bin/lpr. Is there
    >>>>>> somewhere that I can find this lpr program? Total stranger to SCO so
    >>>>>> any help would be appreciated.
    >>>>> 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 -- brian@aljex.com -- http://www.aljex.com/bkw/
    >>>>> +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
    >>>>> filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani
    >>> /usr/bin/lpr is available in rel 4 systems (at least on the 3.2v4.2 I
    >>>> checked). It's hard-linked to lp. If command /usr/bin/lp is available
    >>>> on your system then you can restore the link:
    >>>>
    >>>> 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

    >>
    >>> 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.
    >>
    >> --
    >> Brian K. White -- brian@aljex.com -- http://www.aljex.com/bkw/
    >> +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
    >> filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani

    >


  8. Re: lpr on SVR4

    Thanks to everyone for all your help. From the looks of it, I need an
    X1 disk from which I can install the /usr/bin/lp program. I've looked
    through what I have (N1, N2, M1, 1) but no X1 disk. Does someone out
    there have an extra X1 disk? Thanks again.


    Steve M. Fabac, Jr. wrote:
    > ThreeStar wrote:
    > > On those SVR4 systems the administration tool is "sysadmsh" rather than
    > > "scoadmin". However in either you can get straight to Software
    > > installation by just running "custom".

    >
    > 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.
    >
    > >
    > > LPR is a package in the UNIX System V Extended Utilities.
    > >
    > > Ray Robert
    > > Three Star Software
    > >
    > > Brian K. White wrote:
    > >> On Thu, 2006-12-14 at 12:57 -0800, 0 wrote:
    > >>> ThreeStar wrote:
    > >>>> Brian K. White wrote:
    > >>>>> On Tue, 2006-12-12 at 20:41 -0800, 0 wrote:
    > >>>>>> Hi all. I've recently had to restore a Sys V rel 4 box and it doesn't
    > >>>>>> seem to have lpr. I need that to print? I can 'cat' stuff to the
    > >>>>>> printer, but I'm trying to get an old COBOL program to print (CMI in
    > >>>>>> case it matters) and it's scripts seem to want /usr/bin/lpr. Is there
    > >>>>>> somewhere that I can find this lpr program? Total stranger to SCO so
    > >>>>>> any help would be appreciated.
    > >>>>> 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 -- brian@aljex.com -- http://www.aljex.com/bkw/
    > >>>>> +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
    > >>>>> filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani
    > >>> /usr/bin/lpr is available in rel 4 systems (at least on the 3.2v4.2 I
    > >>>> checked). It's hard-linked to lp. If command /usr/bin/lp is available
    > >>>> on your system then you can restore the link:
    > >>>>
    > >>>> 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
    > >>
    > >>> 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.
    > >>
    > >> --
    > >> Brian K. White -- brian@aljex.com -- http://www.aljex.com/bkw/
    > >> +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
    > >> filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani

    > >



+ Reply to Thread