LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-18-2005, 08:24 AM   #1
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Rep: Reputation: 30
Print Test Page Problem


I use slackware 10.1 I have installed my printer and this is what I have:

I have run this for the printer to start at system start up:

Code:
# /etc/rc.d/rc.cups start
To install it:

Code:
/usr/sbin/lpadmin -p HpPrinter -m foomatic-ppds/HP/HP-LaserJet_4100-hpijs.ppd.gz -v socket://192.9.201.35:9100 -E
To list the available printers on a system using cups,

Code:
$ /usr/bin/lpstat -v
And the output of this is:

Code:
device for HpPrinter: socket://192.9.201.35:9100
And when I check of the statue this what i get:

Code:
root@Admin:/home/moderator# /usr/sbin/lpc status HpPrinter
HpPrinter:
        printer is on device 'socket' speed -1
        queuing is enabled
        printing is enabled
        no entries
        daemon present
And thats what I get when I try to print a test page:
Code:
root@Admin:/home/moderator# /usr/bin/lpr -p HpPrinter /usr/share/cups/data/testprint.ps
lpr: error - unable to access "HpPrinter" - No such file or directory
Any help will be appreciated.

Thanks.
 
Old 03-19-2005, 12:58 AM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
I'm confused by the IP of the printer - 192.9? You have private IP space and are using it for a printer? Or maybe you have everything behind a router doing NAT - but then wouldn't you use friendly addresses like 1.1.1.X? Sorry that may have nothing to do with your problem, but it could be a simple connectivity issue - if you box is 192.168.X,X, and you try using that IP for the printer, you should get errors if/when that connection fails.

Peace,
JimBass
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HP PS7150: text doesn't print in OOO and Abiword!, but I can print test page & w MzFF gabba Mandriva 6 10-31-2005 12:10 PM
Samba can print test page only short101 Linux - Networking 0 06-14-2005 08:37 AM
printer will print test page but nothing else deftones Linux - Newbie 1 03-21-2005 09:52 PM
FC3T3 printing: test page works but can't print from apps Kropotkin Fedora 0 11-03-2004 06:46 AM
CUPS: prints test page, can't print otherwise anders_ant Slackware 1 08-11-2004 12:31 PM


All times are GMT -5. The time now is 04:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration