Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No output printing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Andrea
n00b
n00b


Joined: 04 Feb 2003
Posts: 6
Location: Italy

PostPosted: Thu Feb 06, 2003 12:43 pm    Post subject: No output printing Reply with quote

I've tried to install CUPS reading Gentoo doc:
# emerge cups
# emerge foomatic
# modprobe usbcore
# modprobe printer

The installation is ok, when i check hte Kernel Messages

tail -f /var/log/messages

returns me the name of the printer installed. It's ok, but when I try to print a text file

# touch test.txt
# echo "Hello World" > test.txt
# cat test.txt > /dev/lp0

I've no output on the printer.
The os versionis Gentoo 1.4rc2.
Somebody can help me? :(
Back to top
View user's profile Send private message
vode
n00b
n00b


Joined: 16 Jul 2002
Posts: 35
Location: Finland

PostPosted: Thu Feb 06, 2003 1:55 pm    Post subject: Re: No output printing Reply with quote

Andrea wrote:
I've tried to install CUPS reading Gentoo doc:
# emerge cups
# emerge foomatic
# modprobe usbcore
# modprobe printer

# touch test.txt
# echo "Hello World" > test.txt
# cat test.txt > /dev/lp0
Somebody can help me? :(


To which port your printer is connected, to usb or parallel port? /dev/lp0 refers to parallel port. But you load usbcore so you are using usb-printer?

Try command
# lpr test.txt
Back to top
View user's profile Send private message
Andrea
n00b
n00b


Joined: 04 Feb 2003
Posts: 6
Location: Italy

PostPosted: Thu Feb 06, 2003 4:01 pm    Post subject: Reply with quote

The printer is connected to lp0
Back to top
View user's profile Send private message
Andrea
n00b
n00b


Joined: 04 Feb 2003
Posts: 6
Location: Italy

PostPosted: Mon Feb 10, 2003 8:13 am    Post subject: Reply with quote

I've tried the command
#lpr test.txt
it returns the job number but it prints nothing.
Back to top
View user's profile Send private message
Errtu
Apprentice
Apprentice


Joined: 12 Nov 2002
Posts: 155
Location: Brazil

PostPosted: Mon Feb 10, 2003 8:27 am    Post subject: Reply with quote

I had the same problem. Seems like my LJ4P can't just print 1 line. Try to cat a bigger file (not just one word) through /dev/lp0 Worked for me (tried a readme).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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