I need some help with hplip/cups/lpd - BSD

This is a discussion on I need some help with hplip/cups/lpd - BSD ; Hi, well, i have been fiddling for about 4 hours now, with, well, not-that-good results. The printer-scanner combo, a usb-attached PSC 1510, is recognized by hplip and cups. Scanning works fine. Now, I try to print a test page: 1. ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: I need some help with hplip/cups/lpd

  1. I need some help with hplip/cups/lpd

    Hi,

    well, i have been fiddling for about 4 hours now, with, well,
    not-that-good results.

    The printer-scanner combo, a usb-attached PSC 1510, is recognized by hplip
    and cups.
    Scanning works fine.

    Now, I try to print a test page:

    1. Using the cups web interface: Job shows up on the job page and prints..
    Fine.
    The job does NOT go through the lpd spooler.

    2. Using hp-testpage: Job ends up stuck in the lpd spooler, does not show
    up on cups' job page,
    in spite of me specifing the correct cups printer on the command line.

    All other printing attempts from different applications give me #2:

    # lpq -PPSC_1500
    Warning: no daemon present
    Rank Owner Job Files Total Size
    1st michael 29 /tmp/tmpe0JdRs 1436617 bytes
    2nd root 30 (standard input) 602 bytes
    3rd michael 31 (standard input) 10117 bytes
    4th root 32 /tmp/tmplsKZIj 1436617 bytes


    lpq complains about "no daemon present", while
    # ps ax | grep lpd
    774 ?? Is 0:00,01 lpd


    This may be caused by lpd not finding any device, i get a "/dev/lp: No
    such file or directory" on every printing attempt, and
    # ls /dev/lp*
    /dev/lpt0 /dev/lpt0.ctl


    /etc/printcap:

    # This file was automatically generated by cupsd(8) from the
    # /usr/local/etc/cups/printers.conf file. All changes to this file
    # will be lost.
    PSC_1500|PSC_1500:rm=serafina.local:rp=PSC_1500:




    I do not have the faintest clue on what to do next.
    Any pointers greatly appreciated.


    Michael

  2. Re: I need some help with hplip/cups/lpd

    Michael Ross wrote:
    > I do not have the faintest clue on what to do next.
    > Any pointers greatly appreciated.
    >


    What I like to forget is that there is /usr/bin/lpr and
    /usr/local/bin/lpr. The latter is the one You want,
    but the former is what some programs assume is the
    right one. Also, /usr/bin might be in PATH before
    /usr/local/bin, so printing from the command line
    might still use /usr/bin/lpr (and friends).

    cheers,
    Florian

  3. Re: I need some help with hplip/cups/lpd

    Michael Ross wrote:
    > I do not have the faintest clue on what to do next.
    > Any pointers greatly appreciated.
    >


    What I like to forget is that there is /usr/bin/lpr and
    /usr/local/bin/lpr. The latter is the one You want,
    but the former is what some programs assume is the
    right one. Also, /usr/bin might be in PATH before
    /usr/local/bin, so printing from the command line
    might still use /usr/bin/lpr (and friends).

    cheers,
    Florian

  4. Re: I need some help with hplip/cups/lpd

    Michael Ross wrote:
    > I do not have the faintest clue on what to do next.
    > Any pointers greatly appreciated.
    >


    What I like to forget is that there is /usr/bin/lpr and
    /usr/local/bin/lpr. The latter is the one You want,
    but the former is what some programs assume is the
    right one. Also, /usr/bin might be in PATH before
    /usr/local/bin, so printing from the command line
    might still use /usr/bin/lpr (and friends).

    cheers,
    Florian

  5. Re: I need some help with hplip/cups/lpd

    Am 01.02.2008, 18:50 Uhr, schrieb Florian Liekweg
    :

    > Michael Ross wrote:
    >> I do not have the faintest clue on what to do next.
    >> Any pointers greatly appreciated.
    >>

    >
    > What I like to forget is that there is /usr/bin/lpr and
    > /usr/local/bin/lpr. The latter is the one You want,
    > but the former is what some programs assume is the
    > right one. Also, /usr/bin might be in PATH before
    > /usr/local/bin, so printing from the command line
    > might still use /usr/bin/lpr (and friends).


    Thank you very much: That did the trick.

    I symlinked the binaries in /usr/local/bin to /usr/bin, and now everything
    works fine.

    And to think that I have been digging through, like, dozens of FAQ-,
    troubleshooting and whatnot-pages without any success. I might contact the
    maintainer about an updated pkg-message.


    Michael

+ Reply to Thread