"cat file /dev/lp0" is even NOT working :-(

"cat file /dev/lp0" is even NOT working :-(

Post by Reiner Grie » Thu, 28 Feb 2002 20:37:52



Hi there,

I've tried my best to get my printer and /dev/lp0 to work. Would you
please help me out of it?!

First I thought there is a problem with my printer configuration
(RedHat 7.2). I've tried printtool and CUPS to get it to work.

$ lpinfo -v
file file
network ipp

As you can see, there is no parallel port listed.

$ cat anaconda-ks.cfg > /dev/lp0
$

No error - but printer isn't doing anything also...

$ dmesg | grep parport
parport0: PC-style at 0x378 [PCSPP,EPP]
parport_pc: Via 686A parallel port: io=0x378
lp0: using parport0 (polling).
parport0: PC-style at 0x378 [PCSPP,EPP]
parport_pc: Via 686A parallel port: io=0x378
lp0: using parport0 (polling).

$ dmesg | grep lp0    
lp0: using parport0 (polling).
lp0: console ready
lp0: compatibility mode
lp0: compatibility mode
lp0: compatibility mode
lp0: using parport0 (polling).
lp0: console ready
lp0: compatibility mode
lp0: compatibility mode

The printer is working with windows on this machine!

Any ideas? I don't know what to do ...
bye
reiner

 
 
 

"cat file /dev/lp0" is even NOT working :-(

Post by ER » Fri, 01 Mar 2002 02:52:00



+ Hi there,
+
+ I've tried my best to get my printer and /dev/lp0 to work. Would
+ you please help me out of it?!
+
+ First I thought there is a problem with my printer configuration
+ (RedHat 7.2). I've tried printtool and CUPS to get it to work.
[...]
+
+ The printer is working with windows on this machine!

That really means little since you are trying to use it in Linux.

+ Any ideas? I don't know what to do ...

What brand and model of printer please? Have you checked here -

http://www.linux.org/docs/ldp/howto/Printing-HOWTO/index.html
(supported printers page from above)
http://www.linux.org/docs/ldp/howto/Printing-HOWTO/printers.html

- to make sure your settings are right and the printer is supported?


Caldera Authorized Partner - OpenServer 5+, UnixWare 7+ & OpenLinux
--
.   Owner and C.E.O. - ERA Computer Consulting - Jackson, TN USA    .
.  OS/2, UnixWare, OpenServer & Linux Business Computing Solutions  .
.     Please visit our www pages at http://eracc.hypermart.net/     .
               We run IBM OS/2 v.4.00, Revision 9.036                
 Sysinfo: 41 Processes, 163 Threads, uptime is 3d 10h 11m 55s 465ms  

 
 
 

"cat file /dev/lp0" is even NOT working :-(

Post by Reiner Grie » Fri, 01 Mar 2002 03:28:53





> + Hi there,
> +
> + I've tried my best to get my printer and /dev/lp0 to work. Would
> + you please help me out of it?!
> +
> + First I thought there is a problem with my printer configuration
> + (RedHat 7.2). I've tried printtool and CUPS to get it to work.
> [...]
> What brand and model of printer please? Have you checked here -

it is a common canon BJC6000 color ink printer.

Quote:> http://www.linux.org/docs/ldp/howto/Printing-HOWTO/index.html
> http://www.linux.org/docs/ldp/howto/Printing-HOWTO/printers.html

> - to make sure your settings are right and the printer is supported?

I've checked it and I am not able to find something new. I stress that it
seems there is not a problem with the printer/cable itself. `lpinvo -v`
from CUPS does not list any parallel port to connect to! I've really
no clue what I should do next... What's do you think?

thanks
reiner

 
 
 

"cat file /dev/lp0" is even NOT working :-(

Post by Reiner Grie » Sat, 02 Mar 2002 02:17:33




> [...]
> As you can see, there is no parallel port listed.

> $ cat anaconda-ks.cfg > /dev/lp0
> $

> No error - but printer isn't doing anything also...

> $ dmesg | grep parport
> parport0: PC-style at 0x378 [PCSPP,EPP]
> parport_pc: Via 686A parallel port: io=0x378
> lp0: using parport0 (polling).
> parport0: PC-style at 0x378 [PCSPP,EPP]
> parport_pc: Via 686A parallel port: io=0x378
> lp0: using parport0 (polling).

> $ dmesg | grep lp0    
> lp0: using parport0 (polling).
> lp0: console ready
> lp0: compatibility mode
> lp0: compatibility mode
> lp0: compatibility mode
> lp0: using parport0 (polling).
> lp0: console ready
> lp0: compatibility mode
> lp0: compatibility mode

sorry... forgot something: modules are loaded!
$ lsmod
Module                  Size  Used by
parport_pc             14576   1  (autoclean)
lp                      6688   0  (autoclean)
parport                23904   1  (autoclean) [parport_pc lp]

Is it really that hard to get a parallel port work in linux?? I'm not
pdeantic. Everything I wanted to do with linux was no problem. But the
parallel port/printer *is* a problem....

bye
Reiner

 
 
 

"cat file /dev/lp0" is even NOT working :-(

Post by Dave Serl » Mon, 04 Mar 2002 00:33:22


On 28 Feb 2002 17:17:33 GMT




> > [...]
> > As you can see, there is no parallel port listed.

> > $ cat anaconda-ks.cfg > /dev/lp0
> > $

> > No error - but printer isn't doing anything also...

> > $ dmesg | grep parport
> > parport0: PC-style at 0x378 [PCSPP,EPP]
> > parport_pc: Via 686A parallel port: io=0x378
> > lp0: using parport0 (polling).
> > parport0: PC-style at 0x378 [PCSPP,EPP]
> > parport_pc: Via 686A parallel port: io=0x378
> > lp0: using parport0 (polling).

> > $ dmesg | grep lp0    
> > lp0: using parport0 (polling).
> > lp0: console ready
> > lp0: compatibility mode
> > lp0: compatibility mode
> > lp0: compatibility mode
> > lp0: using parport0 (polling).
> > lp0: console ready
> > lp0: compatibility mode
> > lp0: compatibility mode

> sorry... forgot something: modules are loaded!
> $ lsmod
> Module                  Size  Used by
> parport_pc             14576   1  (autoclean)
> lp                      6688   0  (autoclean)
> parport                23904   1  (autoclean) [parport_pc lp]

> Is it really that hard to get a parallel port work in linux?? I'm not
> pdeantic. Everything I wanted to do with linux was no problem. But the
> parallel port/printer *is* a problem....

  I had a similar problem with Mandrake 8.
  I wound up de-installing CUPS and re-installing.
  First, Do you have a line like:
  alias parport_lowlevel parport_pc
  in /etc/modules.conf?

- Show quoted text -

Quote:

> bye
> Reiner

 
 
 

"cat file /dev/lp0" is even NOT working :-(

Post by Reiner Grie » Tue, 05 Mar 2002 05:46:45



> On 28 Feb 2002 17:17:33 GMT



>> > [...]
>> > As you can see, there is no parallel port listed.

>> > $ cat anaconda-ks.cfg > /dev/lp0
>> > $

>> > No error - but printer isn't doing anything also...

>> > $ dmesg | grep parport
>> > parport0: PC-style at 0x378 [PCSPP,EPP]
>> > parport_pc: Via 686A parallel port: io=0x378
>> > lp0: using parport0 (polling).
>> > parport0: PC-style at 0x378 [PCSPP,EPP]
>> > parport_pc: Via 686A parallel port: io=0x378
>> > lp0: using parport0 (polling).

>> > $ dmesg | grep lp0    
>> > lp0: using parport0 (polling).
>> > lp0: console ready
>> > lp0: compatibility mode
>> > lp0: compatibility mode
>> > lp0: compatibility mode
>> > lp0: using parport0 (polling).
>> > lp0: console ready
>> > lp0: compatibility mode
>> > lp0: compatibility mode

>> sorry... forgot something: modules are loaded!
>> $ lsmod
>> Module                  Size  Used by
>> parport_pc             14576   1  (autoclean)
>> lp                      6688   0  (autoclean)
>> parport                23904   1  (autoclean) [parport_pc lp]

>> Is it really that hard to get a parallel port work in linux?? I'm not
>> pdeantic. Everything I wanted to do with linux was no problem. But the
>> parallel port/printer *is* a problem....

>   I had a similar problem with Mandrake 8.
>   I wound up de-installing CUPS and re-installing.
>   First, Do you have a line like:
>   alias parport_lowlevel parport_pc
>   in /etc/modules.conf?

yes. Is there! I've reinstalled cups mor than once! I've really no
idea....

reiner

 
 
 

"cat file /dev/lp0" is even NOT working :-(

Post by Reiner Grie » Fri, 08 Mar 2002 00:08:22




> Hi there,

> I've tried my best to get my printer and /dev/lp0 to work. Would you
> please help me out of it?!

> First I thought there is a problem with my printer configuration
> (RedHat 7.2). I've tried printtool and CUPS to get it to work.

> $ lpinfo -v
> file file
> network ipp

> As you can see, there is no parallel port listed.

> $ cat anaconda-ks.cfg > /dev/lp0
> $

> No error - but printer isn't doing anything also...

> $ dmesg | grep parport
> parport0: PC-style at 0x378 [PCSPP,EPP]
> parport_pc: Via 686A parallel port: io=0x378
> lp0: using parport0 (polling).
> parport0: PC-style at 0x378 [PCSPP,EPP]
> parport_pc: Via 686A parallel port: io=0x378
> lp0: using parport0 (polling).

> $ dmesg | grep lp0    
> lp0: using parport0 (polling).
> lp0: console ready
> lp0: compatibility mode
> lp0: compatibility mode
> lp0: compatibility mode
> lp0: using parport0 (polling).
> lp0: console ready
> lp0: compatibility mode
> lp0: compatibility mode

> The printer is working with windows on this machine!

> Any ideas? I don't know what to do ...

nobody knows a solution. I'm now only able to print in windows :-0

bye
reiner

 
 
 

"cat file /dev/lp0" is even NOT working :-(

Post by LinuxUse » Thu, 21 Mar 2002 11:33:26



its

cat file > /dev/lp0

or
echo "Hello World" > /dev/lp0

you forgot the redirection

 
 
 

1. printer prob, even "cat > dev/lp0 dont work !

Hi,

when I print with lpr or an app I get this on every page as every user:

Error: /invalidfont in findfont
          Operand stack:
                           Helvetica-Bold   Helvetica-Bold

I use a HP Deskjet.

please help if anyone knows

thx

--

   Christophe

--------------------------------------------------------------------------

Hamburg, Germany                      
--------------------------------------------------------------------------

In newsgroups please reply also by email - thanks

2. libncurses.so.3.0

3. cat file > /dev/lp0 gives "no such device"

4. Xconsole starts up with kdm

5. Even 'cat file >/dev/lp0' doesn't work

6. ncurses and ^S/^Q and ^C

7. Why "fdisk /dev/hdb1" works but not "fdisk /dev/hdb"!?

8. Top 10 posters comp.unix.shell

9. Solaris 8 box: cat file | rsh solaris_2.6_box "cat > /dev/null" SLOW

10. Is "sh file" equivalent to "cat file | sh"

11. ...after installing "Hylafax" and the dependecy "bash2" no editor working :-((

12. "> file" versus "cp /dev/null file"

13. "brctl" command not working, how to create "brctl" file?