WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Unable to Print  (Read 12081 times)

Offline ordep

  • Jr. Member
  • **
  • Posts: 74
Re: Unable to Print
« Reply #15 on: July 06, 2012, 09:40:35 PM »
The drivers are from the Brother website.

dcp385clpr-1.1.2-2.i386.rpm
dcp385ccupswrapper-1.1.2-2.i386.rpm

They work well in other distros.

ghostscript and ghostscript_common have been loaded from the beginning when I started cups.

I have the feeling the printer is just not really detected. Like when I try to print a large file of several
pages which takes some minutes to process then "lpq" should should show that printer is active, a job number
and the size of the file to be printed. There is nothing of that sort. Command lpq immediately tells

Brother is ready
no entries

That is the print command had not been passed to the printer, if you ask me.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14788
Re: Unable to Print
« Reply #16 on: July 07, 2012, 10:48:30 AM »
dcp385clpr-1.1.2-2.i386.rpm
dcp385ccupswrapper-1.1.2-2.i386.rpm

Could you list the contents of these rpm - I have the feeling that one or more of the files will have a dep that is not met.

Offline ordep

  • Jr. Member
  • **
  • Posts: 74
Re: Unable to Print
« Reply #17 on: July 07, 2012, 08:52:32 PM »
dcp385clpr-1.1.2-2.i386.rpm

Quote
drwxr-xr-x root/root         0 2012-06-15 11:11 ./
drwxr-xr-x root/root         0 2012-06-15 11:11 usr/
drwxr-xr-x root/root         0 2012-06-15 11:11 usr/bin/
-rwxr-xr-x root/root     21560 2008-10-24 21:33 usr/bin/brprintconf_dcp385c
drwxr-xr-x root/root         0 2012-06-15 11:11 usr/local/
drwxr-xr-x root/root         0 2012-06-15 11:11 usr/local/Brother/
drwxr-xr-x root/root         0 2012-06-15 11:11 usr/local/Brother/Printer/
drwxr-xr-x root/root         0 2012-06-15 11:11 usr/local/Brother/Printer/dcp385c/
drwxr-xr-x root/root         0 2012-06-15 11:11 usr/local/Brother/Printer/dcp385c/inf/
-rw-r--r-- root/root       171 2008-10-24 21:33 usr/local/Brother/Printer/dcp385c/inf/brPrintListij2
-rw-r--r-- root/root      1253 2008-10-24 21:33 usr/local/Brother/Printer/dcp385c/inf/brdcp385cfunc
-rw-r--r-- root/root       363 2008-10-24 21:33 usr/local/Brother/Printer/dcp385c/inf/brdcp385crc
-rw-r--r-- root/root    245736 2008-10-24 21:33 usr/local/Brother/Printer/dcp385c/inf/brio08ba.bcm
-rw-r--r-- root/root    491176 2008-10-24 21:33 usr/local/Brother/Printer/dcp385c/inf/brio08bb.bcm
-rw-r--r-- root/root    491176 2008-10-24 21:33 usr/local/Brother/Printer/dcp385c/inf/brio08bc.bcm
-rw-r--r-- root/root    491176 2008-10-24 21:33 usr/local/Brother/Printer/dcp385c/inf/brio08be.bcm
-rw-r--r-- root/root    245736 2008-10-24 21:33 usr/local/Brother/Printer/dcp385c/inf/brio08bf.bcm
-rw-r--r-- root/root    491176 2008-10-24 21:33 usr/local/Brother/Printer/dcp385c/inf/brio08bg.bcm
-rw-r--r-- root/root    123016 2008-10-24 21:33 usr/local/Brother/Printer/dcp385c/inf/brio08bk.bcm
-rw-r--r-- root/root       536 2008-10-24 21:33 usr/local/Brother/Printer/dcp385c/inf/paperinfij2
-rwxr-xr-x root/root      1777 2008-10-24 21:33 usr/local/Brother/Printer/dcp385c/inf/setupPrintcapij
drwxr-xr-x root/root         0 2012-06-15 11:11 usr/local/Brother/Printer/dcp385c/lpd/
-rwxr-xr-x root/root    663956 2008-10-24 21:33 usr/local/Brother/Printer/dcp385c/lpd/brdcp385cfilter
-rwxr-xr-x root/root      1978 2008-10-24 21:33 usr/local/Brother/Printer/dcp385c/lpd/filterdcp385c
-rwxr-xr-x root/root      2457 2008-10-24 21:33 usr/local/Brother/Printer/dcp385c/lpd/psconvertij2

dcp385ccupswrapper-1.1.2-2.i386.rpm

Quote
drwxr-xr-x root/root         0 2012-06-15 11:11 ./
drwxr-xr-x root/root         0 2012-06-15 11:11 usr/
drwxr-xr-x root/root         0 2012-06-15 11:11 usr/local/
drwxr-xr-x root/root         0 2012-06-15 11:11 usr/local/Brother/
drwxr-xr-x root/root         0 2012-06-15 11:11 usr/local/Brother/Printer/
drwxr-xr-x root/root         0 2012-06-15 11:11 usr/local/Brother/Printer/dcp385c/
drwxr-xr-x root/root         0 2012-06-15 11:11 usr/local/Brother/Printer/dcp385c/cupswrapper/
-rwxr-xr-x root/root     11736 2008-10-24 21:31 usr/local/Brother/Printer/dcp385c/cupswrapper/brcupsconfpt1
-rwxr-xr-x root/root     31159 2008-10-24 21:31 usr/local/Brother/Printer/dcp385c/cupswrapper/cupswrapperdcp385c

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14788
Re: Unable to Print
« Reply #18 on: July 07, 2012, 11:21:37 PM »
-rwxr-xr-x root/root     21560 2008-10-24 21:33 usr/bin/brprintconf_dcp385c
What does "ldd /usr/bin/brprintconf_dcp385c" give?

Quote
-rwxr-xr-x root/root     11736 2008-10-24 21:31 usr/local/Brother/Printer/dcp385c/cupswrapper/brcupsconfpt1
-rwxr-xr-x root/root     31159 2008-10-24 21:31 usr/local/Brother/Printer/dcp385c/cupswrapper/cupswrapperdcp385c
If you look at these two scripts with a text editor, what does the first line say?

Offline ordep

  • Jr. Member
  • **
  • Posts: 74
Re: Unable to Print
« Reply #19 on: July 08, 2012, 12:50:45 AM »
ldd /usr/bin/brprintconf_dcp385c
Quote
        linux-gate.so.1 =>  (0xb7735000)
        libc.so.6 => /lib/libc.so.6 (0xb761f000)
        /lib/ld-linux.so.2 (0xb7736000)

first line of cupswrapperdcp385c
Quote
printer_model="dcp385c"

brcupsconfpt1 is encoded starting with ".ELF"

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14788
Re: Unable to Print
« Reply #20 on: July 08, 2012, 08:47:40 AM »
brcupsconfpt1 is encoded starting with ".ELF"

OK, what does "ldd /usr/local/Brother/Printer/dcp385c/cupswrapper/brcupsconfpt1" give?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14788
Re: Unable to Print
« Reply #21 on: July 08, 2012, 07:18:35 PM »
Looking at /usr/local/Brother/Printer/dcp385c/cupswrapper/cupswrapperdcp385c from dcp385clpr-1.1.2-2.i386.rpm, I see that it expects cups to be in /usr, but tinycore extensions are in /usr/local - this alone will cause things not to work.

I also checked the deb versions on the brother web site and they have the same problem.

Offline ordep

  • Jr. Member
  • **
  • Posts: 74
Re: Unable to Print
« Reply #22 on: July 08, 2012, 07:28:15 PM »
Looking at /usr/local/Brother/Printer/dcp385c/cupswrapper/cupswrapperdcp385c from dcp385clpr-1.1.2-2.i386.rpm, I see that it expects cups to be in /usr, but tinycore extensions are in /usr/local - this alone will cause things not to work.

I also checked the deb versions on the brother web site and they have the same problem.

So, is there a way around it for my Brother printer

and if not

how then can I get my Epson LQ300 make to work or better being detected by cups?




Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14788
Re: Unable to Print
« Reply #23 on: July 08, 2012, 07:37:18 PM »
So, is there a way around it for my Brother printer
You would need to edit the various scripts by hand to point to the correct locations for the cups extension - i.e. /usr/local - and hope none of the executables have these addresses hard coded.

Quote
how then can I get my Epson LQ300 make to work or better being detected by cups?
The Epson would first need to be recognised by tinycore when it is connected to the usb port - if I understand correctly, neither dmesg nor /usr/local/lib/cups/backend/usb show it as being connected? If this is the case, then there's no hope of getting it to work until it is recognised.

If it is recognised, there seem to be several ppd files out there that should work "out of the box" with cups

Offline ordep

  • Jr. Member
  • **
  • Posts: 74
Re: Unable to Print
« Reply #24 on: July 08, 2012, 09:44:45 PM »
Thanks for your efforts and patience!

I will see what I can do. I really like TCL and woud regret not really to use it since I can't print.

May be future versions will have a solution. ;)

Regards

Offline ordep

  • Jr. Member
  • **
  • Posts: 74
Re: Unable to Print
« Reply #25 on: July 08, 2012, 11:30:23 PM »
Happy to announce that I got my Epson-LQ300 printer printing.  ;D ;D ;D

That's in TCL-4.5.5

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11040
Re: Unable to Print
« Reply #26 on: July 09, 2012, 05:54:50 AM »
Please post what you did, for the records and future searchers.
The only barriers that can stop you are the ones you create yourself.

Offline ordep

  • Jr. Member
  • **
  • Posts: 74
Re: Unable to Print
« Reply #27 on: July 09, 2012, 10:08:14 PM »
Please post what you did, for the records and future searchers.

From my working Linux box I copied again /etc/cups/printers.conf to /usr/local/etc/cups. Before that I upgraded to
TCL-4.5.5 and to Firefox-13.0.1. Opening cups Add Printer, there, suddenly was "usb://Unknown/" which is my Epson printer DeviceUri.

From my experiences in other distros it does happen that this usb://Unknown/ will not show and then suddenly it does, however,
copying printers.conf with this DeviceUri usually works. Not so earlier in TCL.

EDIT: I almost will belive that the working of my Epson printer now has something to do with the TCL version.
I installed now on my flashdrive TCL-4.5.6 and there now as well the Epson printer is detected, whereas it was not with 4.5.4.
« Last Edit: July 10, 2012, 09:08:23 PM by ordep »