LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   CUPS and LPRng on the same sytem: conflict. (https://www.linuxquestions.org/questions/linux-software-2/cups-and-lprng-on-the-same-sytem-conflict-322679/)

JZL240I-U 05-12-2005 05:33 AM

CUPS and LPRng on the same sytem: conflict.
 
Hi all,

recently I bought a Brother HL-2040 printer in part because they support Linux. It's now running with the driver of the HL-1250 (provided by SuSE) with 300*300 resolution. So far, so middling good.

When I wanted to install the original driver(s) I encountered a hurdle: Brother has a driver for LPR, which has to be installed first and a "wrapper-driver" for CUPS (which I use) which has to be installed second.

When I issued a
Code:


yast -i </path/driver.name.rpm>

I got an error saying, that I should install LPR first.

When I open YAST2 and try to do that I get the error-message that LPR conflicts with cups-client, cups-drivers-stp, cups-gtklp and cups. Brother says they tested it with SuSE 8.2 and 9.1 (I use 9.0). So there should be a way, but how does one install both resolving the conflicts?

I read here on LQ, that symlinks in /usr/bin/lp* should point to CUPS-equivalents, is that enough? Suggestions?

pnellesen 05-12-2005 07:21 AM

Re: CUPS and LPRng on the same sytem: conflict.
 
Quote:

Originally posted by JZL240I-U
I read here on LQ, that symlinks in /usr/bin/lp* should point to CUPS-equivalents, is that enough? Suggestions?
I have a different printer (HP) but that method worked for me... Other than setting up CUPS via the browser, that's all I had to do.

Hope this helps :)

JZL240I-U 05-17-2005 07:42 AM

Solved, but...
 
Okay so it's solved, though some questions remain. Here goes:

What I did and wrote in my first post, I did coming from "su". Just the next day I logged in as root, and, lo and behold, the driver was installed. I retried it several times from here in a console window and got a clean install without any warnings or error-notes.

I proceeded to install the wrapper driver with the same results. I went back to normal user and retried from "su": some (other) error again (though no "abort"). YAST2, when asked, was yodelling something about conflicts but that's about it so far. Since I'm not using lpr I'm not worried (too much :().

A cookie to anyone who can explain the different behavoiurs from "su" vs root (Brother is exempt! :D) ;).

P.S.: The printer is working beautifully so far, very nice and clear printouts at 600*600 dpi resolution.

P.P.S.: Brother advised to install via
Code:


rpm -ihv --nodeps {--force-overwrite} <packet-name>

but I want YAST to handle my rpmbase and so used yast...


All times are GMT -5. The time now is 12:40 PM.