Canon BJC-240 Color Bubble Jet Printer

Canon BJC-240 Color Bubble Jet Printer

Post by xariet » Tue, 21 Jul 1998 04:00:00



I have exhausted my brain trying to fiqure out how to get my Canon
BJC-240 Color Bubble Jet Printer to work on Rethat 5.0. I have read all
the FAQ's related to printers and hardware. The various HOW-TOs, two
large books on Redhat Linux and one on Slackware, even a System V book,
and read all the documentation on RedHat Linux I could find. Read
through newsgroup after group.  I have tried various drivers for the BJ
series and the BJC, but none are for the BJC-240. I have searched for
the driver and there doesn't seem to be out there(that doesn't mean it
doesn't exist though). I have put together a list of things that I have
checked, and various error messages that I recieved. The information is
attached to this mail. Please help me or can someone tell me if I should
give up on this and start learning how to write my own drivers. This is
something I have never done, but want to eventually learn. I am not
concerned with printing in color.

Please help, my hair has begun to fall out,
John

[ lphelp.txt 6K ]
I have a Globalyst 375, p100mhz, RedHat Linux 5.0, kernel 2.0.32 , printer Canon BJC-240 color buble jet printer,
parallel.

A.) These are the errors I obtain when trying to print test pages from printtool in X11.

        1) When I print ASCII/POSTSCRIPT test pages:

        "Error printing test page to queue lp"
        "Error reason: lpr: connect : No such file or dirctory"
        "jobs queued, but cannot start daemon"

        2) When I print ASCII test pages directly to port:

        "Error printing test page to queue /dev/lpo"
        "Error reason: could'nt write file "/dev/lpo": no such"
        "device or address."

        3)      "Devices not found:

                /dev/lp0
                /dev/lp1
                /dev/lp2

        4) Shell errors:

                #cat printcap | lpr
                lpr: connect: No such file or directory
                jobs queued, but cannot start daemon.

                #cat /etc/printcap > /dev/lp

                "I get no error, and the printer does not respond in any fashion."
                lp: Driver configured  but no interfaces found.
                "I get this error every five minutes or so from the shell. This            only happens when I have an lp device set in X11."

                #lpr -#2 -sP lp test.txt
                lpr: cannot access lp0
                lpr: connect: No such file or directory
                jobs queued, but cannot start daemon.

B.) These are some of the directories and their permissions:

-rw-r--r--   1 root     root           68 Jul 17 06:30 /dev/lp
crw-rw----   1 root     daemon     6,   0 Dec 31  1979 /dev/lp0
crw-rw----   1 root     daemon     6,   1 Dec 31  1979 /dev/lp1
crw-rw----   1 root     daemon     6,   2 Dec 31  1979 /dev/lp2

/var/spool/lpd/lp:
total 41
-rw-rw----   1 bin      lp            147 Jul 18 02:17 cfA007Aa01507
-rw-rw----   1 bin      lp            147 Jul 18 02:21 cfA008Aa01525
-rw-rw----   1 bin      lp            147 Jul 18 02:23 cfA009Aa01557
-rw-rw----   1 bin      lp            147 Jul 19 00:01 cfA010Aa02129
-rw-rw----   1 bin      lp            147 Jul 19 18:47 cfA011Aa00202
-rw-rw----   1 bin      lp            145 Jul 19 18:51 cfA012Aa00226
-rw-rw----   1 root     lp            625 Jul 18 02:17 dfA007Aa01507
-rw-rw----   1 root     lp            625 Jul 18 02:21 dfA008Aa01525
-rw-rw----   1 root     lp            625 Jul 18 02:23 dfA009Aa01557
-rw-rw----   1 root     lp            625 Jul 19 00:01 dfA010Aa02129
-rw-rw----   1 root     lp            625 Jul 19 18:47 dfA011Aa00202
-rw-rw----   1 root     lp          16363 Jul 19 18:51 dfA012Aa00226
-rwxr-xr-x   1 root     root         9334 Jul 19 18:49 filter
-rwxr-xr-x   1 root     root          190 Jul 19 18:49 general.cfg
-rwxr-xr-x   1 root     root          359 Jul 19 18:49 postscript.cfg
-rwxr-xr-x   1 root     root          146 Jul 19 18:49 textonly.cfg

total 2
drwxr-xr-x   2 root     lp           1024 Jul 19 19:23 lp
drwxr-xr-x   2 root     lp           1024 Jul 18 01:35 lp0

-rw-r--r--   1 root     root           46 Jul 18 01:44 /var/spool/lp0
-rw-r--r--   1 root     root           62 Jul 18 02:23 /var/spool/lp1

drwxrwxr-x   4 root     daemon       1024 Jul 18 01:36 /var/spool/lpd

/var/spool/lpd:
total 2
drwxr-xr-x   2 root     lp           1024 Jul 19 18:51 lp
drwxr-xr-x   2 root     lp           1024 Jul 18 01:35 lp0

-r-sr-sr-x   1 root     lp          15244 Oct 30  1997 /usr/bin/lpr

-rw-r--r--   2 root     root          332 Dec  9  1997 /usr/lib/terminfo/l/lpr

-rw-r--r--   1 root     root          441 Jul 19 19:23 /etc/printcap

-r-xr-sr-x   1 root     lp          22404 Oct 30  1997 /usr/sbin/lpc
-rwxr--r--   1 root     root        41580 Oct 30  1997 /usr/sbin/lpd
-rwxr-xr-x   1 root     root         4972 Oct 30  1997 /usr/sbin/lpf

-r-sr-sr-x   1 root     lp          13972 Oct 30  1997 /usr/bin/lpq
-r-sr-sr-x   1 root     lp          15244 Oct 30  1997 /usr/bin/lpr
-r-sr-sr-x   1 root     lp          14748 Oct 30  1997 /usr/bin/lprm
-rwxr-xr-x   1 root     root         3520 Oct 30  1997 /usr/bin/lptest
-rw-r--r--   1 root     root         2507 Oct 30  1997 /usr/bin/lpunlock

#ls -l /dev/printer
ls: /dev/printer: No such file or directory

#ls -l /usr/lib/terminfo/p/printer
-rw-r--r--   2 root     root          332 Dec  9  1997 /usr/lib/terminfo/p/printer

#ls -l /etc/printers
ls: /etc/printers: No such file or directory

#ls -l /var/spool/output
ls: /var/spool/output: No such file or directory

C.) Seeing if lp device driver loaded:

# cat /proc/devices

Character devices:
 1 mem
 2 pty
 3 ttyp
 4 ttyp
 5 cua
 7 vcs
10 misc
14 sound

Block devices:
 1 ramdisk
 2 fd
 3 ide0
 9 md
22 ide1

D.) Trying to use tunelp command:

# tunelp /dev/lp0

/bin/bash: tunelp: command not found

E.) Some file contents:

#cat /etc/printcap

# /etc/printcap
#
# Please don't edit this file directly unless you know what you are doing!
# Be warned that the control-panel printtool requires a very strict format!
# Look at the printcap(5) man page for more info.
#
# This file can be edited with the printtool in the control-panel.

##PRINTTOOL3## LOCAL bjc600 360x360 letter {} BJC600 1 {}
lp:\
        :sd=/var/spool/lpd/lp:\
        :mx#0:\
        :sh:\
        :lp=/dev/lp0:\
        :if=/var/spool/lpd/lp/filter:

PLEASE NOTE: I had LOCAL set to a BJ240 prior. I noticed when choosing printer types, the only one that came close was a BJ200/240 print driver. I have a BJC240. I don't even use color cartridges, so printing in Black is fine.

F.) lpq test:

#lpq

Warning: no daemon present
Rank   Owner      Job  Files                                 Total Size
1st    root       7     ...                                  625 bytes
2nd    root       8     ...                                  625 bytes
3rd    root       9     ...                                  625 bytes
4th    root       10    ...                                  625 bytes
5th    root       11    ...                                  625 bytes
6th    root       12    ...                                  16363 bytes
7th    root       13    ...                                  625 bytes
8th    root       15   (standard input)                      441 bytes
9th    root       17   (standard input)                      441 bytes
10th   root       18   (standard input)                      147 bytes
11th   root       19   test.txt                              32 bytes
12th   root       20   test.txt                              32 bytes

G.) lpc status

#lpc status

lp:
        queuing is enabled
        printing is enabled
        12 entries in spool area
        no daemon present

#lpc abort all

lp:
        printing disabled
        no daemon to abort

#lpc start all

lp:
        printing enabled
lpc: connect: No such file or directory
        couldn't start daemon