Re: epson stylus 600 setup problem

2001-09-16 Thread Steve Kowalik
On Sat, Sep 15, 2001 at 10:51:06AM -0700, Dale Morris uttered:
 PCI: Using IRQ router default [1022/7006] at 00:00.0
 isapnp: Scanning for PnP cards...
 isapnp: No Plug  Play device found
 Linux NET4.0 for Linux 2.4
 Based upon Swansea University Computer Society NET3.039
 Starting kswapd v1.8
 parport0: PC-style at 0x378 [PCSPP,TRISTATE]
 parport0: cpp_daisy: aa5500ff(18)
 parport0: assign_addrs: aa5500ff(18)
 parport0: Printer, EPSON Stylus COLOR 600
 pty: 256 Unix98 ptys configured
 Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
 SERIAL_PCI ISAPNP enabled
 
 
 What now, should I reconfigure the kernel again? I have the parport
 support built into the kernel, not made as a module. It has always
 worked before this way, but maybe there is a security script that has
 changed something.

Yup. :-/
Do you have Parallel Printer Support enabled in Character Devices?

-- 
Steve
BOFH excuse #372: Forced to support NT servers; sysadmins quit.


pgpZudg9VlNqA.pgp
Description: PGP signature


Re: epson stylus 600 setup problem

2001-09-15 Thread Wasim Ahmed
Hello,

On Fri, Sep 14, 2001 at 03:08:55PM -0700, Dale Morris wrote:
 I'm trying to setup printing in woody using lprng. checkpc -f-V gives
 me the following:ecking 'status.lp' file
   checking 'status' file
   checking '/var/log/lp-errs' file
   checking '/var/log/lp-acct' file
 Warning - lp: cannot open lp device '/dev/lp1' - No such device
 
 Yet when type ls /dev  lp0, lp1, and lp2 are there. I suppose this is a 
 permission problem that is not allowing lp to open /dev/lp1. What is the 
 correct way to install this printer? 

I've also got an Epson Stylus printer, but don't use lprng.  Instead I
use cupsys which is quite easy to install if you know about the admin
program on http://localhost:631
You may also want gimp-print (I can't recall if that includes printer
definitions for the Epson Stylus 600).

The other thing to know is that /dev/lp1 is the second printer port
(which most people don't have) so I would guess that /dev/lp0 is the
one you want to use.  However you need to make sure that either
support is compiled into the kernel, or that you've got the module
loaded (/sbin/lsmod to see).  The message you got about No such
device actually means that - that there is no device on the other
side of the file.

Tell us how you get on.  Remember to write down every step you take,
and all the pitfalls that you come across.

Hope That Helps,

Wasim.

 thanks
 dale
  
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 


pgpdGQ87PrOR2.pgp
Description: PGP signature


Re: epson stylus 600 setup problem

2001-09-15 Thread Dale Morris
I'm still trying to get my printer working, not much luck. When I run
dmesg it shows:

PCI: Using IRQ router default [1022/7006] at 00:00.0
isapnp: Scanning for PnP cards...
isapnp: No Plug  Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd v1.8
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
parport0: cpp_daisy: aa5500ff(18)
parport0: assign_addrs: aa5500ff(18)
parport0: Printer, EPSON Stylus COLOR 600
pty: 256 Unix98 ptys configured

This means the printer is being detected, no? Yet, since this compiled
into the kernel rather than built as a module the lsmod command does me
no good. Is there another command I can use to find if this is working?
I tried installing printtool and it detects nothing on any of the ports
lp0, lp1, etc..



thanks
dale



Re: epson stylus 600 setup problem

2001-09-15 Thread Ron Farrer
Dale Morris ([EMAIL PROTECTED]) wrote:

 I'm still trying to get my printer working, not much luck. When I run
 dmesg it shows:
 
 PCI: Using IRQ router default [1022/7006] at 00:00.0
 isapnp: Scanning for PnP cards...
 isapnp: No Plug  Play device found
 Linux NET4.0 for Linux 2.4
 Based upon Swansea University Computer Society NET3.039
 Initializing RT netlink socket
 Starting kswapd v1.8
 parport0: PC-style at 0x378 [PCSPP,TRISTATE]
 parport0: cpp_daisy: aa5500ff(18)
 parport0: assign_addrs: aa5500ff(18)
 parport0: Printer, EPSON Stylus COLOR 600
 pty: 256 Unix98 ptys configured
 
 This means the printer is being detected, no? Yet, since this compiled
 into the kernel rather than built as a module the lsmod command does me
 no good. Is there another command I can use to find if this is working?
 I tried installing printtool and it detects nothing on any of the ports
 lp0, lp1, etc..

Perhaps try something simple, such as:
echo test  /dev/lp0

If it prints something, then do:
echo -ne \\f  /dev/lp0

Which will eject the page.

Let's see if that works before going any further..

HTH,
Ron
-- 
Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]


pgpj3UcAEgoah.pgp
Description: PGP signature


Re: epson stylus 600 setup problem

2001-09-15 Thread Dale Morris
On Sat, 15 Sep 2001, Ron Farrer wrote:

 Perhaps try something simple, such as:
 echo test  /dev/lp0
results of that command are:
[EMAIL PROTECTED]:~$echo test  /dev/lp0
bash: /dev/lp0: Permission denied




Re: epson stylus 600 setup problem

2001-09-15 Thread Ron Farrer
Dale Morris ([EMAIL PROTECTED]) wrote:

 results of that command are:
 [EMAIL PROTECTED]:~$echo test  /dev/lp0
 bash: /dev/lp0: Permission denied

What does this command show:
ls -l /dev/lp*

Ron


pgpj5ZdQUbhps.pgp
Description: PGP signature


Re: epson stylus 600 setup problem

2001-09-15 Thread Dale Morris
 
  results of that command are:
  [EMAIL PROTECTED]:~$echo test  /dev/lp0
  bash: /dev/lp0: Permission denied
 
 What does this command show:
 ls -l /dev/lp*

Ron, it shows:

[EMAIL PROTECTED]:~$ls -l /dev/lp*
crwxr-x---1 root lp 6,   0 Jul  5  2000 /dev/lp0
crw-rw1 root lp 6,   1 Jul  5  2000 /dev/lp1
crw-rw1 root lp 6,   2 Jul  5  2000 /dev/lp2

dale



Re: epson stylus 600 setup problem

2001-09-15 Thread Ron Farrer
Dale Morris ([EMAIL PROTECTED]) wrote:

 Ron, it shows:
 
 [EMAIL PROTECTED]:~$ls -l /dev/lp*
 crwxr-x---1 root lp 6,   0 Jul  5  2000 /dev/lp0
 crw-rw1 root lp 6,   1 Jul  5  2000 /dev/lp1
 crw-rw1 root lp 6,   2 Jul  5  2000 /dev/lp2

Did you attempt my previous command as root or as a normal user? If as a
user, you need to exec this command as root adduser SOMEONE lp
(replace SOMEONE with your username).

HTH,
Ron


pgpKNXALgr8Ex.pgp
Description: PGP signature


Re: epson stylus 600 setup problem

2001-09-15 Thread Dale Morris
  [EMAIL PROTECTED]:~$ls -l /dev/lp*
  crwxr-x---1 root lp 6,   0 Jul  5  2000 /dev/lp0
  crw-rw1 root lp 6,   1 Jul  5  2000 /dev/lp1
  crw-rw1 root lp 6,   2 Jul  5  2000 /dev/lp2
 
 Did you attempt my previous command as root or as a normal user? If as a
 user, you need to exec this command as root adduser SOMEONE lp
 (replace SOMEONE with your username).
When I do that I get the following:
[EMAIL PROTECTED] dlm lp
The user `dlm' is already a member of lp.
[EMAIL PROTECTED]

that's what's so frustrating..

thanks
dale

 
 HTH,
 Ron



-- 
  
 |Dale L. Morris | Homepage: http://www.well.com/user/dlm |
 |Massage Therapist  | PGP key: http://www.well.com/user/dlm  |
 |Telephone: (702) 647-5583  ||
 |ICQ #: 67278457|Yahoo Instant Messenger: dl_morri   |
  



Re: epson stylus 600 setup problem

2001-09-15 Thread Ron Farrer
Dale Morris ([EMAIL PROTECTED]) wrote:

 When I do that I get the following:
 [EMAIL PROTECTED] dlm lp
 The user `dlm' is already a member of lp.
 [EMAIL PROTECTED]
 
 that's what's so frustrating..

Does it give the same error if you do:
echo test  /dev/lp0
as root? If so, then printer support is not enabled in the kernel.

Ron


pgpmIqJReKNPM.pgp
Description: PGP signature


Re: epson stylus 600 setup problem

2001-09-15 Thread Dale Morris
On Sat, 15 Sep 2001, Ron Farrer wrote:

 Dale Morris ([EMAIL PROTECTED]) wrote:
 
  When I do that I get the following:
  [EMAIL PROTECTED] dlm lp
  The user `dlm' is already a member of lp.
  [EMAIL PROTECTED]
  
  that's what's so frustrating..
 
 Does it give the same error if you do:
 echo test  /dev/lp0
 as root? If so, then printer support is not enabled in the kernel.
 
[EMAIL PROTECTED] /home/dlm/turboprint_1_43#echo test  /dev/lp0
bash: /dev/lp0: No such device

..sigh.. I just reconfigured the kernel. Any specific settings that I
may have missed in kernel configuration? But the confusing thing is that
dmesg shows I have a printer..

PCI: Using IRQ router default [1022/7006] at 00:00.0
isapnp: Scanning for PnP cards...
isapnp: No Plug  Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
parport0: cpp_daisy: aa5500ff(18)
parport0: assign_addrs: aa5500ff(18)
parport0: Printer, EPSON Stylus COLOR 600
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
SERIAL_PCI ISAPNP enabled


What now, should I reconfigure the kernel again? I have the parport
support built into the kernel, not made as a module. It has always
worked before this way, but maybe there is a security script that has
changed something.

thanks for all your help
dale



Re: epson stylus 600 setup problem

2001-09-15 Thread Michael Heldebrant
On Sat, 2001-09-15 at 12:51, Dale Morris wrote:
 On Sat, 15 Sep 2001, Ron Farrer wrote:
 
  Dale Morris ([EMAIL PROTECTED]) wrote:
  
   When I do that I get the following:
   [EMAIL PROTECTED] dlm lp
   The user `dlm' is already a member of lp.
   [EMAIL PROTECTED]
   
   that's what's so frustrating..
  
  Does it give the same error if you do:
  echo test  /dev/lp0
  as root? If so, then printer support is not enabled in the kernel.
  
 [EMAIL PROTECTED] /home/dlm/turboprint_1_43#echo test  /dev/lp0
 bash: /dev/lp0: No such device
 
 ..sigh.. I just reconfigured the kernel. Any specific settings that I
 may have missed in kernel configuration? But the confusing thing is that
 dmesg shows I have a printer..
 
 PCI: Using IRQ router default [1022/7006] at 00:00.0
 isapnp: Scanning for PnP cards...
 isapnp: No Plug  Play device found
 Linux NET4.0 for Linux 2.4
 Based upon Swansea University Computer Society NET3.039
 Starting kswapd v1.8
 parport0: PC-style at 0x378 [PCSPP,TRISTATE]
 parport0: cpp_daisy: aa5500ff(18)
 parport0: assign_addrs: aa5500ff(18)
 parport0: Printer, EPSON Stylus COLOR 600
 pty: 256 Unix98 ptys configured
 Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
 SERIAL_PCI ISAPNP enabled
 
 
 What now, should I reconfigure the kernel again? I have the parport
 support built into the kernel, not made as a module. It has always
 worked before this way, but maybe there is a security script that has
 changed something.
 
 thanks for all your help
 dale

It may just be that you don't have the alias for the major device number
in the modules.conf file, the modules may be getting autocleaned if you
aren't using them and having trouble getting reloaded.  Check your
/proc/devices and /proc/modules to see if this is the case.

--mike



Re: epson stylus 600 setup problem

2001-09-15 Thread Michael Heldebrant
On Sat, 2001-09-15 at 12:56, Michael Heldebrant wrote:
 On Sat, 2001-09-15 at 12:51, Dale Morris wrote:
  On Sat, 15 Sep 2001, Ron Farrer wrote:
  
   Dale Morris ([EMAIL PROTECTED]) wrote:
   
When I do that I get the following:
[EMAIL PROTECTED] dlm lp
The user `dlm' is already a member of lp.
[EMAIL PROTECTED]

that's what's so frustrating..
   
   Does it give the same error if you do:
   echo test  /dev/lp0
   as root? If so, then printer support is not enabled in the kernel.
   
  [EMAIL PROTECTED] /home/dlm/turboprint_1_43#echo test  /dev/lp0
  bash: /dev/lp0: No such device
  
  ..sigh.. I just reconfigured the kernel. Any specific settings that I
  may have missed in kernel configuration? But the confusing thing is that
  dmesg shows I have a printer..
  
  PCI: Using IRQ router default [1022/7006] at 00:00.0
  isapnp: Scanning for PnP cards...
  isapnp: No Plug  Play device found
  Linux NET4.0 for Linux 2.4
  Based upon Swansea University Computer Society NET3.039
  Starting kswapd v1.8
  parport0: PC-style at 0x378 [PCSPP,TRISTATE]
  parport0: cpp_daisy: aa5500ff(18)
  parport0: assign_addrs: aa5500ff(18)
  parport0: Printer, EPSON Stylus COLOR 600
  pty: 256 Unix98 ptys configured
  Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
  SERIAL_PCI ISAPNP enabled
  
  
  What now, should I reconfigure the kernel again? I have the parport
  support built into the kernel, not made as a module. It has always
  worked before this way, but maybe there is a security script that has
  changed something.
  
  thanks for all your help
  dale
 
 It may just be that you don't have the alias for the major device number
 in the modules.conf file, the modules may be getting autocleaned if you
 aren't using them and having trouble getting reloaded.  Check your
 /proc/devices and /proc/modules to see if this is the case.

Sorry, it would probbaly help if wasn't half asleep when reading that
you had it compiled in.  Disregard my helpfull suggestion please.

--mike




Re: epson stylus 600 setup problem: SOLVED!!

2001-09-15 Thread Dale Morris
Yep, reconfiguring the kernel made a big difference, printer is
printing a test page right now. I'm using the cups printing system
along with turboprint. It seems to work

thanks again for the help!

dale



Re: epson stylus 600 setup problem

2001-09-15 Thread Carlos Sousa



[EMAIL PROTECTED]:~$ls -l /dev/lp*
crwxr-x---1 root lp 6,   0 Jul  5  2000 /dev/lp0
crw-rw1 root lp 6,   1 Jul  5  2000 /dev/lp1
crw-rw1 root lp 6,   2 Jul  5  2000 /dev/lp2


Did you attempt my previous command as root or as a normal user? If as a
user, you need to exec this command as root adduser SOMEONE lp
(replace SOMEONE with your username).


When I do that I get the following:
[EMAIL PROTECTED] dlm lp
The user `dlm' is already a member of lp.
[EMAIL PROTECTED]

that's what's so frustrating..


It seems lp0 is only writeable by root, so perhaps you could try to 
either print as root or do a 'chmod g+w /dev/lp0'.


Carlos Sousa