Couple SCO6 Problems - SCO

This is a discussion on Couple SCO6 Problems - SCO ; Hi Guys, I've run into a couple problem on my new SCO6 setup. 1) I'm using CUPS, and sometimes print jobs aren't being printed at all, but they look like they are printing. This is all happening on one printer. ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: Couple SCO6 Problems

  1. Couple SCO6 Problems

    Hi Guys,

    I've run into a couple problem on my new SCO6 setup.

    1) I'm using CUPS, and sometimes print jobs aren't being printed at
    all, but they look like they are printing. This is all happening on
    one printer. This one printer, is set up as 3 separate printers in
    CUPS, 1 for each of the 3 trays. When jobs go missing is when it is
    printing to 1 printer, then switches to another printer. Example:
    say my printers are named tray_1, tray_2, tray_3. I'm printing to
    tray_1 multiple jobs & pages, then I print to tray_2. all of tray_1's
    jobs print, but tray_2's never prints, but according to CUPS it did
    print.

    2) Samba is giving me some strange error messages in the log file, I
    want to see if I can figure out how to correct these problems. The
    smbd.log file contains these messages:

    [2007/07/02 08:39:04, 0] lib/util_sock.c1222)
    getpeername failed. Error was Invalid argument
    [2007/07/02 08:44:36, 0] smbd/server.c389)
    open_sockets_smbd: accept: Protocol error
    [2007/07/02 08:53:14, 0] lib/util_sock.c258)
    Failed to set socket option SO_KEEPALIVE (Error Invalid argument)
    [2007/07/02 08:53:14, 0] lib/util_sock.c258)
    Failed to set socket option TCP_NODELAY (Error Invalid argument)
    [2007/07/02 08:53:14, 0] lib/util_sock.c1222)
    getpeername failed. Error was Invalid argument
    [2007/07/02 08:56:40, 0] lib/util_sock.c258)
    Failed to set socket option SO_KEEPALIVE (Error Invalid argument)
    [2007/07/02 08:56:40, 0] lib/util_sock.c258)
    Failed to set socket option TCP_NODELAY (Error Invalid argument)
    [2007/07/02 08:56:40, 0] lib/util_sock.c1222)
    getpeername failed. Error was Invalid argument
    [2007/07/02 09:08:13, 0] lib/util_sock.c258)
    Failed to set socket option SO_KEEPALIVE (Error Invalid argument)
    [2007/07/02 09:08:13, 0] lib/util_sock.c258)
    Failed to set socket option TCP_NODELAY (Error Invalid argument)
    [2007/07/02 09:08:13, 0] lib/util_sock.c1222)
    getpeername failed. Error was Invalid argument
    [2007/07/02 09:23:09, 0] smbd/server.c389)
    open_sockets_smbd: accept: Protocol error


    Anybody have any suggestions for either problem? Thanks for the help!

    -David


  2. Re: Couple SCO6 Problems

    On Jul 2, 12:43 pm, "David C. Moody" wrote:
    > Hi Guys,
    >
    > I've run into a couple problem on my new SCO6 setup.
    >
    > 1) I'm using CUPS, and sometimes print jobs aren't being printed at
    > all, but they look like they are printing. This is all happening on
    > one printer. This one printer, is set up as 3 separate printers in
    > CUPS, 1 for each of the 3 trays. When jobs go missing is when it is
    > printing to 1 printer, then switches to another printer. Example:
    > say my printers are named tray_1, tray_2, tray_3. I'm printing to
    > tray_1 multiple jobs & pages, then I print to tray_2. all of tray_1's
    > jobs print, but tray_2's never prints, but according to CUPS it did
    > print.
    >
    > 2) Samba is giving me some strange error messages in the log file, I
    > want to see if I can figure out how to correct these problems. The
    > smbd.log file contains these messages:
    >
    > [2007/07/02 08:39:04, 0] lib/util_sock.c1222)
    > getpeername failed. Error was Invalid argument
    > [2007/07/02 08:44:36, 0] smbd/server.c389)
    > open_sockets_smbd: accept: Protocol error
    > [2007/07/02 08:53:14, 0] lib/util_sock.c258)
    > Failed to set socket option SO_KEEPALIVE (Error Invalid argument)
    > [2007/07/02 08:53:14, 0] lib/util_sock.c258)
    > Failed to set socket option TCP_NODELAY (Error Invalid argument)
    > [2007/07/02 08:53:14, 0] lib/util_sock.c1222)
    > getpeername failed. Error was Invalid argument
    > [2007/07/02 08:56:40, 0] lib/util_sock.c258)
    > Failed to set socket option SO_KEEPALIVE (Error Invalid argument)
    > [2007/07/02 08:56:40, 0] lib/util_sock.c258)
    > Failed to set socket option TCP_NODELAY (Error Invalid argument)
    > [2007/07/02 08:56:40, 0] lib/util_sock.c1222)
    > getpeername failed. Error was Invalid argument
    > [2007/07/02 09:08:13, 0] lib/util_sock.c258)
    > Failed to set socket option SO_KEEPALIVE (Error Invalid argument)
    > [2007/07/02 09:08:13, 0] lib/util_sock.c258)
    > Failed to set socket option TCP_NODELAY (Error Invalid argument)
    > [2007/07/02 09:08:13, 0] lib/util_sock.c1222)
    > getpeername failed. Error was Invalid argument
    > [2007/07/02 09:23:09, 0] smbd/server.c389)
    > open_sockets_smbd: accept: Protocol error
    >
    > Anybody have any suggestions for either problem? Thanks for the help!
    >
    > -David


    Does this Usenet group now charge by the message? Else why post 2
    unrelated questions in one message with a useless caption?

    As for the printer problem, when you create 3 spools to the same
    physical device CUPS doesn't know that. If it's sending data to
    tray_1 and gets a request for tray_2 it thinks it's OK to send.
    Depending on how the printer is connected (you didn't specify) CUPS
    might not get a buffer overrun or other error message. Your printer
    error log (if it has one; you didn't specify the model) may give more
    information.

    Better to create a single spool with tray options. Your driver may
    already have one (you didn't specify).

    --RLR


  3. Re: Couple SCO6 Problems

    ThreeStar typed (on Tue, Jul 03, 2007 at 10:00:29AM -0700):
    | On Jul 2, 12:43 pm, "David C. Moody" wrote:
    | > Hi Guys,
    | >
    | > I've run into a couple problem on my new SCO6 setup.
    | >
    | > 1) I'm using CUPS, and sometimes print jobs aren't being printed at
    | > all, but they look like they are printing. This is all happening on
    | > one printer. This one printer, is set up as 3 separate printers in
    | > CUPS, 1 for each of the 3 trays. When jobs go missing is when it is
    | > printing to 1 printer, then switches to another printer. Example:
    | > say my printers are named tray_1, tray_2, tray_3. I'm printing to
    | > tray_1 multiple jobs & pages, then I print to tray_2. all of tray_1's
    | > jobs print, but tray_2's never prints, but according to CUPS it did
    | > print.
    | >
    |
    | As for the printer problem, when you create 3 spools to the same
    | physical device CUPS doesn't know that. If it's sending data to
    | tray_1 and gets a request for tray_2 it thinks it's OK to send.
    | Depending on how the printer is connected (you didn't specify) CUPS
    | might not get a buffer overrun or other error message. Your printer
    | error log (if it has one; you didn't specify the model) may give more
    | information.
    |
    | Better to create a single spool with tray options. Your driver may
    | already have one (you didn't specify).

    Did you use lpoptions to seklect amongst your three trays?

    --
    JP
    ==> http://www.frappr.com/cusm <==

  4. Re: Couple SCO6 Problems

    I would use one printer spool alone, but the problem comes in when I
    use WordPerfect. That program doesn't like handling 3 trays.

    Printers are all connected via the network. This printer in specific
    is an HP Laserjet 4250.

    This worked no problem on SCO 507 with CUPS, so I'm thinking something
    changed in the CUPS configuration between the two versions.

    Thanks for the help.



  5. Re: Couple SCO6 Problems

    "David C. Moody" wrote:
    >
    > I would use one printer spool alone, but the problem comes in when I
    > use WordPerfect. That program doesn't like handling 3 trays.


    Well, if you have three printer is CUPS, then you have three printers
    in WordPerfect.

    Just run wpport and add a separate "port" for each tray, changing the
    names in the spool directive to use the same CUPS printer and include
    the CUPS options to select the tray for the printer:

    Edit

    1 - Port Description laser_tray1
    > 1 - Port Description laser_tray2
    > 1 - Port Description laser_tray3 etc...


    2 - Output Type Other Spooler

    3 - Spooler Command lp -dw95p -ol -otray1
    > 3 - Spooler Command lp -dw95p -ol -otray2
    > 3 - Spooler Command lp -dw95p -ol -otray3


    4 - Leading Banner /usr/wp51/shlib/header.wp

    5 - Trailing Banner /usr/wp51/shlib/trailer.wp

    6 - Job Types [ALL TYPES]

    7 - Switch Box


    >
    > Printers are all connected via the network. This printer in specific
    > is an HP Laserjet 4250.


    What is your network transport? I don't use CUPS. So if the network is
    built in to cups then ignore this comment.

    I have use netcat with the standard lp spooler and WordPerfect as shown
    above. I have to select "Other Spooler" for output type to get it to work.
    Otherwise the output is mangled.

    >
    > This worked no problem on SCO 507 with CUPS, so I'm thinking something
    > changed in the CUPS configuration between the two versions.
    >
    > Thanks for the help.



    --

    Steve Fabac
    S.M. Fabac & Associates
    816/765-1670

+ Reply to Thread