[PARPORT] BJC5000,BJC5100,linux and parallel port questions


Christophe Raffalli (Christophe.Raffalli@univ-savoie.fr)
Mon, 08 Nov 1999 09:36:01 +0000


Hello,

I got a Canon BJC5100 and I am trying to have it working under linux.

There is one guy on the net that reported it to work with the bjc600
driver (I mailed him and I am waiting for an answer).

Other people pretend it is a windows only printer. This seems wrong for
two reasons:
  - no copyright Microsoft nor designed for windows sign
  - the driver is able to print to a file (for instance the LBP460 has a
copyright microsoft driver and
      can not print to a file). Moreover, this file can be sent to the
printer using a copy /B Sortie.prn lpt1
      under Windows 98.

Then I tried to print to a file (Sortie.prn) under windows and then send
this file to the printer under linux by a simple:
   cat Sortie.prn > /dev/lp0

It failed. I tried quite a few thing: lp and parport as module or in the
kernel with and without ieee1282 and with and without TRUST_IRQ with no
result.

The best I got in /proc/parport/0 is

hardware:

base: 0x378
irq: 7
dma: 3
modes: SPP,ECP,ECPEPP,ECPPS2

autoprobe

CLASS:PRINTER;
MODEL:BJC-5100;
MANUFACTURER:Canon;
DESCRIPTION:Canon BJC-5100;
COMMAND SET:BDIC,BSCC;

Questions:

- What means the COMMAND section in autoprobe (are these the languages
supported by the printer) ?

- How can I choose the mode I am using among SPP,ECP,ECPEPP,ECPPS2 ?
Under windows
the printer only work in ECPEPP mode !

- I tried to read from /dev/lp0 while I was printing to it as suggested
in some mail in the linux-parport mailing list. But this is impossible
(while I am reading from it, /dev/lp0 is reported busy if I try to write
to it. How can I fix this ?

The next thing I will try (when my monitor will be fixed ! it burned out
yesteday), is to produce a bjc600
file under linux and send it to the printer under Windows.

I join at the end of this mail the file Sortie.prn (uuencoded). It is
just a blank page with the word test on it.

Christophe Raffalli
Université de Savoie

begin 775 Sortie.prn
M-`````(``````````0````$``````````````&@!``!H`0`````````````!
M`````@```%P````#`````````#``````````:`$```(````!`````@````(`
M```!``````````$````!``````````(````-$```0`L``'$0``"@"P``````
M`&@!``!H`0``$`````0````*`0``<````!@````%````!@``````````````
M`````!@````%````!@```````````````````!@````%````!@``````````
M`````````!@````%````!@```````````````````!@````%````!@``````
M`````````````!@````%````!@```````````````````!@````%````!@``
M`````````````````!@````%````!@```````````````````!@````%````
M!@```````````````````!@````%````!@```````````````````!@````%
M````!@```````````````````!@````%````!@```````````````````!@`
M```%````!@```````````````````!@````%````!@``````````````````
M`!@````%````!@```````````````````!@````%````!@``````````````
M`````!@````%````!@```````````````````!@````%````!@``````````
M`````````!@````%````!@```````````````````!@````%````!@``````
M`````````````!@````%````!@```````````````````!@````%````!@``
M`````````````````!@````%````!@```````````````````!@````%````
M!@```````````````````!@````%````!@```````````````````!@````%
M````!@```````````````````!@````%````!@```````````````````!@`
M```%````!@```````````````````!@````%````!@``````````````````
M`!@````%````!@```````````````````!@````%````!@``````````````
M`````!@````%````!@```````````````````!@````%````!@``````````
M`````````!@````%````!@```````````````````!@````%````!@``````
M`````````````!@````%````!@```````````````````!@````%````!@``
M`````````````````!@````%````!@```````````````````!@````%````
M!@```````````````````!@````%````!@```````````````````!@````%
M````!@```````````````````!@````%````!@```````````````````!@`
M```%````!@```````````````````!@````%````!@``````````````````
M`!@````%````!@```````````````````!@````%````!@``````````````
M`````!@````%````!@```````````````````!@````%````!@``````````
M`````````!@````%````!@```````````````````!@````%````!@``````
M`````````````!@````%````!@```````````````````!@````%````!@``
M`````````````````!@````%````!@```````````````````!@````%````
M!@```````````````````!@````%````!@```````````````````!@````%
M````!@```````````````````!@````%````!@```````````````````!@`
M```%````!@```````````````````!@````%````!@``````````````````
M`!@````%````!@```````````````````!@````%````!@``````````````
M`````!@````%````!@```````````````````!@````%````!@``````````
M`````````!@````%````!@```````````````````!@````%````!@``````
M`````````````!@````%````!@```````````````````!@````%````!@``
M`````````````````!@````%````!@```````````````````!@````%````
M!@```````````````````!@````%````!@```````````````````!@````%
M````!@```````````````````!@````%````!@```````````````````!@`
M```%````!@```````````````````!@````%````!@``````````````````
M`!@````%````!@```````````````````!@````%````!@``````````````
M`````!@````%````!@```````````````````!@````%````!@``````````
M`````````!@````%````!@```````````````````!@````%````!@``````
M`````````````!@````%````!@```````````````````!@````%````!@``
M`````````````````!@````%````!@```````````````````!@````%````
M!@```````````````````!@````%````!@```````````````````!@````%
M````!@```````````````````!@````%````!@```````````````````!@`
M```%````!@```````````````````!@````%````!@``````````````````
M`!@````%````!@```````````````````!@````%````!@``````````````
M`````!@````%````!@```````````````````!@````%````!@``````````
M`````````!@````%````!@```````````````````!@````%````!@``````
M`````````````!@````%````!@```````````````````!@````%````!@``
M`````````````````!@````%````!@```````````````````!@````%````
M!@```````````````````!@````%````!@```````````````````!@````%
M````!@```````````````````!@````%````!@```````````````````!@`
M```%````!@```````````````````!@````%````!@``````````````````
M`!@````%````!@```````````````````!@````%````!@``````````````
M`````!@````%````!@```````````````````!@````%````!@``````````
M`````````!@````%````!@```````````````````!@````%````!@``````
M`````````````!@````%````!@```)@!```\````$0````$@````````(/__
M_P````8`&`````4````&````F`$``#P````1`````6````````!@____````
M!@`0````!````'H!``!P````&`````4````&````F`$``#P````1`````6``
M``````!@____````!@`8````!0````8```"8`0``/````!$````!'_______
M_Q````#___\&`!@````%````!@```)@!```\````$0````$?________$```
M`/___P8`&`````4````&````D`$``$0````2`````0'@```````!X/___P``
M``8`&`````4````&````D`$``$0````2`````0/@`!^``?$#X/___P````8`
M&`````4````&````D`$``$@````2`````0__`'_@!_\/_____P````8`&```
M``4````&````D`$``$@````2`````1__`.'P#@\?_____P````8`&`````4`
M```&````D`$``$0````2`````0'@`<!X#`<!X/___P````8`&`````4````&
M````D`$``$0````2`````0'@`X!\'`,!X/___P````8`&`````4````&````
MD`$``$0````2`````0'@!X`\'`,!X/___P````8`&`````4````&````D`$`
M`$0````2`````0'@!P`^'@$!X/___P````8`&`````4````&````D`$``$0`
M```2`````0'@!P`^'@$!X/___P````8`&`````4````&````D`$``$0````2
M`````0'@#__^'X`!X/___P````8`&`````4````&````D`$``$0````2````
M`0'@#__^#^`!X/___P````8`&`````4````&````D`$``$0````2`````0'@
M#P``#_@!X/___P````8`&`````4````&````D`$``$0````2`````0'@#P``
M!_P!X/___P````8`&`````4````&````D`$``$0````2`````0'@#P```?\!
MX/___P````8`&`````4````&````D`$``$0````2`````0'@#P```'^!X/__
M_P````8`&`````4````&````D`$``$0````2`````0'@#X```!^!X/___P``

M&`````4````&````D`$``$0````2`````0'@!\`&$`?!X/___P````8`&```
M``4````&````D`$``$0````2`````0'@!\`&$`/!X/___P````8`&`````4`
M```&````D`$``$0````2`````0'@!_`,&`/!X/___P````8`&`````4````&
M````D`$``$P````3`````0'@@_@<'`.!X(#___\````&`!@````%````!@``
M`)`!``!(````$@````$!\0'_^!P#@?'___\````&`!@````%````!@```)`!
M``!(````$@````$!_P#_\!\'`?____\````&`!@````%````!@```)@!``!`
M````$0````$!_X`?X`'_`0```/___P8`&`````4````&````F`$``$`````1
M`````7@`'X`1^`!X____````!@`8````!0````8````````````````````8
M````!0````8````````````````````8````!0````8`````````````````
M```8````!0````8````````````````````8````!0````8`````````````
M```````8````!0````8````````````````````8````!0````8`````````
M```````````8````!0````8````````````````````8````!0````8`````
M```````````````8````!0````8````````````````````8````!0````8`
M```````````````````8````!0````8````````````````````8````!0``
M``8````````````````````8````!0````8````````````````````8````
M!0````8````````````````````8````!0````8````````````````````8
M````!0````8````````````````````8````!0````8`````````````````
M```8````!0````8````````````````````8````!0````8`````````````
M```````8````!0````8````````````````````8````!0````8`````````
M```````````8````!0````8````````````````````8````!0````8`````
M```````````````8````!0````8````````````````````8````!0````8`
M```````````````````8````!0````8````````````````````8````!0``
M``8````````````````````8````!0````8````````````````````8````
M!0````8````````````````````8````!0````8````````````````````8
M````!0````8````````````````````8````!0````8`````````````````
M```8````!0````8````````````````````8````!0````8`````````````
M```````8````!0````8````````````````````8````!0````8`````````
M```````````8````!0````8````````````````````8````!0````8`````
M```````````````8````!0````8````````````````````8````!0````8`
M```````````````````8````!0````8````````````````````8````!0``
M``8````````````````````8````!0````8````````````````````8````
M!0````8````````````````````8````!0````8````````````````````8
M````!0````8````````````````````8````!0````8`````````````````
M```8````!0````8````````````````````8````!0````8`````````````
M```````8````!0````8````````````````````8````!0````8`````````
M```````````8````!0````8````````````````````8````!0````8`````
M```````````````8````!0````8````````````````````8````!0````8`
M```````````````````8````!0````8````````````````````8````!0``
M``8````````````````````8````!0````8````````````````````8````
M!0````8````````````````````8````!0````8````````````````````8
M````!0````8````````````````````8````!0````8`````````````````
M```8````!0````8````````````````````8````!0````8`````````````
M```````8````!0````8````````````````````8````!0````8`````````
M```````````8````!0````8````````````````````8````!0````8`````
M```````````````8````!0````8````````````````````8````!0````8`
M```````````````````8````!0````8````````````````````8````!0``
M``8````````````````````8````!0````8````````````````````8````
M!0````8````````````````````8````!0````8````````````````````8
M````!0````8````````````````````8````!0````8`````````````````
M```8````!0````8````````````````````8````!0````8`````````````
M```````8````!0````8````````````````````8````!0````8`````````
M```````````8````!0````8````````````````````8````!0````8`````
C```````````````,`````P````$````,`````@````$`````
`
end

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Mon 08 Nov 1999 - 06:53:37 EST