I’ve got again a problem with my printer.
Some time ago I installed a canon MX870 locally and over LAN - no problem.
But now I’ve finally got a new drum and cartridge for my brother HL-1230 and, seeing as OS11.4 is my main system, decided to install it on the mentioned OS11.4x64.
The printer is connected at parport, using “Yast>Hardware” I can see it is connected as /dev/lp0. And detected as HL-1230 series.
Now comes the problem:
Look as I may in “Yast > Printers” (or equiv. CUPS) I can not install/register the printer in CUPS.
At first I thought there were dirvers missing(b/c looking for HL-1230 did not yield anything), so I downloaded some more and now there are some HL-1230 Foomatic drivers.
The situation however, did not change.
I still can’t install the printer - neither can I select it manually (it’s not listed as being on parallel connection), nor does “Detect More” yield anything.
Am Fri, 23 Dec 2011 18:26:02 +0000 schrieb Aquinox:
> I’ve tried that way once already - and failed.
> However I tried it just now again and here’s what I get For “rpm -i
> hl1230lpr-1.1.2-1.i386.rpm”
>
> Code:
> --------------------
>
> /var/tmp/rpm-tmp.uicQef: line 2: /etc/init.d/lpd: No such file or
> directory warning: %post(hl1230lpr-1.1.2-1.i386) scriptlet failed,
> exit status 127
> --------------------
>
>
> Needless to say, cupswrapper refuses to install after that because of
> failed dependencies. (lpr missing)
>
> What am I missing?
I am not sure if your printer is in the database. Lets just assume it is
not.
My printer is a HL2240D which is not in it. You do get a driver and it
may work, but its best to use cups.
Uninstall the drivers you had installed and install it via terminal. Make
yourself su.
There you should see your printer (if everything was succesful) and if
your printer is in the database you will see the driver for your printer.
If not you need to use a driver that is closest to yours.
But wait, do you use USB or Serial? This is for USB connection and may
not work for serial connection.
@deano
The model is HL-1230 not HL-2130, therefore the driver version is correct. But your link pointed me to the installation prerequirements (point Nr 3), where it is told, that one has to create a soft link to cups
ln -s /etc/init.d/cups /etc/init.d/lpd
That took care of the errors when installing LPR. Installation of cupswrapper still fails though:
LinDevNV:/home/aquinox/Downloads # rpm -i hl1230lpr-1.1.2-1.i386.rpm
Shutting down cupsd..done
Starting cupsd..done
LinDevNV:/home/aquinox/Downloads # rpm -i cupswrapperHL1230-1.0.2-1.i386.rpm
error: Failed dependencies:
lpr is needed by cupswrapperHL1230-1.0.2-1.i386
Well with the flags “-ihv --nodeps” the cupswrapper installed and I can see the printer in the Printer config of Yast.
But…though I can see the printer in Yast not even a test page can be printed (neither with the brother driver, nor with the OpenPPD Foomatic driver).
And CUPS itself, if administrated through the web interface says me that there are no local printers and can’t add this one.
In Yast, after a failed attempt at printing the test page I get the info that the printer is not connected. Although it is connected to the PC and running…
although it is probably because parallel port devices are no longer in common use. If required, you can make sure this module is loaded at boot (via yast).
Am Sat, 24 Dec 2011 01:46:02 +0000 schrieb Aquinox:
> Well with the flags “-ihv --nodeps” the cupswrapper installed and I can
> see the printer in the Printer config of Yast.
>
> But…though I can see the printer in Yast not even a test page can be
> printed (neither with the brother driver, nor with the OpenPPD Foomatic
> driver).
> And CUPS itself, if administrated through the web interface says me that
> there are no local printers and can’t add this one.
>
> In Yast, after a failed attempt at printing the test page I get the info
> that the printer is not connected. Although it is connected to the PC
> and running…
>
> NB: the connection is listed as usb:/dev/usb/lp0
I am not sure if that will help, but since you connect it via parallel
port you may have a look onto this webpage. http://beej.us/hl2040/
On 12/23/2011 03:46 AM, Aquinox wrote:
…]
> But now I’ve finally got a new drum and cartridge for my brother
> HL-1230 and, seeing as OS11.4 is my main system, decided to install it
> on the mentioned OS11.4x64.
>
> The printer is connected at parport, using “Yast>Hardware” I can see it
> is connected as /dev/lp0. And detected as HL-1230 series.
>
> Now comes the problem:
>
> Look as I may in “Yast> Printers” (or equiv. CUPS) I can not
> install/register the printer in CUPS.
> At first I thought there were dirvers missing(b/c looking for HL-1230
> did not yield anything), so I downloaded some more and now there are
> some HL-1230 Foomatic drivers.
> The situation however, did not change.
> I still can’t install the printer - neither can I select it manually
> (it’s not listed as being on parallel connection), nor does “Detect
> More” yield anything.
…]
In the newsgroup “alto.os.linux.suse”, there is a thread about a similar
problem with configuring a parallel-port printer. The gist of the
discussion is:
(1) openSUSE has dropped the parallel port support by default,
(2) The remedy suggested by 'Achim Klausmann" is subscribe to http://download.opensuse.org/repositories/Printing/openSUSE_12.1
and download “parallel-printer-support”.
This is about openSUSE 12.1. So, the situation may be different with
11.4. I can confirm, on my old computer with oS12.1, that I could not
configure my HL-2040 (USB and parallel ports) with YaST or
CUPS(localhost:631). Lately, I’ve been configuring the HL-2040 through
CUPS without the Brother packages, using “Bother 2060
Focomatic/hlijs-pcl5e” with a satisfactory result.
After issuing “modprobe lp” as root I deleted the printer vie CUPS’s webinterface and added it there again.
Now it is mounted as “parallel:/dev/lp0” and works just fine the way I see it.
So I guess it was the problem of parport being unused by default.
Thanks a bunch guys!
And a merry Christmas to all of you who celebrate it!lol!
Am Sat, 24 Dec 2011 23:36:03 +0000 schrieb Aquinox:
> deano_ferrari;2421933 Wrote:
>> So, your printer is a parallel connected device? It may be that you
>> need to load the ‘lp’ module first.
>> >
> Code:
> --------------------
> > > modprobe lp
> --------------------
>> >
>> Then see if your printer is detected by the CUPS web interface.
>> Start over with the configuration if necessary. This was reported as a
>> bug
>>
>> ‘[Bug 673845] New: YaST2 does not detect printers on the LPT port -
>> lp ke’ (http://lists.opensuse.org/opensuse-bugs/2011-02/msg04524.html)
>>
>> although it is probably because parallel port devices are no longer in
>> common use. If required, you can make sure this module is loaded at
>> boot (via yast).
>
> That took care of the problem.
>
> After issuing “modprobe lp” as root I deleted the printer vie CUPS’s
> webinterface and added it there again.
> Now it is mounted as “parallel:/dev/lp0” and works just fine the way I
> see it.
>
> So I guess it was the problem of parport being unused by default.
>
> Thanks a bunch guys!
>
> And a merry Christmas to all of you who celebrate it!lol!
Well done. Just remember this won’t survive a reboot, without making sure that the ‘lp’ module is loaded on boot. I’m not running openSUSE 12.1 yet, so not sure about the intricacies of doing this, but this thread might help if necessary: