Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I can't print even though...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kayard
n00b
n00b


Joined: 16 Dec 2002
Posts: 44

PostPosted: Mon Jan 13, 2003 6:48 pm    Post subject: I can't print even though... Reply with quote

After some reading I'd say that I have done all I need to print using CUPS but, obviusly, I have missed something. I hope someone can help.

    Parallel port support: COMPILED INTO THE KERNEL
    PC-STYLE hardware: COMPILED INTO THE KERNEL
    IEEE 1284 transfer mode: ENABLED
    Character Devices - Parallel Printer Support: COMPILED INTO THE KERNEL


Code:
 less /proc/sys/dev/parport/parport0/autoprobe


results in

Code:

CLASS:PRINTER;
MODEL:Stylus COLOR 760;
MANUFACTURER:EPSON;
DESCRIPTION:EPSON Stylus COLOR 760;
COMMAND SET:ESCPL2,BDC,D4;


/dev/lp0 exists and it is a link to /dev/printers/0

Code:
 lpinfo -v


results in

Code:

network socket
network http
network ipp
network lpd
direct parallel:/dev/lp0
direct scsi
serial serial:/dev/ttyS0?baud=115200
serial serial:/dev/ttyS3?baud=115200
direct usb:/dev/usblp0
direct usb:/dev/usblp1
direct usb:/dev/usblp2
direct usb:/dev/usblp3
direct usb:/dev/usblp4
direct usb:/dev/usblp5
direct usb:/dev/usblp6
direct usb:/dev/usblp7
direct usb:/dev/usblp8
direct usb:/dev/usblp9
direct usb:/dev/usblp10
direct usb:/dev/usblp11
direct usb:/dev/usblp12
direct usb:/dev/usblp13
direct usb:/dev/usblp14
direct usb:/dev/usblp15


And if I try to send something to the printer with:

Code:
 cat some_text_file > /dev/lp0


Nothing at all happens !!! I mean, no error AND no printing. It seems I can configure CUPS correctly, but if I try to print something nothing at all happens. It doesn't complain but It doesn't print.

As I have checked that the parallel cable is connected, what else can I do ? What have I left behind ?

Any Suggestion is welcome?

Thanks

Kayard
Back to top
View user's profile Send private message
acepoint
n00b
n00b


Joined: 23 Aug 2002
Posts: 20

PostPosted: Mon Jan 13, 2003 7:05 pm    Post subject: Reply with quote

What do /var/log/cups/access_log and error_log say?

Ciao

acepoint
Back to top
View user's profile Send private message
kayard
n00b
n00b


Joined: 16 Dec 2002
Posts: 44

PostPosted: Mon Jan 13, 2003 7:58 pm    Post subject: Reply with quote

I don't know if it helps but a few lines of access_log and error_log follows

Code:
localhost - - [13/Jan/2003:20:52:15 +0100] "POST /printers/ HTTP/1.1" 200 224
localhost - - [13/Jan/2003:20:52:15 +0100] "POST /classes/ HTTP/1.1" 200 224
localhost - - [13/Jan/2003:20:52:15 +0100] "POST /printers/ HTTP/1.1" 200 112
azzurro - - [13/Jan/2003:20:52:15 +0100] "POST /printers/ HTTP/1.1" 403 0
azzurro - - [13/Jan/2003:20:52:15 +0100] "POST / HTTP/1.1" 403 0
localhost - - [13/Jan/2003:20:52:20 +0100] "POST /printers/ HTTP/1.1" 200 224
localhost - - [13/Jan/2003:20:52:20 +0100] "POST /classes/ HTTP/1.1" 200 224
localhost - - [13/Jan/2003:20:52:20 +0100] "POST /printers/ HTTP/1.1" 200 112
azzurro - - [13/Jan/2003:20:52:20 +0100] "POST /printers/ HTTP/1.1" 403 0
azzurro - - [13/Jan/2003:20:52:20 +0100] "POST / HTTP/1.1" 403 0
localhost - - [13/Jan/2003:20:52:25 +0100] "POST /printers/ HTTP/1.1" 200 224
localhost - - [13/Jan/2003:20:52:25 +0100] "POST /classes/ HTTP/1.1" 200 224
localhost - - [13/Jan/2003:20:52:25 +0100] "POST /printers/ HTTP/1.1" 200 112
azzurro - - [13/Jan/2003:20:52:25 +0100] "POST /printers/ HTTP/1.1" 403 0
azzurro - - [13/Jan/2003:20:52:25 +0100] "POST / HTTP/1.1" 403 0
localhost - - [13/Jan/2003:20:52:30 +0100] "POST /printers/ HTTP/1.1" 200 224


Code:
I [13/Jan/2003:20:50:52 +0100] Setting epson760 device-uri to "parallel:/dev/lp0" (was "".)
I [13/Jan/2003:20:50:52 +0100] Saving printers.conf...
I [13/Jan/2003:20:50:52 +0100] New printer 'epson760' added by 'root'.
I [13/Jan/2003:20:50:53 +0100] Saving printers.conf...
I [13/Jan/2003:20:50:53 +0100] Printer 'epson760' modified by 'root'.
I [13/Jan/2003:20:50:53 +0100] Saving printers.conf...
I [13/Jan/2003:20:50:53 +0100] Printer 'epson760' now accepting jobs ('root').
I [13/Jan/2003:20:50:53 +0100] Saving printers.conf...
I [13/Jan/2003:20:50:53 +0100] Saving printers.conf...
I [13/Jan/2003:20:50:53 +0100] Printer 'epson760' started by 'root'.
W [13/Jan/2003:20:51:08 +0100] Possible DoS attack - more than 10 clients connecting from azzurro!
W [13/Jan/2003:20:51:13 +0100] Possible DoS attack - more than 10 clients connecting from azzurro!
W [13/Jan/2003:20:51:18 +0100] Possible DoS attack - more than 10 clients connecting from azzurro!
W [13/Jan/2003:20:51:21 +0100] Possible DoS attack - more than 10 clients connecting from azzurro!
W [13/Jan/2003:20:51:25 +0100] Possible DoS attack - more than 10 clients connecting from azzurro!


any idea?

do you know why nothing happens when i type?
Code:
 cat some_text > /dev/lp0

Are you italian?

Thanks

kayard
Back to top
View user's profile Send private message
kayard
n00b
n00b


Joined: 16 Dec 2002
Posts: 44

PostPosted: Mon Jan 13, 2003 8:06 pm    Post subject: Reply with quote

While kde doesn't complain when I print something, if I print a test page from localhost:631 I get his error:

Code:
client-error-not-possible


does this turn on a light?

kayard
Back to top
View user's profile Send private message
kayard
n00b
n00b


Joined: 16 Dec 2002
Posts: 44

PostPosted: Mon Jan 13, 2003 9:05 pm    Post subject: Reply with quote

At last I managed to get CUPS working !!!
How?
Installing everything from the beginning !!!

It's quite disappointing since I can't see why one should install something which is already installed to have it working properly.

Probably something went wrong when i first installed it....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum