Re: printcap problems, please help

2000-03-27 Thread Terry Hancock
Hi,
I had a look at your printcap file and compared it to mine.
I can't find anything wrong, so let me tell you how I
tested my printer:

1) Test hardware + basic devices:

ls -l   /dev/lp0

This sends the directory printout to your printer device
directly (i.e. without any filtering). Unless you have
one of those Windows-only (host-based) printers this
will usually produce some kind of output.  In any case,
if it doesn't you have a more basic problem than your
printcap. Maybe you've done this already, though. Also
makes sure you're using the right device name.

2) Make sure that your magicfilter file exists and
is executable. Of course, if it isn't, you shouldn't
hear anything from the printer.

3) Sometimes if the printer reacts, but doesn't print,
it means it's waiting for a form feed.  On some
printers you can give it one from the printer's front
panel. Otherwise, you can feed one straight to the
device to check. (I don't remember how to do this
offhand, but I know you can).

ALSO, I just noticed that with the Linux 2.2 kernel,
your first parallel port (~LPT1 in dosspeak) is
/dev/lp0. However you mentioned Slink, which is based
on the 2.0 kernel.  With that one, I had the first
printer port as /dev/lp1 in my printcap (I had to
fix this when I upgraded the kernel).

Well, maybe one of these suggestions will help.

Steve Winston wrote:
 
 I need a little help getting a printer working with
 Devian.
 On slink, I mistakenly erased my printcap while setting
 up an Epson Stylus 740. Because I also have Linux
 mandrake on the same computer with the same printer, I installed the mandrake
 printcap and then did /usr/sbin/magicfilterconfig --force
 to convert the printcap to Debian. But when I try to print
 something (e.g., lpr something?), the printer makes a noise
 and then stops. Enclosed is my printcap file. Can anyone tell
 me what I should change?
 Thanks in advance.
 
 
 Get your own FREE, personal Netscape WebMail account today at 
 http://webmail.netscape.com.
 
 
Name: printcap
printcapType: unspecified type (application/octet-stream)
Encoding: base64

-- 
Terry Hancock
[EMAIL PROTECTED]


Re: printcap problems, please help

2000-03-27 Thread Oswald Buddenhagen
 Terry Hancock [EMAIL PROTECTED] writes:
 
 [...]
  ALSO, I just noticed that with the Linux 2.2 kernel,
  your first parallel port (~LPT1 in dosspeak) is
  /dev/lp0. However you mentioned Slink, which is based
  on the 2.0 kernel.  With that one, I had the first
  printer port as /dev/lp1 in my printcap (I had to
  fix this when I upgraded the kernel).
 
 I won't be surprised if this is the error. I had similar sympthoms
 with my printer when I upgrsded my kernel and when I changed dev it
 worked.
 
this is no error. you did not read the doc's.
in 2.0.x lp-devices where allocated statically. lp0 was 3bc (or so), lp1
378, lp2 278, ...
in 2.2 lp-devices are allocated dynamically, so the 1st device you really
have will be called lp0, the second lp1, etc.


-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Linux - the last service pack you'll ever need.