Re: Canon BJC-1000 problem - Finally Fixed! (inspired by Mike Soulier)

2000-10-10 Thread Willy Lee
loki == loki  [EMAIL PROTECTED] writes:

 I agree, and I've been having the same problems.  Well technically a
 friend rather than me, but it's an odd problem.  I eventually
 wondered if it was a BIOS problem, and found that the BIOS had the
 parallel port set to an odd mode.. SPP or EPP is okay, but I think
bi-directional modes cause problems.  Setting it to a simpler value
 seemed to partially solve the problem (or maybe just change the
 error message ;)
 I think the first thing to check is whether or not your kernel is
 actually recognising the parallel port: check for an /proc/parport,
 and more specifically what it says in /proc/parport/0/hardware.

Hi, you'd probably forgotten all about this thread, but no! :)

Well, I finally got around to looking at this again, and found that my
BIOS also had some weird parallel port modes (ECP  EPP); I changed it
to 'normal'.  Don't know if that was causing problems, but it probably
wasn't helping.  And it works fine as 'normal' under Win95.

After booting Debian, in dmesg I get:

geldar:~# dmesg | grep parport
parport0: PC-style at 0x378 [SPP,PS2]
parport_probe: succeeded
parport0: Printer, Canon BJC-1000
lp0: using parport0 (polling).

However, there is no /proc/parport directory!  After some confusion,
and random 'modprobe'-ing, and many restarts of lpd, I figure it out.

Printing does not work until a) I issue a 'modprobe lp', after which
the /proc/parport/0/ directory appears and looks fine; b) I tell
parport to use IRQ 7 for the printer, via 'echo 7 
/proc/parport/0/irq'.  However, once I do that, it seems to print ok;
the output of 'lptest' is currently using up all my ink; magicfilter
seems to PostScript-ize it to 2 side-by-side pages per physical page,
but that is all for the best.

So to make this occur at every boot, I put 

'options parport_pc io=0x378 irq=7'

into '/etc/modutils/arch/i386',

and the line

'lp'

in '/etc/modules'.

Is this correct?  Woohoo!  I finally got printing working under linux!
Something that I never managed while using RedHat, I must say.
'update-modules' rocks!  And so does the debian-users list, you guys
are great!

=wl

-- 
Albert ``Willy'' Lee, Emacs user, game programmer
They call me CRAZY - just because I DARE to DREAM of a RACE of 
SUPERHUMAN MONSTERS!



Re: Canon BJC-1000 problem

2000-10-03 Thread loki
On Sun, Oct 01, 2000 at 01:16:51AM -0700, Willy Lee wrote:

 There was already a line there appearing to do the same thing, but
 using enscript instead of a2ps.  
 
 Now the problem is worse: after fiddling with it a bit and restarting
 lpd several times, I get this error:
 
 geldar:~# a2ps dbootstrap_settings
 [dbootstrap_settings (plain): 1 page on 1 sheet]
 lpr: connect: Connection refused
 jobs queued, but cannot start daemon.
 [Total: 1 page on 1 sheet] sent to the default printer
 geldar:~# lpq
 waiting for lp to become ready (offline ?)
 Rank   Owner  Job  Files Total Size
 1stroot   11   (standard input)  14164 bytes
 
 I wonder if apsfilter, lprng, or CUPS would be better choices...
 anyone have any experience with them?  The guy who wrote the
 Printing HOWTO seems to think they are better...

Firstly, does printing of other formats (eg. Postscript) work?  If
so, I guess it's just that particular magicfilter line.  If you
can't print anything, check your /proc/parport/0/hardware to make
sure you have one.

A friend of mine had this problem and I only solved it for her
today.  Basically we purged lprng and then reinstalled it, then
reran magicfilterconfig afterwards.  If you can't find other reasons
why it doesn't work, this is worth a try.



-- 
loki
[EMAIL PROTECTED]

Dare I disturb the universe?  You bet I do! :)



Re: Canon BJC-1000 problem

2000-10-03 Thread Willy Lee
loki == loki  [EMAIL PROTECTED] writes:

 Firstly, does printing of other formats (eg. Postscript) work?  If
 so, I guess it's just that particular magicfilter line.  If you
 can't print anything, check your /proc/parport/0/hardware to make
 sure you have one.

Hm, I don't have anything in /proc/parport... in fact I don't have a
/proc/parport directory at all.  This would seem to be bad

 A friend of mine had this problem and I only solved it for her
 today.  Basically we purged lprng and then reinstalled it, then
 reran magicfilterconfig afterwards.  If you can't find other reasons
 why it doesn't work, this is worth a try.

You mentioned in an earlier message something about BIOS settings?  Do
you think that has something to do with it?

I think I shall have to sit down and read up on parallel port stuff.
I didn't even know until a couple days ago about the parport stuff,
I'd only heard of /dev/lp0 etc

Thanks loki, and John, for your help!

=wl

-- 
Albert ``Willy'' Lee, Emacs user, game programmer
They call me CRAZY - just because I DARE to DREAM of a RACE of 
SUPERHUMAN MONSTERS!



Re: Canon BJC-1000 problem

2000-10-02 Thread loki
On Sun, Oct 01, 2000 at 07:40:17AM -0500, John Hasler wrote:

  lpr: connect: Connection refused jobs queued, but cannot start daemon.
 
 Looks like an unrelated problem.

I agree, and I've been having the same problems.  Well technically a
friend rather than me, but it's an odd problem.  I eventually
wondered if it was a BIOS problem, and found that the BIOS had the
parallel port set to an odd mode.. SPP or EPP is okay, but I think
bi-directional modes cause problems.  Setting it to a simpler value
seemed to partially solve the problem (or maybe just change the
error message ;)

I think the first thing to check is whether or not your kernel is
actually recognising the parallel port: check for an /proc/parport,
and more specifically what it says in /proc/parport/0/hardware.

  I wonder if apsfilter, lprng, or CUPS would be better
 
 Lprng is not a replacement for magicfiler.  It replaces lpr.  I'm
 using it.

Ditto.

 Could someone who knows about printers help Willy?  It isn't my area.  I
 just spoke up because I have a BJC-1000.

I'd love help with this problem too.. though my friend has a
BJC-2000SP, but that's also supposed to be compatible with the
bjc600 for filter purposes.



-- 
loki
[EMAIL PROTECTED]

Dare I disturb the universe?  You bet I do! :)



Re: Canon BJC-1000 problem

2000-10-02 Thread Adam Scriven
On Sun, Oct 01, 2000 at 07:40:17AM -0500, John Hasler wrote:
 Could someone who knows about printers help Willy?  It isn't my area.  I
 just spoke up because I have a BJC-1000.

I don't know printers, but I have a BJC-1000, and have had no problems with it
at all.

I installed the magic-filter from Potato, ran /usr/sbin/magicfilterconfig, and
this was my printcap entry for the BJC-1000:

lp|bjc1000|Canon BJC-1000:\
:lp=/dev/lp0:sd=/var/spool/lpd/bjc1000:\
:sh:pw#80:pl#66:px#1440:mx#0:\
:if=/etc/magicfilter/bj600-filter:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:

Here's what dpkg -l returns from a search for magicfilter:
ii  magicfilter1.2-39 automatic printer filter.

Hope this helps!
Adam



Re: Canon BJC-1000 problem

2000-10-01 Thread Willy Lee
John == John Hasler [EMAIL PROTECTED] writes:

 Willy Lee writes:
 I installed magicfilter, set up the BJC-600 driver, scratched my
 head for awhile, then installed a2ps and enscript, but now when I
 send off my newly PostScriptized files to be printed, I get
 ... silence.

 I had to edit /etc/magicfilter/bj600-filter and add this as the last
 line:

 default fpipe /usr/bin/a2ps --silent --user-option=lp -o -

 John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill
 Elmwood, WI

There was already a line there appearing to do the same thing, but
using enscript instead of a2ps.  

Now the problem is worse: after fiddling with it a bit and restarting
lpd several times, I get this error:

geldar:~# a2ps dbootstrap_settings
[dbootstrap_settings (plain): 1 page on 1 sheet]
lpr: connect: Connection refused
jobs queued, but cannot start daemon.
[Total: 1 page on 1 sheet] sent to the default printer
geldar:~# lpq
waiting for lp to become ready (offline ?)
Rank   Owner  Job  Files Total Size
1stroot   11   (standard input)  14164 bytes

I wonder if apsfilter, lprng, or CUPS would be better
choices... anyone have any experience with them?  The guy who wrote
the Printing HOWTO seems to think they are better...

=wl

-- 
Albert ``Willy'' Lee, Emacs user, game programmer
They call me CRAZY - just because I DARE to DREAM of a RACE of 
SUPERHUMAN MONSTERS!



Re: Canon BJC-1000 problem

2000-10-01 Thread John Hasler
Willy Lee writes:
 There was already a line there appearing to do the same thing, but using
 enscript instead of a2ps.

Then you are using a newer version of magicfilter then I am.

 lpr: connect: Connection refused jobs queued, but cannot start daemon.

Looks like an unrelated problem.

 I wonder if apsfilter, lprng, or CUPS would be better

Lprng is not a replacement for magicfiler.  It replaces lpr.  I'm using it.


Could someone who knows about printers help Willy?  It isn't my area.  I
just spoke up because I have a BJC-1000.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin



Canon BJC-1000 problem

2000-09-30 Thread Willy Lee
Hello,

I found archived posts to this list discussing this printer, which I
happen to have been cursed with.  Apparently this printer is supposed
to work with the BJC-600 driver, but not for ascii.  So I installed
magicfilter, set up the BJC-600 driver, scratched my head for awhile,
then installed a2ps and enscript, but now when I send off my newly
PostScriptized files to be printed, I get ... silence.  'lpq' gives
me:

geldar$ lpq
waiting for lp to become ready (offline ?)
Rank   Owner  Job  Files Total Size
1stwilly  2(standard input)  19661 bytes
2ndwilly  3(standard input)  15382 bytes

It just stays like that until I 'lprm' them.

Has anyone else had this problem or know of a way to get around it?
It sucks to have to boot into Win95 in order to print 8^( 

=wl

-- 
Albert ``Willy'' Lee, Emacs user, game programmer
They call me CRAZY - just because I DARE to DREAM of a RACE of 
SUPERHUMAN MONSTERS!



Re: Canon BJC-1000 problem

2000-09-30 Thread John Hasler
Willy Lee writes:
 I installed magicfilter, set up the BJC-600 driver, scratched my head for
 awhile, then installed a2ps and enscript, but now when I send off my
 newly PostScriptized files to be printed, I get ... silence.

I had to edit /etc/magicfilter/bj600-filter and add this as the last line:

default fpipe /usr/bin/a2ps --silent --user-option=lp -o -
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI